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 URL: http://www.ibh.de/apt-dater/
10 BuildRequires: gettext-devel
11 BuildRequires: glib2-devel
12 BuildRequires: libxml2-devel
13 BuildRequires: ncurses-devel
14 BuildRequires: perl-base
15 BuildRequires: pkgconfig
16 BuildRequires: popt-devel
18 BuildRequires: sed >= 4.0
19 BuildRequires: tcl-devel
22 Suggests: %{name}-host
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 apt-dater provides an easy to use ncurses frontend for managing
27 package updates on a large number of remote hosts using SSH. It
28 supports Debian-based managed hosts as well as OpenSUSE and CentOS
32 Summary: host helper application for apt-dater
33 Group: Applications/System
35 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.
55 sed -i "s/manhdir = .*$/manhdir = @docdir@/" man/Makefile.in
59 --libexec=%{_libexecdir}/apt-dater \
69 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir}
77 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
80 rm -rf $RPM_BUILD_ROOT
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README* TODO man/apt-dater.conf.html man/apt-dater.html
85 %attr(755,root,root) %{_bindir}/apt-dater
86 %dir %{_libdir}/%{name}
87 %attr(755,root,root) %{_libdir}/%{name}/cmd
88 %{_mandir}/man5/apt-dater.conf.5*
89 %{_mandir}/man8/apt-dater.8*
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/apt-dater-host
94 %{_mandir}/man1/apt-dater-host.1*