initial commit, python-kmod-0.1-4
Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
parent
5af051c6eb
commit
26187d2fbd
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/python-kmod-0.1.tar.gz
|
49
python-kmod.spec
Normal file
49
python-kmod.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: python-kmod
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
Summary: Python module to work with kernel modules
|
||||
Version: 0.1
|
||||
Release: 4%{?dist}
|
||||
URL: https://github.com/agrover/python-kmod/
|
||||
Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: kmod-devel
|
||||
|
||||
%{?filter_setup:
|
||||
%filter_provides_in %{python_sitearch}.*\.so$
|
||||
%filter_setup
|
||||
}
|
||||
|
||||
%description
|
||||
Python module to allow listing, loading, and unloading
|
||||
Linux kernel modules, using libkmod.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||
chmod 755 %{buildroot}%{python_sitearch}/kmod.so
|
||||
|
||||
%files
|
||||
%{python_sitearch}/kmod.so
|
||||
%{python_sitearch}/kmod*.egg-info
|
||||
%doc COPYING.LESSER README
|
||||
|
||||
%changelog
|
||||
* Wed Aug 1 2012 Andy Grover <agrover@redhat.com> - 0.1-4
|
||||
- Update for new upstream release location
|
||||
|
||||
* Fri May 4 2012 Andy Grover <agrover@redhat.com> - 0.1-3
|
||||
- Update for new upstream release location
|
||||
|
||||
* Tue Apr 17 2012 Andy Grover <agrover@redhat.com> - 0.1-2
|
||||
- Correct License field to LGPLv2+
|
||||
- Remove explicit Requires for kmod-libs
|
||||
|
||||
* Thu Apr 12 2012 Andy Grover <agrover@redhat.com> - 0.1-1
|
||||
- Initial packaging
|
Loading…
Reference in New Issue
Block a user