From 36eaed737018586dbae59aaa82d7ca885cd4aadc Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 18 2013 07:43:14 +0000 Subject: import python-ipaddr-2.1.9-4.el7.src.rpm --- diff --git a/.python-ipaddr.metadata b/.python-ipaddr.metadata new file mode 100644 index 0000000..83e99cf --- /dev/null +++ b/.python-ipaddr.metadata @@ -0,0 +1 @@ +3f6c49e1629ea663e60777b8134888ae038c03be SOURCES/ipaddr-2.1.9.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-ipaddr.spec b/SPECS/python-ipaddr.spec new file mode 100644 index 0000000..9ffd78f --- /dev/null +++ b/SPECS/python-ipaddr.spec @@ -0,0 +1,88 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} + +Name: python-ipaddr +Version: 2.1.9 +Release: 4%{?dist} +Summary: A python library for working with IP addresses, both IPv4 and IPv6 + +Group: Development/Languages +License: ASL 2.0 +URL: http://code.google.com/p/ipaddr-py/ +Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel + +%description +python-ipaddr is a library for working with IP addresses, both IPv4 and IPv6. +It was developed by Google for internal use, and is now open source. + +%prep +%setup -q -n ipaddr-%{version} +# remove unneeded shebang +sed -i 1d ipaddr.py + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING README RELEASENOTES +%{python_sitelib}/* + + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 2.1.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 2.1.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 23 2011 L.S. Keijser - 2.1.9-1 +- new version from upstream + +* Fri Feb 11 2011 L.S. Keijser - 2.1.8-1 +- new version from upstream + +* Tue Feb 08 2011 Fedora Release Engineering - 2.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 L.S. Keijser - 2.1.7-1 +- new version from upstream + +* Tue Sep 14 2010 L.S. Keijser - 2.1.5-1 +- new version from upstream (included releasenotes again) + +* Sat Aug 21 2010 L.S. Keijser - 2.1.4-2 +- upstream didn't include RELEASENOTES file + +* Tue Aug 17 2010 L.S. Keijser - 2.1.4-1 +- new version from upstream + +* Fri Jul 30 2010 L.S. Keijser - 2.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Tue Jun 15 2010 L.S. Keijser - 2.1.3-1 +- new version from upstream +- added releasenotes file + +* Tue Jun 01 2010 L.S. Keijser - 2.1.2-1 +- new version from upstream + +* Thu May 06 2010 L.S. Keijser - 2.1.1-1 +- initial release +