]> git.pld-linux.org Git - packages/python-IPy.git/blame - python-IPy.spec
- release 3 (by relup.sh)
[packages/python-IPy.git] / python-IPy.spec
CommitLineData
391f4966
AF
1%define module IPy
2Summary: Class and tools for handling of IPv4 and IPv6 addresses and networks
38a3cba1 3Summary(pl.UTF-8): Klasy i narzędzia do obsługi adresów i sieci IPv4 i IPv6
78bebdee 4Name: python-%{module}
22c99a33 5Version: 0.80
4a00a783 6Release: 3
391f4966 7License: BSD
78bebdee 8Group: Libraries/Python
391f4966 9Source0: http://cheeseshop.python.org/packages/source/I/IPy/%{module}-%{version}.tar.gz
22c99a33 10# Source0-md5: 3ac024861a8ca833b3f041d0fe2ce04c
d77e90f4 11URL: https://github.com/haypo/python-ipy/wiki
391f4966 12BuildRequires: python-devel >= 1:2.5
15c8286c 13BuildRequires: python-setuptools
1dc2749c 14BuildRequires: rpm-pythonprov
6fff7493 15BuildRequires: rpmbuild(macros) >= 1.710
391f4966 16%pyrequires_eq python-modules
78bebdee
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
1dc2749c
JB
20The IP class allows a comfortable parsing and handling for most
21notations in use for IPv4 and IPv6 Addresses and Networks. It was
22greatly inspired bei RIPE's Perl module Net::IP's interface but
23doesn't share the Implementation. It doesn't share non-CIDR netmasks,
24so funky stuff lixe a netmask 0xffffff0f can't be done here.
25
a18b2e7f
JR
26%description -l pl.UTF-8
27Klasa IP pozwala w wygodny sposób analizować i obsługiwać większość
28używanych notacji zapisu adresów i sieci IPv4 i IPv6. Jest w dużej
29części zainspirowana interfejsem modułu Perla RIPE Net::IP, ale nie
30współdzieli z nim implementacji. Nie dzieli masek sieciowych nie-CIDR,
31więc zabawne rzeczy typu maska 0xffffff0f są tutaj niewykonalne.
78bebdee
AM
32
33%prep
34%setup -q -n %{module}-%{version}
391f4966
AF
35
36%build
2c2826e9 37%py_build
78bebdee
AM
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
2c2826e9 42%py_install \
391f4966 43 --root $RPM_BUILD_ROOT
78bebdee 44
2d0a0f5f
AF
45%py_postclean
46
78bebdee
AM
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
22c99a33 52%doc ChangeLog README AUTHORS COPYING
391f4966
AF
53%attr(755,root,root) %{py_sitescriptdir}/*.py[co]
54%{py_sitescriptdir}/*.egg-info
This page took 0.087256 seconds and 4 git commands to generate.