Author: qboosh Date: Fri Jul 13 21:16:13 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 4.0 - updated nolibs patch, added pl.po-update patch - changed sgid group to whois (nobody must not own any files)
---- Files affected: SPECS: jwhois.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/jwhois.spec diff -u SPECS/jwhois.spec:1.5 SPECS/jwhois.spec:1.6 --- SPECS/jwhois.spec:1.5 Tue Feb 13 09:06:36 2007 +++ SPECS/jwhois.spec Fri Jul 13 23:16:08 2007 @@ -2,25 +2,30 @@ Summary: The GNU Whois client Summary(pl.UTF-8): Klient Whois z GNU Name: jwhois -Version: 3.2.3 +Version: 4.0 Release: 1 -License: GPL +License: GPL v3+ Group: Networking/Utilities Source0: ftp://ftp.gnu.org/gnu/jwhois/%{name}-%{version}.tar.gz -# Source0-md5: 1232661cebd79a9772f416599d3f5929 +# Source0-md5: 977d0ba90ee058a7998c94d933fc9546 Patch0: %{name}-info.patch Patch1: %{name}-nolibs.patch +Patch2: %{name}-pl.po-update.patch URL: http://www.gnu.org/software/jwhois/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: gdbm-devel BuildRequires: gettext-devel +BuildRequires: rpmbuild(macros) >= 1.159 BuildRequires: texinfo +Requires(postun): /usr/sbin/groupdel +Requires(pre): /usr/bin/getgid +Requires(pre): /usr/sbin/groupadd Requires(pre,preun): fileutils +Provides: group(whois) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _localstatedir /var/cache/jwhois -%define cachegrp nobody %description JWHOIS is an Internet Whois client that queries hosts for information @@ -46,15 +51,18 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 + +rm -f po/stamp-po %build %{__gettextize} -%{__aclocal} +%{__aclocal} -I m4 -I gl/m4 %{__autoconf} %{__autoheader} %{__automake} %configure \ - --enable-GROUP=%{cachegrp} + --enable-GROUP=whois %{__make} @@ -76,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT %pre +%groupadd -g 87 whois [ -f %{_localstatedir}/jwhois.db ] && rm -f %{_localstatedir}/jwhois.db %post @@ -88,16 +97,19 @@ %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +if [ "$1" = "0" ]; then + %groupremove whois +fi %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README TODO %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jwhois.conf -%attr(2755,root,%{cachegrp}) %{_bindir}/jwhois +%attr(2755,root,whois) %{_bindir}/jwhois %{_mandir}/man1/jwhois.1* %lang(sv) %{_mandir}/sv/man1/jwhois.1* %{_infodir}/jwhois.info* -%attr(775,root,%{cachegrp}) %dir %{_localstatedir} +%attr(775,root,whois) %dir %{_localstatedir} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -105,6 +117,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2007/07/13 21:16:08 qboosh +- updated to 4.0 +- updated nolibs patch, added pl.po-update patch +- changed sgid group to whois (nobody must not own any files) + Revision 1.5 2007/02/13 08:06:36 glen - tabs in preamble @@ -119,4 +136,3 @@ Revision 1.1 2003/07/26 12:05:01 qboosh - new; patches for standard info directory and no unnecessary -lresolv - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/jwhois.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
