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
23 Suggests: %{name}-host
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 apt-dater provides an easy to use ncurses frontend for managing
28 package updates on a large number of remote hosts using SSH. It
29 supports Debian-based managed hosts as well as OpenSUSE and CentOS
33 Summary: host helper application for apt-dater
34 Group: Applications/System
36 Requires: openssh-server
39 %if "%{_rpmversion}" >= "5"
44 apt-dater provides an easy to use ncurses frontend for managing
45 package updates on a large number of remote hosts using SSH. It
46 supports Debian-based managed hosts as well as OpenSUSE and CentOS
49 This package provides the helper application for apt-dater. It has to
50 be installed on every apt-dater managed host.
56 sed -i "s/manhdir = .*$/manhdir = @docdir@/" man/Makefile.in
60 --libexec=%{_libexecdir}/apt-dater \
70 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir}
78 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
81 rm -rf $RPM_BUILD_ROOT
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog README* TODO man/apt-dater.conf.html man/apt-dater.html
86 %attr(755,root,root) %{_bindir}/apt-dater
87 %dir %{_libdir}/%{name}
88 %attr(755,root,root) %{_libdir}/%{name}/cmd
89 %{_mandir}/man5/apt-dater.conf.5*
90 %{_mandir}/man8/apt-dater.8*
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/apt-dater-host
95 %{_mandir}/man1/apt-dater-host.1*