jwhois/jwhois.spec

64 lines
2.0 KiB
RPMSpec

Name: jwhois
Version: 4.0
Release: 2mamba
Summary: An Internet Whois client that contains an extensible configuration file which defines its operation
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/jwhois/jwhois.html
Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
License: GPL
BuildRequires: gettext-devel
Requires(post): %{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%{find_lang} %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
%preun
%uninstall_info %{name}.info
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/jwhois
%{_infodir}/jwhois.info.*
%{_sysconfdir}/jwhois.conf
%{_mandir}/man1/jwhois.*
%{_mandir}/sv/man1/jwhois.*
%doc AUTHORS COPYING
#ChangeLog NEWS README TODO
%changelog
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 4.0-2mamba
- periodic rebuild (manual edit: fix info page installation)
* Thu Nov 08 2007 Aleph0 <aleph0@openmamba.org> 4.0-1mamba
- update to 4.0
* Tue Oct 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-1qilnx
- package created by autospec