SPECS: python-IPy.spec - initial version

wiget wiget at pld-linux.org
Fri Nov 3 11:33:39 CET 2006


Author: wiget                        Date: Fri Nov  3 10:33:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SPECS:
   python-IPy.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-IPy.spec
diff -u SPECS/python-IPy.spec:1.3 SPECS/python-IPy.spec:1.4
--- SPECS/python-IPy.spec:1.3	Mon Aug  8 12:32:18 2005
+++ SPECS/python-IPy.spec	Fri Nov  3 11:33:34 2006
@@ -1,49 +1,49 @@
 # $Revision$, $Date$
-
-%define 	module	IPy
-
-Summary:	A Python module for handling IPv4 and IPv6 Addresses and Networks
-Summary(pl):	Moduł języka Python do obsługi adresów i sieci IPv4 oraz IPv6
+%define		module	IPy
+Summary:	Class and tools for handling of IPv4 and IPv6 addresses and networks
 Name:		python-%{module}
-Version:	0.42
+Version:	0.51
 Release:	1
-License:	GPL
+License:	BSD
 Group:		Libraries/Python
-Source0:	http://c0re.23.nu/c0de/IPy/%{module}-%{version}.tar.gz
-# Source0-md5:	76bb49482b8c99a49505331558d0eb71
-URL:		http://c0re.23.nu/c0de/IPy/
-BuildRequires:	python
-%pyrequires_eq 	python-modules
-BuildArch:	noarch
+Source0:	http://cheeseshop.python.org/packages/source/I/IPy/%{module}-%{version}.tar.gz
+# Source0-md5:	46328d18e7c4c6191a9ba7af7afc3e9e
+URL:		http://software.inl.fr/trac/trac.cgi/wiki/IPy
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpmbuild(macros) >= 1.174
+%pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A Python module for handling IPv4 and IPv6 Addresses and Networks.
-
-%description -l pl
-Moduł języka Python do obsługi adresów i sieci IPv4 oraz IPv6.
+The IP class allows a comfortable parsing and handling for most notations in
+use for IPv4 and IPv6 Addresses and Networks. It was greatly inspired bei
+RIPE's Perl module NET::IP's interface but doesn't share the Implementation. It
+doesn't share non-CIDR netmasks, so funky stuff lixe a netmask 0xffffff0f can't
+be done here.
 
 %prep
 %setup -q -n %{module}-%{version}
+
+%build
 python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 python setup.py install \
-        --root=$RPM_BUILD_ROOT \
-        --optimize=2
-
-%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
-%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+        --single-version-externally-managed \
+	--optimize=2 \
+	--root $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc example/*.py CHANGES README THANKS
-%{py_sitescriptdir}/*.py[co]
+%doc README AUTHORS COPYING
+%attr(755,root,root) %{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/*.egg-info
+
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,12 +51,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.3  2005/08/08 10:32:18  arekm
-- make it noarch
-
-Revision 1.2  2005/08/08 10:24:56  arekm
-- add docs
-
-Revision 1.1  2005/08/08 10:22:11  arekm
-- new
+Revision 1.4  2006/11/03 10:33:34  wiget
+- initial version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-IPy.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list