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