| 1 | %global pyname ipaddress |
|---|
| 2 | |
|---|
| 3 | Summary: Port of the python 3.3+ ipaddress module to 2.6+ |
|---|
| 4 | Name: python-%{pyname} |
|---|
| 5 | Version: 1.0.23 |
|---|
| 6 | Release: 1%{?_dist_release} |
|---|
| 7 | Group: programming |
|---|
| 8 | Vendor: Project Vine |
|---|
| 9 | Distribution: Vine Linux |
|---|
| 10 | |
|---|
| 11 | License: Python |
|---|
| 12 | URL: https://pypi.python.org/pypi/ipaddress/ |
|---|
| 13 | Source0: https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-%{version}.tar.gz |
|---|
| 14 | |
|---|
| 15 | BuildArch: noarch |
|---|
| 16 | BuildRequires: python-devel |
|---|
| 17 | %{?python_provide:%python_provide python2-%{pyname}} |
|---|
| 18 | |
|---|
| 19 | %global _description\ |
|---|
| 20 | ipaddress provides the capabilities to create, manipulate and operate\ |
|---|
| 21 | on IPv4 and IPv6 addresses and networks.\ |
|---|
| 22 | \ |
|---|
| 23 | The functions and classes in this module make it straightforward to\ |
|---|
| 24 | handle various tasks related to IP addresses, including checking\ |
|---|
| 25 | whether or not two hosts are on the same subnet, iterating over all\ |
|---|
| 26 | hosts in a particular subnet, checking whether or not a string\ |
|---|
| 27 | represents a valid IP address or network definition, and so on. |
|---|
| 28 | |
|---|
| 29 | %description %_description |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | %prep |
|---|
| 33 | %setup -q -n %{pyname}-%{version} |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | %{__python} setup.py build |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | %install |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %files |
|---|
| 46 | %doc README.md |
|---|
| 47 | %{python_sitelib}/* |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %changelog |
|---|
| 51 | * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.23-1 |
|---|
| 52 | - new upstream release. |
|---|
| 53 | |
|---|
| 54 | * Mon Nov 19 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.22-1 |
|---|
| 55 | - initial build for Vine Linux. |
|---|
| 56 | - new upstream release. |
|---|
| 57 | |
|---|
| 58 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-5 |
|---|
| 59 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|---|
| 60 | |
|---|
| 61 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4 |
|---|
| 62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
|---|
| 63 | |
|---|
| 64 | * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.18-3 |
|---|
| 65 | - Python 2 binary package renamed to python2-ipaddress |
|---|
| 66 | See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 |
|---|
| 67 | |
|---|
| 68 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-2 |
|---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
|---|
| 70 | |
|---|
| 71 | * Mon Jun 19 2017 Paul Wouters <pwouters@redhat.com> - 1.0.18-1 |
|---|
| 72 | - Updated to 1.0.18, fixup URL |
|---|
| 73 | |
|---|
| 74 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-4 |
|---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
|---|
| 76 | |
|---|
| 77 | * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-3 |
|---|
| 78 | - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages |
|---|
| 79 | |
|---|
| 80 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-2 |
|---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
|---|
| 82 | |
|---|
| 83 | * Fri Jan 08 2016 Matěj Cepl <mcepl@redhat.com> - 1.0.16-1 |
|---|
| 84 | - Update to the latest upstream (#1242475) |
|---|
| 85 | |
|---|
| 86 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-4 |
|---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
|---|
| 88 | |
|---|
| 89 | * Wed Jun 10 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-3 |
|---|
| 90 | - Remove Conflicts: python-ipaddr |
|---|
| 91 | |
|---|
| 92 | * Mon Jun 8 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-2 |
|---|
| 93 | - Add Conflicts: python-ipaddr |
|---|
| 94 | |
|---|
| 95 | * Thu May 14 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.0.7-1 |
|---|
| 96 | - Update to 1.0.7 |
|---|
| 97 | |
|---|
| 98 | * Wed Mar 20 2013 Matt Domsch <mdomsch@fedoraproject.org> - 1.0.3-1 |
|---|
| 99 | - initial release |
|---|