]> git.pld-linux.org Git - packages/alive.git/blame - alive.spec
- update info/dir in post/postun
[packages/alive.git] / alive.spec
CommitLineData
28539696
JB
1Summary: GNU Alive - periodic ping program
2Summary(pl.UTF-8): GNU Alive - program do okresowego pingowania
3Name: alive
4Version: 2.0.3
5Release: 1
6License: GPL v3+
7Group: Applications/Networking
8Source0: https://ftp.gnu.org/gnu/alive/%{name}-%{version}.tar.lz
9# Source0-md5: 581bdd71019a9e491e52340dce00b3f4
10Patch0: %{name}-info.patch
11URL: http://www.gnu.org/software/alive/
12BuildRequires: guile-devel
13BuildRequires: lzip
14BuildRequires: tar >= 1:1.22
18fcaa72 15BuildRequires: texinfo
28539696
JB
16Requires: /bin/ping
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20GNU Alive is a keep-alive program for Internet connections. It
21repeatedly pings a series of user-specified hosts, thereby encouraging
22(one hopes) the involved networks to not disappear.
23
24%description -l pl.UTF-8
25GNU Alive to program podtrzymujący połączenia internetowe. Okresowo
26pinguje szereg hostów zdefiniowanych przez użytkownika, wspierając
27(a przynajmniej dając na to nadzieję), że sieci po drodze nie znikną.
28
29%prep
30%setup -q
31%patch0 -p1
32
33%build
34%configure \
35 PING=/bin/ping \
36 alive_cv_nice_ping=yes
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
18fcaa72
JB
48%post -p /sbin/postshell
49-/usr/sbin/fix-info-dir -c %{_infodir}
50
51%postun -p /sbin/postshell
52-/usr/sbin/fix-info-dir -c %{_infodir}
53
28539696
JB
54%files
55%defattr(644,root,root,755)
56%doc AUTHORS ChangeLog NEWS README
57%attr(755,root,root) %{_bindir}/alive
58%{_infodir}/alive.info*
This page took 0.027892 seconds and 4 git commands to generate.