Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
whois
> whois.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File whois.spec of Package whois (Revision 30)
Currently displaying revision
30
,
show latest
# # spec file for package whois # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: whois BuildRequires: libidn-devel License: GPL v2 or later Group: Productivity/Networking/Other Provides: ripe-whois-tools AutoReqProv: on Url: http://www.linux.it/~md/software/ Version: 5.2.1 Release: 1 Summary: Whois Client Program Source: %{name}_%{version}.tar.bz2 Patch1: whois-ip_del.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define mkpasswd_suffix %{name} %description This is a new whois (RFC 954) client rewritten from scratch by Marco d'Itri. It is derived from and compatible with the usual BSD and RIPE whois(1) programs. It is intelligent and can automatically select the appropriate whois server for most queries. This package also contains mkpasswd, a simple front-end to crypt(3). Authors: -------- Marco d'Itri <md@linux.it> %prep %setup -n whois-%{version} %patch1 %build make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 OPTS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1} make BASEDIR=$RPM_BUILD_ROOT mandir=%{_mandir} prefix=/usr \ install install-mkpasswd install-pos mv %{buildroot}%{_bindir}/mkpasswd %{buildroot}%{_bindir}/mkpasswd-%{mkpasswd_suffix} mv %{buildroot}%{_mandir}/man1/mkpasswd.1 %{buildroot}%{_mandir}/man1/mkpasswd-%{mkpasswd_suffix}.1 %find_lang %{name} %post if [ ! -e %{_bindir}/mkpasswd ] ; then ln -sf %{_bindir}/mkpasswd-%{mkpasswd_suffix} %{_bindir}/mkpasswd fi %preun if [ $1 == 0 ] ; then if [ -L %{_bindir}/mkpasswd ] ; then rm -f %{_bindir}/mkpasswd fi fi %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc README debian/changelog debian/copyright %{_bindir}/whois %{_bindir}/mkpasswd-%{mkpasswd_suffix} %{_mandir}/man1/mkpasswd-%{mkpasswd_suffix}.1* %{_mandir}/man1/whois.1* %{_mandir}/man5/whois.conf.5* %changelog