summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-06-30 15:36:57 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-06-30 15:36:57 -0300
commit55c33d46d3b2e81d473abd1aff1f540876ff88a7 (patch)
tree9831040521bc838ae88dc1afea3ea445f9277704
parentdfe376ac8a435005c1a2976c65865e4a41b872f1 (diff)
downloadpython-ethtool-55c33d46d3b2e81d473abd1aff1f540876ff88a7.tar.gz
python-ethtool-55c33d46d3b2e81d473abd1aff1f540876ff88a7.tar.xz
python-ethtool-55c33d46d3b2e81d473abd1aff1f540876ff88a7.zip
rpm: Add specfile from RHEL
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--rpm/SPECS/python-ethtool.spec39
1 files changed, 39 insertions, 0 deletions
diff --git a/rpm/SPECS/python-ethtool.spec b/rpm/SPECS/python-ethtool.spec
new file mode 100644
index 0000000..06a744f
--- /dev/null
+++ b/rpm/SPECS/python-ethtool.spec
@@ -0,0 +1,39 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Summary: ethtool python bindings
+Name: python-ethtool
+Version: 0.2
+Release: 1%{?dist}
+Source0: %{name}-%{version}.tar.bz2
+License: GPLv2+
+Group: System Environment/Libraries
+BuildRequires: python-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+ethtool python bindings
+
+%prep
+%setup -q
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{python_sitearch}/ethtool.so
+
+%changelog
+* Tue Jun 10 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-3
+- add dist to the release tag
+
+* Tue Dec 18 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-2
+- First build into MRG repo
+
+* Tue Dec 18 2007 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
+- Get ethtool code from rhpl 0.212