| 1 | Name: whois
|
|---|
| 2 | Version: 5.2.14
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Improved WHOIS client
|
|---|
| 5 | Group: Applications/Internet
|
|---|
| 6 | License: GPLv2+
|
|---|
| 7 | URL: http://www.linux.it/~md/software/
|
|---|
| 8 |
|
|---|
| 9 | Vendor: bww bitwise works GmbH
|
|---|
| 10 | %scm_source svn http://svn.netlabs.org/repos/ports/whois/trunk 2066
|
|---|
| 11 |
|
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|---|
| 13 |
|
|---|
| 14 | %description
|
|---|
| 15 | Searches for an object in a RFC 3912 database.
|
|---|
| 16 |
|
|---|
| 17 | This version of the WHOIS client tries to guess the right server to ask for
|
|---|
| 18 | the specified object. If no guess can be made it will connect to
|
|---|
| 19 | whois.networksolutions.com for NIC handles or whois.arin.net for IPv4
|
|---|
| 20 | addresses and network names.
|
|---|
| 21 |
|
|---|
| 22 | BuildRequires: coreutils
|
|---|
| 23 | BuildRequires: gcc
|
|---|
| 24 | BuildRequires: gettext
|
|---|
| 25 | BuildRequires: libidn-devel
|
|---|
| 26 | BuildRequires: make
|
|---|
| 27 | BuildRequires: perl
|
|---|
| 28 | BuildRequires: perl(autodie)
|
|---|
| 29 | BuildRequires: perl(strict)
|
|---|
| 30 | BuildRequires: perl(warnings)
|
|---|
| 31 | BuildRequires: subversion zip
|
|---|
| 32 |
|
|---|
| 33 | %define cfgfile %{name}.conf
|
|---|
| 34 |
|
|---|
| 35 | %debug_package
|
|---|
| 36 |
|
|---|
| 37 | %prep
|
|---|
| 38 | %scm_setup
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | %build
|
|---|
| 42 | export EXEEXT='.exe'
|
|---|
| 43 | export LIBS="-lcx -lintl"
|
|---|
| 44 | export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
|---|
| 45 | make CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" HAVE_LIBIDN=1 HAVE_ICONV=1 \
|
|---|
| 46 | CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
|---|
| 47 |
|
|---|
| 48 | %install
|
|---|
| 49 | # Omit mkpasswd
|
|---|
| 50 | export EXEEXT='.exe'
|
|---|
| 51 | make install-whois install-pos BASEDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
|
|---|
| 52 | install -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
|
|---|