]> git.pld-linux.org Git - packages/apt-dater.git/blob - apt-dater.spec
8684f01e0704ea89c097252c3028305f81008f4d
[packages/apt-dater.git] / apt-dater.spec
1 Summary:        Terminal-based remote package update manager
2 Name:           apt-dater
3 Version:        0.9.0
4 Release:        1
5 License:        GPL v2
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
17 BuildRequires:  screen
18 BuildRequires:  sed >= 4.0
19 BuildRequires:  tcl-devel
20 Requires:       screen
21 Requires:       tcl
22 Suggests:       %{name}-host
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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
29 based systems.
30
31 %package host
32 Summary:        host helper application for apt-dater
33 Group:          Applications/System
34 Requires:       lsb-release
35 Requires:       openssh-server
36 Suggests:       imvirt
37 Suggests:       perl-imvirt
38 Suggests:       sudo
39 %if "%{_rpmversion}" >= "5"
40 BuildArch:      noarch
41 %endif
42
43 %description host
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
47 based systems.
48
49 This package provides the helper application for apt-dater. It has to
50 be installed on every apt-dater managed host.
51
52 %prep
53 %setup -q
54
55 sed -i "s/manhdir = .*$/manhdir = @docdir@/" man/Makefile.in
56
57 %build
58 %configure \
59         --libexec=%{_libexecdir}/apt-dater \
60         --enable-tclfilter \
61         --enable-xmlreport \
62         --enable-autoref \
63         --enable-history \
64         --enable-debug \
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir}
74
75 %find_lang %{name}
76
77 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
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*
90
91 %files host
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/apt-dater-host
94 %{_mandir}/man1/apt-dater-host.1*
This page took 0.051281 seconds and 2 git commands to generate.