jwhois/jwhois.spec

73 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: jwhois
Version: 4.0
Release: 3mamba
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: https://github.com/jonasob/jwhois
Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgdbm-devel
BuildRequires: libidn-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
Requires(post): %{__install_info}
%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.
%debug_package
%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)
%config(noreplace) %{_sysconfdir}/jwhois.conf
%{_bindir}/jwhois
%{_infodir}/jwhois.info.*
%{_mandir}/man1/jwhois.*
%{_mandir}/sv/man1/jwhois.*
%doc AUTHORS COPYING
#ChangeLog NEWS README TODO
%changelog
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-3mamba
- rebuilt
* 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