]> git.pld-linux.org Git - packages/alive.git/blob - alive.spec
- update info/dir in post/postun
[packages/alive.git] / alive.spec
1 Summary:        GNU Alive - periodic ping program
2 Summary(pl.UTF-8):      GNU Alive - program do okresowego pingowania
3 Name:           alive
4 Version:        2.0.3
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Networking
8 Source0:        https://ftp.gnu.org/gnu/alive/%{name}-%{version}.tar.lz
9 # Source0-md5:  581bdd71019a9e491e52340dce00b3f4
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/alive/
12 BuildRequires:  guile-devel
13 BuildRequires:  lzip
14 BuildRequires:  tar >= 1:1.22
15 BuildRequires:  texinfo
16 Requires:       /bin/ping
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 GNU Alive is a keep-alive program for Internet connections. It
21 repeatedly 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
25 GNU Alive to program podtrzymujący połączenia internetowe. Okresowo
26 pinguje 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
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
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
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.150999 seconds and 3 git commands to generate.