]>
Commit | Line | Data |
---|---|---|
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 | 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 | |
18 | BuildRequires: screen | |
19 | BuildRequires: sed >= 4.0 | |
20 | BuildRequires: tcl-devel | |
21 | Requires: openssh-clients | |
22 | Requires: screen | |
23 | Requires: tcl | |
24 | Suggests: %{name}-host | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | apt-dater provides an easy to use ncurses frontend for managing | |
29 | package updates on a large number of remote hosts using SSH. It | |
30 | supports Debian-based managed hosts as well as OpenSUSE and CentOS | |
31 | based systems. | |
32 | ||
33 | %package host | |
34 | Summary: host helper application for apt-dater | |
35 | Group: Applications/System | |
36 | Requires: lsb-release | |
37 | Requires: openssh-server | |
38 | Requires: which | |
39 | Suggests: imvirt | |
40 | Suggests: sudo | |
41 | %if "%{_rpmversion}" >= "5" | |
42 | BuildArch: noarch | |
43 | %endif | |
44 | ||
45 | %description host | |
46 | apt-dater provides an easy to use ncurses frontend for managing | |
47 | package updates on a large number of remote hosts using SSH. It | |
48 | supports Debian-based managed hosts as well as OpenSUSE and CentOS | |
49 | based systems. | |
50 | ||
51 | This package provides the helper application for apt-dater. It has to | |
52 | be installed on every apt-dater managed host. | |
53 | ||
54 | %prep | |
55 | %setup -q | |
56 | %patch0 -p1 | |
57 | ||
58 | sed -i "s/manhdir = .*$/manhdir = @docdir@/" man/Makefile.in | |
59 | ||
60 | %build | |
61 | %configure \ | |
62 | --libexec=%{_libexecdir}/apt-dater \ | |
63 | --enable-tclfilter \ | |
64 | --enable-xmlreport \ | |
65 | --enable-autoref \ | |
66 | --enable-history \ | |
67 | --enable-debug \ | |
68 | ||
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | install -p clients/rpm/apt-dater-host $RPM_BUILD_ROOT%{_bindir} | |
77 | ||
78 | %find_lang %{name} | |
79 | ||
80 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
81 | ||
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %files -f %{name}.lang | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS ChangeLog README* TODO man/apt-dater.conf.html man/apt-dater.html | |
88 | %attr(755,root,root) %{_bindir}/apt-dater | |
89 | %dir %{_libdir}/%{name} | |
90 | %attr(755,root,root) %{_libdir}/%{name}/cmd | |
91 | %{_mandir}/man5/apt-dater.conf.5* | |
92 | %{_mandir}/man8/apt-dater.8* | |
93 | ||
94 | %files host | |
95 | %defattr(644,root,root,755) | |
96 | %attr(755,root,root) %{_bindir}/apt-dater-host | |
97 | %{_mandir}/man1/apt-dater-host.1* |