/[packages]/cauldron/whois/current/SPECS/whois.spec
ViewVC logotype

Contents of /cauldron/whois/current/SPECS/whois.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1089784 - (show annotations) (download)
Wed Mar 8 01:42:02 2017 UTC (7 years, 1 month ago) by luigiwalser
File size: 1493 byte(s)
- 5.2.15
- add patch from fedora to fix querying 6to4 addresses

1 Summary: Enhanced WHOIS client
2 Name: whois
3 Version: 5.2.15
4 Release: %mkrel 1
5 License: GPLv2+
6 Group: Networking/Other
7 URL: http://www.linux.it/~md/software/
8 Source0: ftp://ftp.debian.org/debian/pool/main/w/%{name}/%{name}_%{version}.tar.xz
9 Patch0: whois-5.2.15-Fix-misspellings-in-IPv4-formatting-string.patch
10 BuildRequires: gettext
11 BuildRequires: libidn-devel
12
13 %description
14 This is a new whois (RFC 954) client rewritten from scratch.
15
16 It is derived from and compatible with the usual BSD and RIPE whois(1)
17 programs.
18
19 It is intelligent and can automatically select the appropriate whois
20 server for most queries.
21
22 %prep
23 %setup -q
24 %autopatch -p1
25
26 %build
27 %make OPTS="%{optflags}" HAVE_LIBIDN=1 LDFLAGS="%{ldflags}" whois pos
28
29 %install
30 install -d %{buildroot}%{_bindir}
31 install -d %{buildroot}%{_sysconfdir}
32 install -d %{buildroot}%{_mandir}/man1
33
34 %makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir}
35 %makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} -C po
36
37 install -m0644 whois.conf %{buildroot}%{_sysconfdir}
38
39 %find_lang %{name}
40
41 # fix a file conflict with expect (#46500)
42 mv %{buildroot}%{_bindir}/mkpasswd %{buildroot}%{_bindir}/whois-mkpasswd
43 mv %{buildroot}%{_mandir}/man1/mkpasswd.1 %{buildroot}%{_mandir}/man1/whois-mkpasswd.1
44
45 %files -f %{name}.lang
46 %doc README
47 %config(noreplace) %{_sysconfdir}/whois.conf
48 %{_bindir}/whois
49 %{_bindir}/whois-mkpasswd
50 %{_mandir}/man1/%{name}.1*
51 %{_mandir}/man1/%{name}-mkpasswd.1*
52 %{_mandir}/man5/%{name}.conf.5*

  ViewVC Help
Powered by ViewVC 1.1.30