]> git.pld-linux.org Git - SPECS.git/blob - ripe-whois-tools.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / ripe-whois-tools.spec
1 Summary:        The RIPE version of the whois client program
2 Summary(pl.UTF-8):      Program do odpytywania bazy whois (stworzony przez RIPE)
3 Name:           ripe-whois-tools
4 Version:        2.4
5 Release:        4
6 License:        distributable
7 Group:          Applications/Networking
8 Source0:        ftp://ftp.ripe.net/tools/%{name}-%{version}.tar.gz
9 # Source0-md5:  e6bf6cd019b2fd6e49409850b92c34ad
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The RIPE version of the whois client program.
14
15 This is intended for European users as it will query a RIPE whois
16 server with extended whois capabilities rather than a standard whois
17 protocol server. The whois program is fully compatible with the
18 standard whois protocol and can thus replace your default whois
19 program.
20
21 This program is aware of quite some extra flags that the standard
22 whois doesn't support. Just try 'whois' without arguments to see an
23 explanation of these. Please note that most of these flags are NOT
24 supported by non RIPE whois servers. In cases where you use this
25 client to query non RIPE whois servers, you should not use any of
26 these flags.
27
28 %description -l pl.UTF-8
29 Wersja RIPE programu whois.
30
31 Ta wersja jest pomyślana dla europejskich użytkowników, ponieważ może
32 odpytywać serwer whois RIPE z rozszerzonymi możliwościami whois
33 zamiast serwera standardowego protokołu whois. Program jest w pełni
34 kompatybilny ze standardowym protokołem, więc może być używany jako
35 domyślny program whois.
36
37 Ten program bierze pod uwagę trochę dodatkowych flag, których
38 standardowy whois nie obsługuje. Uruchom 'whois' bez argumentów aby
39 zobaczyć ich objaśnienie. Większość z tych flag NIE jest obsługiwana
40 przez serwery whois inne niż RIPE. Aby odpytać inne serwery whois, nie
41 używaj żadnej z dodatkowych flag.
42
43 %prep
44 %setup -q -c
45
46 %build
47 %{__cc} %{rpmcflags} %{rpmldflags} -ansi -pedantic -DRIPE -DGLIBC whois.c -o whois
48 %{__cc} %{rpmcflags} %{rpmldflags} -ansi -pedantic -DRIPE -DGLIBC -DNETWORKUPDATE -lcrypt whois.c -o networkupdate
49 %{__cc} %{rpmcflags} %{rpmldflags} -ansi -pedantic -DRIPE -DGLIBC -lcrypt cryptpw.c -o cryptpw
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_bindir}
54
55 install whois $RPM_BUILD_ROOT%{_bindir}/ripe-whois
56 install networkupdate $RPM_BUILD_ROOT%{_bindir}/networkupdate
57 install cryptpw $RPM_BUILD_ROOT%{_bindir}/cryptpw
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README
65 %attr(755,root,root) %{_bindir}/ripe-whois
66 %attr(755,root,root) %{_bindir}/networkupdate
67 %attr(755,root,root) %{_bindir}/cryptpw
This page took 0.091006 seconds and 3 git commands to generate.