[packages/alive] - new - info patch to adjust direntry to PLD formatting

qboosh qboosh at pld-linux.org
Fri Jan 8 17:06:47 CET 2021


commit 28539696029f4fd1fab2874c49db017a0b930a17
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jan 8 17:06:41 2021 +0100

    - new
    - info patch to adjust direntry to PLD formatting

 alive-info.patch | 14 ++++++++++++++
 alive.spec       | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
---
diff --git a/alive.spec b/alive.spec
new file mode 100644
index 0000000..de48d01
--- /dev/null
+++ b/alive.spec
@@ -0,0 +1,51 @@
+Summary:	GNU Alive - periodic ping program
+Summary(pl.UTF-8):	GNU Alive - program do okresowego pingowania
+Name:		alive
+Version:	2.0.3
+Release:	1
+License:	GPL v3+
+Group:		Applications/Networking
+Source0:	https://ftp.gnu.org/gnu/alive/%{name}-%{version}.tar.lz
+# Source0-md5:	581bdd71019a9e491e52340dce00b3f4
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/alive/
+BuildRequires:	guile-devel
+BuildRequires:	lzip
+BuildRequires:	tar >= 1:1.22
+Requires:	/bin/ping
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Alive is a keep-alive program for Internet connections. It
+repeatedly pings a series of user-specified hosts, thereby encouraging
+(one hopes) the involved networks to not disappear.
+
+%description -l pl.UTF-8
+GNU Alive to program podtrzymujący połączenia internetowe. Okresowo
+pinguje szereg hostów zdefiniowanych przez użytkownika, wspierając
+(a przynajmniej dając na to nadzieję), że sieci po drodze nie znikną.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+	PING=/bin/ping \
+	alive_cv_nice_ping=yes
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/alive
+%{_infodir}/alive.info*
diff --git a/alive-info.patch b/alive-info.patch
new file mode 100644
index 0000000..8eaf547
--- /dev/null
+++ b/alive-info.patch
@@ -0,0 +1,14 @@
+--- alive-2.0.3/doc/alive.texi.orig	2021-01-01 20:14:57.000000000 +0100
++++ alive-2.0.3/doc/alive.texi	2021-01-08 16:53:15.742087561 +0100
+@@ -21,9 +21,9 @@
+ @end quotation
+ @end copying
+ 
+- at dircategory Utilities
++ at dircategory Net utilities:
+ @direntry
+-* Alive: (alive).                   Periodically ping some hosts.
++* Alive: (alive).			Periodically ping some hosts
+ @end direntry
+ 
+ @titlepage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/alive.git/commitdiff/28539696029f4fd1fab2874c49db017a0b930a17



More information about the pld-cvs-commit mailing list