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