[packages/rush] - updated to 2.2 - added info patch (unify direntry to PLD formatting)

qboosh qboosh at pld-linux.org
Wed Jan 19 21:45:03 CET 2022


commit b78ca77e185d5f41e21359ef19f8e960c2cbf5dc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jan 19 21:46:08 2022 +0100

    - updated to 2.2
    - added info patch (unify direntry to PLD formatting)

 rush-info.patch | 18 ++++++++++++++++++
 rush.spec       | 44 +++++++++++++++++++++++++++++---------------
 2 files changed, 47 insertions(+), 15 deletions(-)
---
diff --git a/rush.spec b/rush.spec
index d485282..a1ecbd1 100644
--- a/rush.spec
+++ b/rush.spec
@@ -1,16 +1,22 @@
-Summary:	restricted user shell
-Summary(pl.UTF-8):	powłoka z ograniczeniami
+Summary:	Restricted user shell
+Summary(pl.UTF-8):	Powłoka z ograniczeniami
 Name:		rush
-Version:	1.7
+Version:	2.2
 Release:	1
 License:	GPL v3+
 Group:		Applications/Shells
-Source0:	http://ftp.gnu.org/gnu/rush/%{name}-%{version}.tar.gz
-# Source0-md5:	01c42be5359d2c31e2145eb112cd94cf
+Source0:	https://ftp.gnu.org/gnu/rush/%{name}-%{version}.tar.xz
+# Source0-md5:	8acf915dd6354fd2ff2294faf368adc4
+Patch0:		%{name}-info.patch
 URL:		http://www.gnu.org/software/rush/
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	libtool
+BuildRequires:	autoconf >= 2.64
+BuildRequires:	automake >= 1:1.15
+BuildRequires:	bison
+BuildRequires:	flex
+BuildRequires:	gettext-tools >= 0.18
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	texinfo
+BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,19 +36,21 @@ savannah.gnu.org. Główny program, rush, jest ustawiony jako domyślna
 powłoka dla użytkowników mających tylko zdalny dostep do maszyny. Za
 pomocą elastycznego pliku konfiguracyjnego, GNU Rush pozwala
 administratorowi na kompletną kontrolę nad poleceniami wywoływanymi
-przez użytkownika oraz pozwala na okreslenie limitów zasobów, takich
+przez użytkownika oraz pozwala na określenie limitów zasobów, takich
 jak pamięć wirtualna, czas pracy procesora, itp.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal} -I m4
+%{__gettextize}
+%{__aclocal} -I m4 -I doc/imprimatur
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--disable-silent-rules
 %{__make}
 
 %install
@@ -65,8 +73,14 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_bindir}/rush-po
+%attr(755,root,root) %{_bindir}/rushlast
+%attr(755,root,root) %{_bindir}/rushwho
+%attr(755,root,root) %{_sbindir}/rush
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rush.rc
 %{_infodir}/rush.info*
-%{_datadir}/rush
+%{_mandir}/man1/rush-po.1*
+%{_mandir}/man1/rushlast.1*
+%{_mandir}/man1/rushwho.1*
+%{_mandir}/man5/rush.rc.5*
+%{_mandir}/man8/rush.8*
diff --git a/rush-info.patch b/rush-info.patch
new file mode 100644
index 0000000..0224254
--- /dev/null
+++ b/rush-info.patch
@@ -0,0 +1,18 @@
+--- rush-2.2/doc/rush.texi.orig	2022-01-02 08:58:10.000000000 +0100
++++ rush-2.2/doc/rush.texi	2022-01-19 21:15:34.598243928 +0100
+@@ -25,11 +25,11 @@
+ @include rendition.texi
+ 
+ @ifinfo
+- at dircategory System Administration Utilities
++ at dircategory Miscellaneous:
+ @direntry
+-* rush: (rush).              A restricted user shell.
+-* rushwho: (rush)Rushwho.    Show who is using GNU Rush currently.
+-* rushlast: (rush)Rushlast.  Show listing of recent GNU Rush sessions.
++* rush: (rush).				A restricted user shell
++* rushwho: (rush)Rushwho.		Show who is using GNU Rush currently
++* rushlast: (rush)Rushlast.		Show listing of recent GNU Rush sessions
+ @end direntry
+ @end ifinfo
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rush.git/commitdiff/b78ca77e185d5f41e21359ef19f8e960c2cbf5dc



More information about the pld-cvs-commit mailing list