]> git.pld-linux.org Git - packages/whois.git/blame - whois.spec
- enhanced mkpwdhash patch to cover also bash completion; package bash completions
[packages/whois.git] / whois.spec
CommitLineData
6c0a3382 1Summary: Enhanced WHOIS client
722623dd
ER
2Summary(pl.UTF-8): Rozszerzony klient WHOIS
3Summary(ru.UTF-8): Улучшенный клиент WHOIS
4Summary(uk.UTF-8): Покращений клієнт WHOIS
4fe354dc 5Name: whois
8d90ca40 6Version: 5.5.18
8f52e605 7Release: 2
8d90ca40 8License: GPL v1+
4fe354dc 9Group: Networking/Utilities
fa50a4d9 10Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
8d90ca40 11# Source0-md5: be8aaa843a0030f656b0ac3ed945e4e6
9b2c61ab 12Patch0: %{name}-idn.patch
4df52eb5 13Patch1: %{name}-config.patch
36a5fbe5 14Patch2: %{name}-mkpwdhash.patch
c086456d 15Patch3: %{name}-pl.po-update.patch
5eb20b60 16URL: https://github.com/rfc1036/whois
f0436875 17BuildRequires: gettext-tools
5f0043d0 18BuildRequires: libidn2-devel >= 2.0.3
0725bc60 19BuildRequires: libxcrypt-devel >= 4.1
4bfea0db 20BuildRequires: perl-base
022d2dbb 21BuildRequires: pkgconfig
fa50a4d9
ŁK
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
5f0043d0 24Requires: libidn2 >= 2.0.3
208c14ff 25Obsoletes: inetutils-whois
a73d1947 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4fe354dc
AF
27
28%description
ce2ab3e4
JB
29This is a new whois (RFC 954) client rewritten from scratch. It is
30derived from and compatible with the usual BSD and RIPE whois(1)
edd72b25 31programs. It is intelligent and can automatically select the
32appropriate whois server for most queries.
33
9d281871
JR
34%description -l pl.UTF-8
35To jest nowy klient usługi whois (RFC 954) napisany całkowicie od
36nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
ce2ab3e4 37inteligentny i automatycznie dobiera poprawny serwer whois dla
9d281871 38większosci zapytań.
edd72b25 39
9d281871
JR
40%description -l ru.UTF-8
41Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
42программами BSD и RIPE. В большинстве случаев он может автоматически
43выбирать правильный whois сервер в зависимости от запроса.
a817d6cb 44
9d281871
JR
45%description -l uk.UTF-8
46Це заново написаний клієнт whois (RFC 954), сумісний з whois(1)
47програмами BSD та RIPE. Він в більшості випадків може автоматично
48вибирати правильний whois сервер в залежності від запиту.
a817d6cb 49
4fe354dc 50%prep
8d90ca40 51%setup -q
9b2c61ab 52%patch0 -p1
35f335e5 53%patch1 -p1
36a5fbe5 54%patch2 -p1
8f52e605 55%patch3 -p1
4fe354dc 56
115d3501
JB
57# Makefile vs po/Makefile mismatch
58echo 'install-pos: install' >> po/Makefile
59
4fe354dc 60%build
592bcb74
JB
61%{__make} \
62 CC="%{__cc}" \
878851b5 63 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
985c5c7f 64 HAVE_ICONV=1
4fe354dc 65
f1fa470a
AG
66%{__make} -C po
67
4fe354dc
AF
68%install
69rm -rf $RPM_BUILD_ROOT
56f55bc2 70install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
8f52e605 71
36a5fbe5 72%{__make} install install-pos \
56f55bc2
JB
73 BASEDIR=$RPM_BUILD_ROOT \
74 prefix=%{_prefix}
4fe354dc 75
36a5fbe5 76%{__cp} -p whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
2afd6a03 77
d536721a 78%find_lang %{name}
79
4fe354dc
AF
80%clean
81rm -rf $RPM_BUILD_ROOT
82
d536721a 83%files -f %{name}.lang
4fe354dc 84%defattr(644,root,root,755)
6a1f9784 85%doc README debian/changelog
36a5fbe5 86%attr(755,root,root) %{_bindir}/mkpwdhash
1c27599e 87%attr(755,root,root) %{_bindir}/whois
f660410f 88%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
8f52e605
JB
89%{bash_compdir}/mkpwdhash
90%{bash_compdir}/whois
36a5fbe5 91%{_mandir}/man1/mkpwdhash.1*
1c27599e 92%{_mandir}/man1/whois.1*
9501bca8 93%{_mandir}/man5/whois.conf.5*
This page took 0.102663 seconds and 4 git commands to generate.