1 |
Summary: Enhanced WHOIS client |
Summary: Enhanced WHOIS client |
2 |
Name: whois |
Name: whois |
3 |
Version: 5.2.19 |
Version: 5.2.20 |
4 |
Release: %mkrel 1 |
Release: %mkrel 1 |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Networking/Other |
Group: Networking/Other |
23 |
%autopatch -p1 |
%autopatch -p1 |
24 |
|
|
25 |
%build |
%build |
26 |
%make OPTS="%{optflags}" HAVE_LIBIDN=1 LDFLAGS="%{ldflags}" whois pos |
%make_build OPTS="%{optflags}" HAVE_LIBIDN=1 LDFLAGS="%{ldflags}" whois pos |
27 |
|
|
28 |
%install |
%install |
29 |
install -d %{buildroot}%{_bindir} |
install -d %{buildroot}%{_bindir} |
30 |
install -d %{buildroot}%{_sysconfdir} |
install -d %{buildroot}%{_sysconfdir} |
31 |
install -d %{buildroot}%{_mandir}/man1 |
install -d %{buildroot}%{_mandir}/man1 |
32 |
|
|
33 |
%makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} |
%make_install BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} |
34 |
%makeinstall BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} -C po |
%make_install BASEDIR=%{buildroot} prefix=%{_prefix}/ mandir=%{_mandir} -C po |
35 |
|
|
36 |
install -m0644 whois.conf %{buildroot}%{_sysconfdir} |
install -m0644 whois.conf %{buildroot}%{_sysconfdir} |
37 |
|
|