]>
Commit | Line | Data |
---|---|---|
ed53a458 ER |
1 | Summary: Terminal-based remote package update manager |
2 | Name: apt-dater | |
192f7c69 | 3 | Version: 0.9.0 |
ed53a458 | 4 | Release: 1 |
42c928a1 | 5 | License: GPL v2 |
ed53a458 ER |
6 | Group: Applications/System |
7 | Source0: http://downloads.sourceforge.net/apt-dater/%{name}-%{version}.tar.gz | |
192f7c69 | 8 | # Source0-md5: a8ac240ddfb7d4c500505f9d5d821185 |
ed53a458 | 9 | URL: http://www.ibh.de/apt-dater/ |
ed53a458 ER |
10 | BuildRequires: gettext-devel |
11 | BuildRequires: glib2-devel | |
12 | BuildRequires: libxml2-devel | |
13 | BuildRequires: ncurses-devel | |
14 | BuildRequires: perl-base | |
9b57185c | 15 | BuildRequires: pkgconfig |
ed53a458 ER |
16 | BuildRequires: popt-devel |
17 | BuildRequires: screen | |
18 | BuildRequires: sed >= 4.0 | |
19 | BuildRequires: tcl-devel | |
20 | Requires: screen | |
21 | Requires: tcl | |
42c928a1 | 22 | Suggests: %{name}-host |
ed53a458 ER |
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 | ||
42c928a1 ER |
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 | ||
ed53a458 ER |
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 | |
192f7c69 | 70 | %{__make} install \ |
ed53a458 ER |
71 | DESTDIR=$RPM_BUILD_ROOT |
72 | ||
42c928a1 ER |
73 | install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir} |
74 | ||
ed53a458 ER |
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} | |
192f7c69 | 87 | %attr(755,root,root) %{_libdir}/%{name}/cmd |
ed53a458 ER |
88 | %{_mandir}/man5/apt-dater.conf.5* |
89 | %{_mandir}/man8/apt-dater.8* | |
42c928a1 ER |
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* |