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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1205434 - (hide annotations) (download)
Tue Feb 27 06:06:03 2018 UTC (6 years, 1 month ago) by daviddavid
File size: 1424 byte(s)
SILENT: fix build

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

  ViewVC Help
Powered by ViewVC 1.1.30