python-ipaddress-vl.spec 3.3 KB

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