diff options
author | Arkadiusz Miśkiewicz | 2005-08-08 10:22:11 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 78bebdee867c677e71a2173bb6326f9b460d9d97 (patch) | |
tree | cd6119e871d1e3cebb587a8189aea99accd76ad0 | |
download | python-IPy-78bebdee867c677e71a2173bb6326f9b460d9d97.zip python-IPy-78bebdee867c677e71a2173bb6326f9b460d9d97.tar.gz |
- new
Changed files:
python-IPy.spec -> 1.1
-rw-r--r-- | python-IPy.spec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/python-IPy.spec b/python-IPy.spec new file mode 100644 index 0000000..406130a --- /dev/null +++ b/python-IPy.spec @@ -0,0 +1,43 @@ + +%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] |