]> git.pld-linux.org Git - packages/apt-dater.git/commitdiff
add -host subpackage
authorElan Ruusamäe <glen@delfi.ee>
Mon, 9 Sep 2013 21:21:51 +0000 (00:21 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 9 Sep 2013 21:21:51 +0000 (00:21 +0300)
apt-dater.spec

index 819bec06ff99f46cb004a94221b76e108502579e..8684f01e0704ea89c097252c3028305f81008f4d 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Terminal-based remote package update manager
 Name:          apt-dater
 Version:       0.9.0
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/System
 Source0:       http://downloads.sourceforge.net/apt-dater/%{name}-%{version}.tar.gz
 # Source0-md5: a8ac240ddfb7d4c500505f9d5d821185
@@ -19,6 +19,7 @@ BuildRequires:        sed >= 4.0
 BuildRequires: tcl-devel
 Requires:      screen
 Requires:      tcl
+Suggests:      %{name}-host
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,6 +28,27 @@ package updates on a large number of remote hosts using SSH. It
 supports Debian-based managed hosts as well as OpenSUSE and CentOS
 based systems.
 
+%package host
+Summary:       host helper application for apt-dater
+Group:         Applications/System
+Requires:      lsb-release
+Requires:      openssh-server
+Suggests:      imvirt
+Suggests:      perl-imvirt
+Suggests:      sudo
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
+%description host
+apt-dater provides an easy to use ncurses frontend for managing
+package updates on a large number of remote hosts using SSH. It
+supports Debian-based managed hosts as well as OpenSUSE and CentOS
+based systems.
+
+This package provides the helper application for apt-dater. It has to
+be installed on every apt-dater managed host.
+
 %prep
 %setup -q
 
@@ -48,6 +70,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir}
+
 %find_lang %{name}
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
@@ -61,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/apt-dater
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/cmd
-%{_mandir}/man1/apt-dater-host.1*
 %{_mandir}/man5/apt-dater.conf.5*
 %{_mandir}/man8/apt-dater.8*
+
+%files host
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/apt-dater-host
+%{_mandir}/man1/apt-dater-host.1*
This page took 0.110121 seconds and 4 git commands to generate.