1 Summary: Terminal-based remote package update manager
6 Group: Applications/System
7 Source0: http://downloads.sourceforge.net/apt-dater/%{name}-%{version}.tar.gz
8 # Source0-md5: a8ac240ddfb7d4c500505f9d5d821185
9 Patch0: kernel-pld-longterm.patch
10 URL: http://www.ibh.de/apt-dater/
11 BuildRequires: gettext-devel
12 BuildRequires: glib2-devel
13 BuildRequires: libxml2-devel
14 BuildRequires: ncurses-devel
15 BuildRequires: perl-base
16 BuildRequires: pkgconfig
17 BuildRequires: popt-devel
19 BuildRequires: sed >= 4.0
20 BuildRequires: tcl-devel
21 Requires: openssh-clients
24 Suggests: %{name}-host
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 apt-dater provides an easy to use ncurses frontend for managing
29 package updates on a large number of remote hosts using SSH. It
30 supports Debian-based managed hosts as well as OpenSUSE and CentOS
34 Summary: host helper application for apt-dater
35 Group: Applications/System
37 Requires: openssh-server
41 %if "%{_rpmversion}" >= "5"
46 apt-dater provides an easy to use ncurses frontend for managing
47 package updates on a large number of remote hosts using SSH. It
48 supports Debian-based managed hosts as well as OpenSUSE and CentOS
51 This package provides the helper application for apt-dater. It has to
52 be installed on every apt-dater managed host.
58 sed -i "s/manhdir = .*$/manhdir = @docdir@/" man/Makefile.in
62 --libexec=%{_libexecdir}/apt-dater \
72 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir}
80 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README* TODO man/apt-dater.conf.html man/apt-dater.html
88 %attr(755,root,root) %{_bindir}/apt-dater
89 %dir %{_libdir}/%{name}
90 %attr(755,root,root) %{_libdir}/%{name}/cmd
91 %{_mandir}/man5/apt-dater.conf.5*
92 %{_mandir}/man8/apt-dater.8*
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/apt-dater-host
97 %{_mandir}/man1/apt-dater-host.1*