|
Matt Domsch |
851668b |
%define oname IPy
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
# per fedora python packaging guidelines
|
|
Matt Domsch |
851668b |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
Summary: Python module for handling IPv4 and IPv6 Addresses and Networks
|
|
Matt Domsch |
851668b |
Name: python-%{oname}
|
|
Matt Domsch |
4814fcc |
Version: 0.63
|
|
Matt Domsch |
4814fcc |
Release: 1%{?dist}
|
|
Matt Domsch |
851668b |
URL: http://software.inl.fr/trac/trac.cgi/wiki/IPy
|
|
Matt Domsch |
d2fa721 |
Source0: http://pypi.python.org/packages/source/I/IPy/IPy-%{version}.tar.gz
|
|
Matt Domsch |
851668b |
License: BSD
|
|
Matt Domsch |
851668b |
Group: System Environment/Libraries
|
|
Matt Domsch |
851668b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Matt Domsch |
851668b |
BuildRequires: python-devel
|
|
Matt Domsch |
851668b |
BuildArch: noarch
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%description
|
|
Matt Domsch |
851668b |
IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks
|
|
Matt Domsch |
851668b |
in a fashion similar to perl's Net::IP and friends. The IP class allows
|
|
Matt Domsch |
851668b |
a comfortable parsing and handling for most notations in use for IPv4
|
|
Matt Domsch |
851668b |
and IPv6 Addresses and Networks.
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%prep
|
|
Matt Domsch |
851668b |
%setup -q -n %{oname}-%{version}
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%build
|
|
Matt Domsch |
851668b |
CFLAGS="%{optflags}" %{_bindir}/python setup.py build
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%check
|
|
Matt Domsch |
851668b |
make test
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%install
|
|
Matt Domsch |
851668b |
%{__rm} -rf %{buildroot}
|
|
Matt Domsch |
851668b |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%clean
|
|
Matt Domsch |
851668b |
%{__rm} -rf %{buildroot}
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%files
|
|
Matt Domsch |
851668b |
%defattr(-,root,root)
|
|
Matt Domsch |
851668b |
%doc AUTHORS COPYING ChangeLog PKG-INFO README example
|
|
Matt Domsch |
851668b |
%{python_sitelib}/%{oname}*
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
%changelog
|
|
Matt Domsch |
4814fcc |
* Sun Aug 30 2009 Matt Domsch <mdomsch@fedoraproject.org> - 0.63-1
|
|
Matt Domsch |
4814fcc |
- Fix formatting of "IPv4 in IPv6" network: IP('::ffff:192.168.10.0/120')
|
|
Matt Domsch |
4814fcc |
|
|
 |
f0a9d7b |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.62-4
|
|
 |
f0a9d7b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
 |
f0a9d7b |
|
|
 |
fbb4fd8 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.62-3
|
|
 |
fbb4fd8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
 |
fbb4fd8 |
|
|
 |
ebe2e6f |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.62-2
|
|
 |
ebe2e6f |
- Rebuild for Python 2.6
|
|
 |
ebe2e6f |
|
|
Matt Domsch |
d2fa721 |
* Sat Nov 22 2008 Matt Domsch <mdomsch@fedoraproject.org> - 0.62-1
|
|
Matt Domsch |
d2fa721 |
- new upstream version
|
|
Matt Domsch |
d2fa721 |
- Fix reverse DNS of IPv6 address: use ".ip6.arpa." suffix instead of deprecated ".ip6.int." suffix
|
|
Matt Domsch |
d2fa721 |
- Patch from Aras Vaichas allowing the [-1] operator to work with an IP object of size 1.
|
|
Matt Domsch |
d2fa721 |
|
|
Matt Domsch |
3f7cf19 |
* Tue May 20 2008 Matt Domsch <matt@domsch.com> 0.60-1
|
|
Matt Domsch |
3f7cf19 |
- with assistance from Mike Frisch
|
|
Matt Domsch |
3f7cf19 |
- 0.60
|
|
Matt Domsch |
3f7cf19 |
|
|
Matt Domsch |
851668b |
* Tue Jun 05 2007 Matt Domsch <matt@domsch.com> 0.53-2
|
|
Matt Domsch |
851668b |
- simple cleanups per Fedora package review, with thanks to Nigel Jones.
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Thu May 10 2007 Matt Domsch <matt@domsch.com> 0.53-1
|
|
Matt Domsch |
851668b |
- repackaged for Fedora
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Sat Jan 20 2007 David Walluck <walluck@mandriva.org> 0.52-1mdv2007.0
|
|
Matt Domsch |
851668b |
+ Revision: 110982
|
|
Matt Domsch |
851668b |
- 0.52
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Wed Dec 13 2006 Nicolas L├ęcureuil <neoclust@mandriva.org> 0:0.51-2mdv2007.1
|
|
Matt Domsch |
851668b |
+ Revision: 96523
|
|
Matt Domsch |
851668b |
- Rebuild against new python
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Thu Nov 02 2006 David Walluck <walluck@mandriva.org> 0:0.51-1mdv2007.1
|
|
Matt Domsch |
851668b |
+ Revision: 75609
|
|
Matt Domsch |
851668b |
- 0.51
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Sun Oct 15 2006 David Walluck <walluck@mandriva.org> 0:0.42-3mdv2007.1
|
|
Matt Domsch |
851668b |
+ Revision: 65303
|
|
Matt Domsch |
851668b |
- sync with 2mdv
|
|
Matt Domsch |
851668b |
- Import python-IPy
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
|
|
Matt Domsch |
851668b |
* Sat Sep 16 2006 David Walluck <walluck@mandriva.com> 0:0.42-1mdv2007.0
|
|
Matt Domsch |
851668b |
- release
|