SPECS: python-IPy.spec (NEW) - new

arekm arekm at pld-linux.org
Mon Aug 8 12:22:16 CEST 2005


Author: arekm                        Date: Mon Aug  8 10:22:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-IPy.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-IPy.spec
diff -u /dev/null SPECS/python-IPy.spec:1.1
--- /dev/null	Mon Aug  8 12:22:16 2005
+++ SPECS/python-IPy.spec	Mon Aug  8 12:22:11 2005
@@ -0,0 +1,54 @@
+# $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
+Name:		python-%{module}
+Version:	0.42
+Release:	1
+License:	GPL
+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
+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.
+
+%prep
+%setup -q -n %{module}-%{version}
+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}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*.py[co]
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/08 10:22:11  arekm
+- new
+
================================================================



More information about the pld-cvs-commit mailing list