]> git.pld-linux.org Git - packages/alive.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 8 Jan 2021 16:06:41 +0000 (17:06 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 8 Jan 2021 16:06:41 +0000 (17:06 +0100)
- info patch to adjust direntry to PLD formatting

alive-info.patch [new file with mode: 0644]
alive.spec [new file with mode: 0644]

diff --git a/alive-info.patch b/alive-info.patch
new file mode 100644 (file)
index 0000000..8eaf547
--- /dev/null
@@ -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
+-@dircategory Utilities
++@dircategory Net utilities:
+ @direntry
+-* Alive: (alive).                   Periodically ping some hosts.
++* Alive: (alive).                     Periodically ping some hosts
+ @end direntry
+ @titlepage
diff --git a/alive.spec b/alive.spec
new file mode 100644 (file)
index 0000000..de48d01
--- /dev/null
@@ -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*
This page took 0.106424 seconds and 4 git commands to generate.