]> git.pld-linux.org Git - SPECS.git/blob - python-ipv4.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-ipv4.spec
1
2 %define         module  ipv4
3
4 Summary:        IPv4 Utils - A module that helps dealing with IPv4 networks, hosts and other concepts
5 Summary(pl.UTF-8):      IPv4 - moduł pomagający w obsłudze sieci, hostów i innych aspektów IPv4
6 Name:           python-%{module}
7 Version:        0.35
8 Release:        4
9 License:        GPL
10 Group:          Libraries/Python
11 Source0:        http://www.sil-tec.gr/~tzot/python/IPv4_Utils-0.35.linux-i586.tar.gz
12 # Source0-md5:  174c80f2556f6f74ca8c0990a30d6afa
13 URL:            http://www.sil-tec.gr/~tzot/python/
14 %pyrequires_eq  python-modules
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A module that helps dealing with IPv4 networks, hosts and other
20 concepts.
21
22 %description -l pl.UTF-8
23 Moduł pomagający w obsłudze sieci, hostów i innych aspektów IPv4.
24
25 %prep
26 %setup -q -n usr 
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
31
32 install local/lib/python2.3/site-packages/*.py $RPM_BUILD_ROOT%{py_sitescriptdir}
33
34 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
35 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %{py_sitescriptdir}/*.py[co]
This page took 0.165433 seconds and 3 git commands to generate.