From 42617d59e66684bff7272c9c49c0cadd2e53c7f9 Mon Sep 17 00:00:00 2001 From: nima Date: Sun, 21 Dec 2008 05:44:04 +0000 Subject: Names. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@154 abc39116-655e-4be6-ad55-d661dc543056 --- BUILD.Linux/dmidecode.spec | 44 -------------------------------------------- redhat/dmidecode.spec | 44 -------------------------------------------- redhat/python-dmidecode.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 88 deletions(-) delete mode 100644 BUILD.Linux/dmidecode.spec delete mode 100644 redhat/dmidecode.spec create mode 100644 redhat/python-dmidecode.spec diff --git a/BUILD.Linux/dmidecode.spec b/BUILD.Linux/dmidecode.spec deleted file mode 100644 index 54c0458..0000000 --- a/BUILD.Linux/dmidecode.spec +++ /dev/null @@ -1,44 +0,0 @@ -%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 -%{?!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 - 2.10-0 -- Initial release - diff --git a/redhat/dmidecode.spec b/redhat/dmidecode.spec deleted file mode 100644 index 54c0458..0000000 --- a/redhat/dmidecode.spec +++ /dev/null @@ -1,44 +0,0 @@ -%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 -%{?!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 - 2.10-0 -- Initial release - diff --git a/redhat/python-dmidecode.spec b/redhat/python-dmidecode.spec new file mode 100644 index 0000000..7d3b5af --- /dev/null +++ b/redhat/python-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 +%{?!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 - 2.10-1 +- Initial release + -- cgit