diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-21 05:43:06 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-21 05:43:06 +0000 |
commit | c53e65f772d248194bc0d45bdcfec5374d0bee9f (patch) | |
tree | bb1388bff0905ec76c47c6b28cfe048a3046ce0f /redhat/dmidecode.spec | |
parent | 20543ee1abb96ed63f4e6fa317954439b8a3057f (diff) | |
download | python-dmidecode-c53e65f772d248194bc0d45bdcfec5374d0bee9f.tar.gz python-dmidecode-c53e65f772d248194bc0d45bdcfec5374d0bee9f.tar.xz python-dmidecode-c53e65f772d248194bc0d45bdcfec5374d0bee9f.zip |
Better naming.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@153 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'redhat/dmidecode.spec')
-rw-r--r-- | redhat/dmidecode.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/redhat/dmidecode.spec b/redhat/dmidecode.spec new file mode 100644 index 0000000..54c0458 --- /dev/null +++ b/redhat/dmidecode.spec @@ -0,0 +1,44 @@ +%define is_not_debian %(test -e /etc/debian_version && echo 1 || echo 0) + +Summary: Python extension module for dmidecode. +Name: python-dmidecode +Version: 2.10 +Release: 0%?{dist} +Requires: redhat-lsb +Source: %{name}-%{version}.tar.gz +License: GNU GPL v3 +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{_prefix} +Vendor: Autonomy <dmidecode-devel@autonojects.net.au> +%{?!is_not_debian:BuildRequires: python-devel} +Url: http://projects.autonomy.net.au/dmidecode/ + +%description + The Desktop Management Interface provides a standardized description of + a computer's hardware, including characteristics such as BIOS serial + number and hardware connectors. + + python-dmidecode provides an interface to the DMI data available from + the BIOS. It is intended to be used as a back-end tool by other + hardware detection programs implemented in python. + +%prep +%setup -q -n %{name}-%{version} +python src/setup.py clean + +%build +python src/setup.py build + +%install +python src/setup.py install --root=%{buildroot} --record=INSTALLED_OBJECTS + +%clean +rm -rf %{buildroot} + +%files -f INSTALLED_OBJECTS + +%changelog +* Fri Dec 19 2008 Nima Talebi <nima@it.net.au> - 2.10-0 +- Initial release + |