python 2.7 mass rebuild [release 0.8-2mamba;Fri May 17 2013]
This commit is contained in:
parent
76e32eb8b6
commit
c1f3ba932d
@ -1,2 +1,4 @@
|
|||||||
# python-netifaces
|
# python-netifaces
|
||||||
|
|
||||||
|
Portable network interface information.
|
||||||
|
|
||||||
|
54
python-netifaces.spec
Normal file
54
python-netifaces.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
Name: python-netifaces
|
||||||
|
Version: 0.8
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Portable network interface information
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
|
URL: http://alastairs-place.net/netifaces
|
||||||
|
Source: http://alastairs-place.net/projects/netifaces/netifaces-%{version}.tar.gz
|
||||||
|
License: MIT
|
||||||
|
Requires: python >= %python_version
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Portable network interface information.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n netifaces-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i '\,\.egg-info/,d' %{name}.filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-2mamba
|
||||||
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
* Thu Apr 18 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.8-1mamba
|
||||||
|
- update to 0.8
|
||||||
|
|
||||||
|
* Fri Apr 09 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.5-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user