File jwhois.spec of Package jwhois
#
# spec file for package jwhois (Version 4.0)
#
# 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/
#
Name: jwhois
Version: 4.0
Release: 1
License: GPL v3
Summary: Alternative whois client
Url: http://www.gnu.org/software/jwhois
Group: Productivity/Networking/Other
Source: %{name}-%{version}.tar.bz2
PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Jwhois is an Internet Whois client that contains an extensible configuration
file which defines its operation. The client supports queries to foreign hosts
either through the RFC 954 - NICNAME/WHOIS protocol, the RFC 2167 - Referral
Whois 1.5 protocol, or HTTP using an external browser.
Upon execution, JWHOIS searches through the its configuration to find the most
specific whois server to query. Depending upon the reply from that whois
server, JWHOIS can assume the query was successfull and display the result to
the user, or optionally redirect the query to another server to find more
specific information.
%prep
%setup -q
%build
%configure
make
%install
%make_install
%find_lang %{name}
rm -rf %{buildroot}/%{_mandir}/sv
%clean
rm -rf %{buildroot}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -f %{name}.lang
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/%{name}.conf
%doc %{_infodir}/*.info*
%doc NEWS README COPYING AUTHORS
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%changelog