]> git.pld-linux.org Git - packages/whois.git/blame_incremental - whois.spec
- up to 5.2.12
[packages/whois.git] / whois.spec
... / ...
CommitLineData
1Summary: Enhanced WHOIS client
2Summary(pl.UTF-8): Rozszerzony klient WHOIS
3Summary(ru.UTF-8): Улучшенный клиент WHOIS
4Summary(uk.UTF-8): Покращений клієнт WHOIS
5Name: whois
6Version: 5.2.12
7Release: 1
8License: GPL v2+
9Group: Networking/Utilities
10Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
11# Source0-md5: b8f1482827137788016a418cc1ae364b
12Patch0: %{name}-idn.patch
13Patch1: %{name}-config.patch
14URL: http://www.linux.it/~md/software/
15BuildRequires: gettext-tools
16BuildRequires: libidn-devel
17BuildRequires: perl-base
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
20Obsoletes: inetutils-whois
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This is a new whois (RFC 954) client rewritten from scratch. It is
25derived from and compatible with the usual BSD and RIPE whois(1)
26programs. It is intelligent and can automatically select the
27appropriate whois server for most queries.
28
29%description -l pl.UTF-8
30To jest nowy klient usługi whois (RFC 954) napisany całkowicie od
31nowa. Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest
32inteligentny i automatycznie dobiera poprawny serwer whois dla
33większosci zapytań.
34
35%description -l ru.UTF-8
36Это написанный с "нуля" клиент (RFC 954), совместимый с whois(1)
37программами BSD и RIPE. В большинстве случаев он может автоматически
38выбирать правильный whois сервер в зависимости от запроса.
39
40%description -l uk.UTF-8
41Це заново написаний клієнт whois (RFC 954), сумісний з whois(1)
42програмами BSD та RIPE. Він в більшості випадків може автоматично
43вибирати правильний whois сервер в залежності від запиту.
44
45%prep
46%setup -q
47%patch0 -p1
48%patch1 -p1
49
50# Makefile vs po/Makefile mismatch
51echo 'install-pos: install' >> po/Makefile
52
53%build
54%{__make} \
55 CC="%{__cc}" \
56 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
57 HAVE_LIBIDN=1
58
59%{__make} -C po
60
61%install
62rm -rf $RPM_BUILD_ROOT
63install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
64%{__make} install-whois install-pos \
65 BASEDIR=$RPM_BUILD_ROOT \
66 prefix=%{_prefix}
67
68cp -p whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
69
70%find_lang %{name}
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files -f %{name}.lang
76%defattr(644,root,root,755)
77%doc README debian/changelog
78%attr(755,root,root) %{_bindir}/whois
79%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/whois.conf
80%{_mandir}/man1/whois.1*
81%{_mandir}/man5/whois.conf.5*
This page took 0.105604 seconds and 4 git commands to generate.