source: spec/trunk/SPECS/whois.spec@ 1036

Last change on this file since 1036 was 1030, checked in by tellie, 9 years ago

spec: whois: Release version 5.2.14-1.

File size: 1.9 KB
Line 
1Name: whois
2Version: 5.2.14
3Release: 1%{?dist}
4Summary: Improved WHOIS client
5Group: Applications/Internet
6License: GPLv2+
7URL: http://www.linux.it/~md/software/
8
9Vendor: bww bitwise works GmbH
10%scm_source svn http://svn.netlabs.org/repos/ports/whois/trunk 2066
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14%description
15Searches for an object in a RFC 3912 database.
16
17This version of the WHOIS client tries to guess the right server to ask for
18the specified object. If no guess can be made it will connect to
19whois.networksolutions.com for NIC handles or whois.arin.net for IPv4
20addresses and network names.
21
22BuildRequires: coreutils
23BuildRequires: gcc
24BuildRequires: gettext
25BuildRequires: libidn-devel
26BuildRequires: make
27BuildRequires: perl
28BuildRequires: perl(autodie)
29BuildRequires: perl(strict)
30BuildRequires: perl(warnings)
31BuildRequires: subversion zip
32
33%define cfgfile %{name}.conf
34
35%debug_package
36
37%prep
38%scm_setup
39
40
41%build
42export EXEEXT='.exe'
43export LIBS="-lcx -lintl"
44export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
45make CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" HAVE_LIBIDN=1 HAVE_ICONV=1 \
46 CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
47
48%install
49# Omit mkpasswd
50export EXEEXT='.exe'
51make install-whois install-pos BASEDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
52install -p -m644 -D %{cfgfile} $RPM_BUILD_ROOT%{_sysconfdir}/%{cfgfile}
53%find_lang %{name}
54
55
56%post
57
58%postun
59
60
61%files -f %{name}.lang
62%license COPYING debian/copyright
63%doc README debian/changelog
64%config(noreplace) %{_sysconfdir}/%{cfgfile}
65%{_bindir}/%{name}.exe
66%ghost %verify(not md5 size mtime) %{_bindir}/%{name}
67%{_mandir}/man1/%{name}.*
68%ghost %verify(not md5 size mtime) %{_mandir}/man1/%{name}.1
69%{_mandir}/man5/%{cfgfile}.5
70
71
72%changelog
73* Sat Feb 18 2017 Elbert Pol <elbert.pol@gmail.com> - 5.2.14-1
74- 5.2.14 First OS2 rpm
Note: See TracBrowser for help on using the repository browser.