2024-01-06 11:30:40 +01:00
|
|
|
Name: python-netifaces
|
2024-01-06 11:30:40 +01:00
|
|
|
Version: 0.10.9
|
2024-01-06 11:30:40 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:30:40 +01:00
|
|
|
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
|
2024-01-06 11:30:40 +01:00
|
|
|
Source: https://pypi.debian.net/netifaces/netifaces-%{version}.tar.gz
|
2024-01-06 11:30:40 +01:00
|
|
|
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
|
|
|
|
|
2024-01-06 11:30:40 +01:00
|
|
|
#sed -i '\,\.egg-info/,d' %{name}.filelist
|
2024-01-06 11:30:40 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:30:40 +01:00
|
|
|
* Fri Jan 04 2019 Automatic Build System <autodist@mambasoft.it> 0.10.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:30:40 +01:00
|
|
|
* Tue Sep 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.7-1mamba
|
|
|
|
- update to 0.10.7
|
|
|
|
|
2024-01-06 11:30:40 +01:00
|
|
|
* Wed May 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-1mamba
|
|
|
|
- update to 0.10.4
|
|
|
|
|
2024-01-06 11:30:40 +01:00
|
|
|
* 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
|