]>
Commit | Line | Data |
---|---|---|
bcfca455 | 1 | Summary: IPv6 address format change and calculation utility |
65dad22a | 2 | Summary(pl.UTF-8): Narzędzie do zmiany formatu i przeliczania adresów IPv6 |
bcfca455 | 3 | Name: ipv6calc |
6b8805e5 | 4 | Version: 0.94.0 |
0c218b16 | 5 | Release: 1 |
b157bb03 | 6 | License: GPL v2 |
bcfca455 | 7 | Group: Networking/Utilities |
7e35e510 | 8 | Source0: ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/%{name}-%{version}.tar.gz |
6b8805e5 | 9 | # Source0-md5: 4bcbaff7dc762df85b33946f86f32171 |
aa91d244 | 10 | URL: http://www.deepspace6.net/projects/ipv6calc.html |
011e5ff4 | 11 | BuildRequires: GeoIP-devel >= 1.4.1 |
bcfca455 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | ipv6calc is a small utility which formats and calculates IPv6 | |
16 | addresses in different ways. | |
17 | ||
18 | Install this package, if you want to extend the existing address | |
19 | detection on IPv6 initscript setup or make life easier in adding | |
20 | reverse IPv6 zones to DNS or using in DNS queries like nslookup -q=ANY | |
21 | `ipv6calc -r 3ffe:400:100:f101::1/48` See also here for more details: | |
84279270 | 22 | <http://www.bieringer.de/linux/IPv6/ipv6calc/>. |
8422013e | 23 | |
3d35ce27 JR |
24 | %description -l pl.UTF-8 |
25 | ipv6calc to niewielkie narzędzie formatujące i przeliczające adresy | |
26 | IPv6 na różne sposoby. Ułatwia życie przy dodawaniu stref odwrotnych | |
8422013e | 27 | IPv6 do DNS lub odpytywaniu w rodzaju nslookup -q=ANY `ipv6calc -r |
3d35ce27 | 28 | 3ffe:400:100:f101::1/48`. Więcej szczegółów pod adresem |
84279270 | 29 | <http://www.bieringer.de/linux/IPv6/ipv6calc/>. |
bcfca455 | 30 | |
31 | %prep | |
32 | %setup -q | |
8422013e | 33 | |
bcfca455 | 34 | %build |
011e5ff4 ŁK |
35 | %configure \ |
36 | --enable-geoip | |
37 | %{__make} | |
d8fe120e | 38 | |
bcfca455 | 39 | %install |
40 | rm -rf $RPM_BUILD_ROOT | |
011e5ff4 ŁK |
41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
bcfca455 | 43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
fcb5138d | 49 | %doc ChangeLog README CREDITS TODO doc/ipv6calc.html ipv6calcweb/ipv6calcweb.cgi |
bcfca455 | 50 | %attr(755,root,root) %{_bindir}/ipv6calc |
011e5ff4 ŁK |
51 | %attr(755,root,root) %{_bindir}/ipv6loganon |
52 | %attr(755,root,root) %{_bindir}/ipv6logconv | |
53 | %attr(755,root,root) %{_bindir}/ipv6logstats | |
54 | %{_mandir}/man8/ipv6calc.8* | |
55 | %{_mandir}/man8/ipv6loganon.8* | |
56 | %{_mandir}/man8/ipv6logconv.8* | |
57 | %{_mandir}/man8/ipv6logstats.8* |