|
|
36eaed |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
36eaed |
|
|
|
36eaed |
Name: python-ipaddr
|
|
|
36eaed |
Version: 2.1.9
|
|
|
d27ef7 |
Release: 5%{?dist}
|
|
|
36eaed |
Summary: A python library for working with IP addresses, both IPv4 and IPv6
|
|
|
36eaed |
|
|
|
36eaed |
Group: Development/Languages
|
|
|
36eaed |
License: ASL 2.0
|
|
|
36eaed |
URL: http://code.google.com/p/ipaddr-py/
|
|
|
36eaed |
Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz
|
|
|
36eaed |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
36eaed |
|
|
|
36eaed |
BuildArch: noarch
|
|
|
36eaed |
BuildRequires: python-devel
|
|
|
36eaed |
|
|
|
36eaed |
%description
|
|
|
36eaed |
python-ipaddr is a library for working with IP addresses, both IPv4 and IPv6.
|
|
|
36eaed |
It was developed by Google for internal use, and is now open source.
|
|
|
36eaed |
|
|
|
36eaed |
%prep
|
|
|
36eaed |
%setup -q -n ipaddr-%{version}
|
|
|
36eaed |
# remove unneeded shebang
|
|
|
36eaed |
sed -i 1d ipaddr.py
|
|
|
36eaed |
|
|
|
36eaed |
%build
|
|
|
36eaed |
%{__python} setup.py build
|
|
|
36eaed |
|
|
|
36eaed |
|
|
|
36eaed |
%install
|
|
|
36eaed |
rm -rf $RPM_BUILD_ROOT
|
|
|
36eaed |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
36eaed |
|
|
|
36eaed |
|
|
|
36eaed |
%clean
|
|
|
36eaed |
rm -rf $RPM_BUILD_ROOT
|
|
|
36eaed |
|
|
|
36eaed |
|
|
|
36eaed |
%files
|
|
|
36eaed |
%defattr(-,root,root,-)
|
|
|
36eaed |
%doc COPYING README RELEASENOTES
|
|
|
36eaed |
%{python_sitelib}/*
|
|
|
36eaed |
|
|
|
36eaed |
|
|
|
36eaed |
%changelog
|
|
|
d27ef7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.9-5
|
|
|
d27ef7 |
- Mass rebuild 2013-12-27
|
|
|
d27ef7 |
|
|
|
36eaed |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-4
|
|
|
36eaed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
36eaed |
|
|
|
36eaed |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-3
|
|
|
36eaed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
36eaed |
|
|
|
36eaed |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-2
|
|
|
36eaed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
36eaed |
|
|
|
36eaed |
* Wed Feb 23 2011 L.S. Keijser <keijser@stone-it.com> - 2.1.9-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
|
|
|
36eaed |
* Fri Feb 11 2011 L.S. Keijser <keijser@stone-it.com> - 2.1.8-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
|
|
|
36eaed |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-2
|
|
|
36eaed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
36eaed |
|
|
|
36eaed |
* Fri Jan 14 2011 L.S. Keijser <keijser@stone-it.com> - 2.1.7-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
|
|
|
36eaed |
* Tue Sep 14 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.5-1
|
|
|
36eaed |
- new version from upstream (included releasenotes again)
|
|
|
36eaed |
|
|
|
36eaed |
* Sat Aug 21 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.4-2
|
|
|
36eaed |
- upstream didn't include RELEASENOTES file
|
|
|
36eaed |
|
|
|
36eaed |
* Tue Aug 17 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.4-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
|
|
|
36eaed |
* Fri Jul 30 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.3-2
|
|
|
36eaed |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
36eaed |
|
|
|
36eaed |
* Tue Jun 15 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.3-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
- added releasenotes file
|
|
|
36eaed |
|
|
|
36eaed |
* Tue Jun 01 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.2-1
|
|
|
36eaed |
- new version from upstream
|
|
|
36eaed |
|
|
|
36eaed |
* Thu May 06 2010 L.S. Keijser <keijser@stone-it.com> - 2.1.1-1
|
|
|
36eaed |
- initial release
|
|
|
36eaed |
|