]> git.pld-linux.org Git - packages/ipv6calc.git/blob - ipv6calc.spec
c7c72c46400e90e6fc54c70b1fb154a0e119eb46
[packages/ipv6calc.git] / ipv6calc.spec
1 Summary:        IPv6 address format change and calculation utility
2 Summary(pl):    Narzêdzie do zmiany formatu i przeliczania adresów IPv6
3 Name:           ipv6calc
4 Version:        0.47
5 Release:        2
6 License:        GPL v2
7 Group:          Networking/Utilities
8 Source0:        ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/%{name}-%{version}.tar.gz
9 # Source0-md5:  70cab03d1aa6ce3a1af7fd9241c90585
10 URL:            http://www.deepspace6.net/projects/ipv6calc.html
11 BuildRequires:  openssl-devel >= 0.9.7d
12 BuildRequires:  perl-base
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ipv6calc is a small utility which formats and calculates IPv6
17 addresses in different ways.
18
19 Install this package, if you want to extend the existing address
20 detection on IPv6 initscript setup or make life easier in adding
21 reverse IPv6 zones to DNS or using in DNS queries like nslookup -q=ANY
22 `ipv6calc -r 3ffe:400:100:f101::1/48` See also here for more details:
23 http://www.bieringer.de/linux/IPv6/ipv6calc/ .
24
25 %description -l pl
26 ipv6calc to niewielkie narzêdzie formatuj±ce i przeliczaj±ce adresy
27 IPv6 na ró¿ne sposoby. U³atwia ¿ycie przy dodawaniu stref odwrotnych
28 IPv6 do DNS lub odpytywaniu w rodzaju nslookup -q=ANY `ipv6calc -r
29 3ffe:400:100:f101::1/48`. Wiêcej szczegó³ów pod adresem
30 http://www.bieringer.de/linux/IPv6/ipv6calc/ .
31
32 %prep
33 %setup -q
34
35 %build
36 ./configure
37 %{__make} \
38         CFLAGS="%{rpmcflags} -I../getopt/ -I../ -I../lib/"
39 cd ipv6calcweb
40 %{__perl} -pi -m: -e "s:../ipv6calc/ipv6calc:%{_bindir}/ipv6calc:" ipv6calcweb.cgi
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_bindir}
45
46 install ipv6calc/ipv6calc $RPM_BUILD_ROOT%{_bindir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc ChangeLog README CREDITS TODO doc/ipv6calc.html ipv6calcweb/ipv6calcweb.cgi
54 %attr(755,root,root) %{_bindir}/ipv6calc
This page took 0.064829 seconds and 2 git commands to generate.