]>
Commit | Line | Data |
---|---|---|
277a8aa8 | 1 | # |
6f4fa4cc | 2 | # Conditional build: |
d9653125 | 3 | %bcond_without xfs # without (possible) support for xfsdump |
7ba1ec44 | 4 | %bcond_without samba # without smbclient support |
a9736a51 JR |
5 | %bcond_without client # without client package |
6 | %bcond_without server # without server package | |
856a76de | 7 | # |
83e7acbd | 8 | Summary: A network-capable tape backup solution |
9720936a | 9 | Summary(pl.UTF-8): Sieciowo zorientowany system tworzenia kopii zapasowych |
83e7acbd | 10 | Name: amanda |
c8cba693 JR |
11 | Version: 2.6.0 |
12 | Release: 0.1 | |
8ae81366 | 13 | License: BSD |
241d28fd | 14 | Group: Networking/Utilities |
0b2b22ac | 15 | Source0: http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz |
c8cba693 | 16 | # Source0-md5: c347c1e573c33018f234750ac6435156 |
b95f206b | 17 | Source1: %{name}-srv.crontab |
18 | Source2: %{name}.inetd | |
19 | Source3: %{name}idx.inetd | |
b083e9f8 | 20 | Source4: amidxtape.inetd |
8ae81366 | 21 | Patch0: %{name}-no_libnsl.patch |
c8cba693 JR |
22 | Patch1: %{name}-chg-zd-mtx-sh.patch |
23 | Patch2: %{name}-tar.patch | |
24 | Patch3: %{name}-bashizm.patch | |
05b023d3 | 25 | Patch4: %{name}-as_needed.patch |
d4c615c9 JR |
26 | Patch5: %{name}-tapetypes.patch |
27 | Patch6: %{name}-FHS.patch | |
5dbc26fb | 28 | URL: http://www.amanda.org/ |
a188c172 | 29 | BuildRequires: autoconf >= 2.53 |
7bb8ef98 | 30 | BuildRequires: automake |
106e7764 | 31 | BuildRequires: curl-devel >= 7.10.0 |
b083e9f8 | 32 | BuildRequires: dump |
47d7a19a | 33 | BuildRequires: flex |
c8cba693 JR |
34 | BuildRequires: glib2-devel |
35 | # curl is broken, see curl-config --libs | |
36 | BuildRequires: keyutils-devel | |
eba98501 | 37 | BuildRequires: krb5-devel >= 1.6-4 |
47d7a19a | 38 | BuildRequires: libtool |
c8cba693 JR |
39 | BuildRequires: libxslt-progs |
40 | BuildRequires: ncurses-devel | |
41 | BuildRequires: openssh-clients | |
42 | BuildRequires: openssl-devel | |
106e7764 | 43 | BuildRequires: perl-devel >= 5.6.0 |
4b36a6fa | 44 | BuildRequires: pkgconfig |
e271841a | 45 | BuildRequires: readline-devel >= 4.2 |
35efb826 | 46 | BuildRequires: rpmbuild(macros) >= 1.268 |
7ba1ec44 | 47 | %{?with_samba:BuildRequires: samba-client} |
c8cba693 | 48 | BuildRequires: swig |
856a76de | 49 | %{?with_xfs:BuildRequires: xfsdump} |
c9fdcd61 JR |
50 | Conflicts: shadow < 1:4.0.4.1-4 |
51 | Conflicts: pwdutils < 3.1.2-2 | |
316f81cd | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64e6fb7c | 53 | |
864ae446 | 54 | %description |
a895e21d | 55 | AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a |
56 | backup system that allows the administrator of a LAN to set up a | |
57 | single master backup server to back up multiple hosts to a single | |
58 | large capacity tape drive. AMANDA uses native dump and/or GNU tar | |
59 | facilities and can back up a large number of workstations running | |
60 | multiple versions of Unix. Newer versions of AMANDA (including this | |
61 | version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts. | |
62 | The amanda package contains the core AMANDA programs and will need to | |
63 | be installed on both AMANDA clients and AMANDA servers. Note that you | |
64 | will have to install the amanda-client and amanda-server packages as | |
65 | well. | |
64e6fb7c | 66 | |
4b4f6542 | 67 | %description -l pl.UTF-8 |
9fa4a022 | 68 | AMANDA jest sieciowo zorientowanym systemem tworzenia kopii |
4b4f6542 JR |
69 | zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku |
70 | hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer. | |
71 | Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft | |
72 | Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera | |
73 | podstawowe pliki programu i powinien być zainstalowany zarówno na | |
74 | serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów | |
a895e21d | 75 | amanda-client i amanda-server! |
32595315 | 76 | |
e48f92a2 | 77 | %package libs |
78 | Summary: Amanda shared libraries | |
9720936a | 79 | Summary(pl.UTF-8): Biblioteki współdzielone pakietu amanda |
e48f92a2 | 80 | Group: Networking/Utilities |
0e3510b6 ER |
81 | Requires(postun): /usr/sbin/groupdel |
82 | Requires(postun): /usr/sbin/userdel | |
0da854c3 | 83 | Requires(pre): /bin/id |
e0651f2a | 84 | Requires(pre): /usr/bin/chsh |
934dc2b1 | 85 | Requires(pre): /usr/bin/getgid |
0da854c3 | 86 | Requires(pre): /usr/sbin/groupadd |
87 | Requires(pre): /usr/sbin/useradd | |
934dc2b1 | 88 | Provides: group(amanda) |
89 | Provides: user(amanda) | |
e48f92a2 | 90 | |
91 | %description libs | |
92 | Amanda shared libraries. | |
93 | ||
4b4f6542 JR |
94 | %description libs -l pl.UTF-8 |
95 | Biblioteki współdzielone pakietu amanda. | |
e48f92a2 | 96 | |
64e6fb7c | 97 | %package client |
83e7acbd | 98 | Summary: The client side of Amanda |
9720936a | 99 | Summary(pl.UTF-8): Klient Amandy |
83e7acbd | 100 | Group: Networking/Utilities |
0e3510b6 ER |
101 | Requires: %{name}-libs = %{version}-%{release} |
102 | Requires: rc-inetd | |
106e7764 JR |
103 | Suggests: openssh-clients |
104 | Suggests: openssh-server | |
105 | Suggests: tar | |
106 | Suggests: gzip | |
107 | Suggests: star | |
108 | Conflicts: tar < 1.15 | |
64e6fb7c | 109 | |
110 | %description client | |
a895e21d | 111 | The Amanda-client package should be installed on any machine that will |
112 | be backed up by AMANDA (including the server if it also needs to be | |
113 | backed up). You will also need to install the amanda package to each | |
ff131879 | 114 | AMANDA client. It requires at least one of dump and GNU tar installed. |
64e6fb7c | 115 | |
4b4f6542 JR |
116 | %description client -l pl.UTF-8 |
117 | Ten pakiet powinien być zainstalowany ma maszynach, z których | |
118 | zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co | |
119 | najmniej jednego z pakietów dump i GNU tar. | |
32595315 | 120 | |
64e6fb7c | 121 | %package server |
83e7acbd | 122 | Summary: The server side of Amanda |
9720936a | 123 | Summary(pl.UTF-8): Serwer Amandy |
83e7acbd | 124 | Group: Networking/Utilities |
0e3510b6 | 125 | Requires: %{name}-libs = %{version}-%{release} |
b083e9f8 | 126 | Requires: /etc/cron.d |
0e3510b6 ER |
127 | Requires: crondaemon |
128 | Requires: gnuplot | |
4af804ab JR |
129 | Requires: mt-st |
130 | Requires: mtx | |
0e3510b6 | 131 | Requires: rc-inetd |
106e7764 JR |
132 | Suggests: openssh-clients |
133 | Suggests: openssh-server | |
caae9f77 | 134 | Obsoletes: amanda |
64e6fb7c | 135 | |
136 | %description server | |
a895e21d | 137 | The amanda-server package should be installed on the AMANDA server, |
138 | the machine attached to the device (such as a tape drive) where | |
139 | backups will be written. You will also need to install the amanda | |
140 | package to the AMANDA server. And, if the server is also to be backed | |
141 | up, the server also needs to have the amanda-client package installed. | |
64e6fb7c | 142 | |
4b4f6542 JR |
143 | %description server -l pl.UTF-8 |
144 | Ten pakiet powinien być zainstalowany na maszynach, na których będą | |
145 | magazynowane kopie zapasowe (lub do których podpięte są urządzenia | |
a895e21d | 146 | typu streamer). |
32595315 | 147 | |
c8cba693 | 148 | %package perl |
5c0ffaf3 JR |
149 | Summary: Perl bindings for amanda |
150 | Summary(pl.UTF-8): Wiązania perla dla Amandy | |
c8cba693 JR |
151 | Group: Networking/Utilities |
152 | Requires: %{name}-libs = %{version}-%{release} | |
153 | ||
154 | %description perl | |
5c0ffaf3 | 155 | Perl bindings for amanda. |
c8cba693 JR |
156 | |
157 | %description perl -l pl.UTF-8 | |
5c0ffaf3 | 158 | Wiązania perla dla Amandy. |
c8cba693 JR |
159 | |
160 | %package perl-server | |
5c0ffaf3 JR |
161 | Summary: Perl bindings for amanda server |
162 | Summary(pl.UTF-8): Wiązania perla dla serwera Amandy | |
c8cba693 JR |
163 | Group: Networking/Utilities |
164 | Requires: %{name}-perl = %{version}-%{release} | |
165 | Requires: %{name}-server = %{version}-%{release} | |
166 | ||
167 | %description perl-server | |
5c0ffaf3 | 168 | Perl bindings for amanda server. |
c8cba693 JR |
169 | |
170 | %description perl-server -l pl.UTF-8 | |
5c0ffaf3 | 171 | Wiązania perla dla serwera Amandy. |
c8cba693 | 172 | |
64e6fb7c | 173 | %prep |
174 | %setup -q | |
7bb8ef98 | 175 | %patch0 -p1 |
176 | %patch1 -p1 | |
c8cba693 | 177 | %patch2 -p1 |
47d7a19a | 178 | %patch3 -p1 |
05b023d3 | 179 | %patch4 -p1 |
d4c615c9 JR |
180 | %patch5 -p1 |
181 | %patch6 -p1 | |
64e6fb7c | 182 | |
183 | %build | |
a4b3f4c7 | 184 | %{__libtoolize} |
c8cba693 | 185 | %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive |
5154d365 | 186 | %{__autoconf} |
5154d365 | 187 | %{__automake} |
b083e9f8 | 188 | %configure \ |
5c0ffaf3 | 189 | DUMP=/sbin/dump \ |
c01c2959 | 190 | GNUPLOT=/usr/bin/gnuplot \ |
5c0ffaf3 | 191 | GZIP=/bin/gzip \ |
67f09374 | 192 | MAILER=/bin/mail \ |
5c0ffaf3 JR |
193 | MT=/bin/mt \ |
194 | MTX=/usr/sbin/mtx \ | |
67f09374 | 195 | PRINT=/usr/bin/lpr \ |
67f09374 | 196 | RESTORE=/sbin/restore \ |
5c0ffaf3 | 197 | STAR=/usr/bin/star \ |
a9736a51 JR |
198 | %{?with_xfs:XFSDUMP=/sbin/xfsdump} \ |
199 | %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \ | |
fa26b3d0 | 200 | --disable-static \ |
8ae81366 | 201 | --enable-shared \ |
a9736a51 JR |
202 | %{!?with_server:--without-server} \ |
203 | %{!?with_client:--without-client} \ | |
64e6fb7c | 204 | --with-index-server=localhost \ |
fa26b3d0 | 205 | --with-user=amanda \ |
206 | --with-group=amanda \ | |
fa26b3d0 | 207 | --with-tape-device=/dev/null \ |
208 | --with-ftape-rawdevice=/dev/null \ | |
209 | --with-changer-device=/dev/null \ | |
210 | --with-fqdn \ | |
7ba1ec44 | 211 | %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \ |
fa26b3d0 | 212 | --with-bsd-security \ |
a9736a51 | 213 | --with-ssh-security \ |
b2b905b0 JR |
214 | --with-krb5-security \ |
215 | --without-krb4-security \ | |
fa26b3d0 | 216 | --with-buffered-dump \ |
83e7acbd | 217 | --with-amandahosts \ |
d4c615c9 | 218 | --with-configdir=%{_sysconfdir}/amanda \ |
c8cba693 JR |
219 | --with-gnutar-listdir=%{_sharedstatedir}/gnutar-lists \ |
220 | --with-amandates=%{_sharedstatedir}/amanda/amandates \ | |
221 | --with-debugging=%{_sharedstatedir}/amanda/debug \ | |
222 | --with-tmpdir=/var/tmp \ | |
223 | --with-amperldir=%{perl_vendorarch} \ | |
224 | --disable-installperms | |
fa26b3d0 | 225 | |
f8165eb1 | 226 | %{__make} |
64e6fb7c | 227 | |
228 | %install | |
229 | rm -rf $RPM_BUILD_ROOT | |
a895e21d | 230 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \ |
106e7764 | 231 | $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \ |
5c0ffaf3 | 232 | $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server} |
b083e9f8 | 233 | |
15ce42ff | 234 | %{__make} install \ |
c8cba693 | 235 | DESTDIR=$RPM_BUILD_ROOT |
fa26b3d0 | 236 | |
b083e9f8 | 237 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv |
4b4b52b8 JR |
238 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda |
239 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx | |
240 | sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape | |
b083e9f8 | 241 | |
c8cba693 | 242 | install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda |
5c0ffaf3 | 243 | install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda |
c8cba693 | 244 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts |
ff131879 | 245 | |
106e7764 JR |
246 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys |
247 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub} | |
248 | touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub} | |
249 | ||
c8cba693 JR |
250 | > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates |
251 | ||
252 | find $RPM_BUILD_ROOT -name \*.la | xargs rm -f | |
b083e9f8 | 253 | |
fa26b3d0 | 254 | %clean |
64e6fb7c | 255 | rm -rf $RPM_BUILD_ROOT |
256 | ||
e28e7d88 JR |
257 | %triggerpostun libs -- %{name}-libs < 2.5.1p2-1 |
258 | echo "Adding amanda to disk and backup groups" | |
a9736a51 | 259 | /usr/sbin/usermod -G disk,backup amanda |
e28e7d88 JR |
260 | echo "Setting amanda shell to /bin/sh" |
261 | /usr/bin/chsh -s /bin/sh amanda | |
c8cba693 JR |
262 | if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then |
263 | echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file" | |
264 | chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts | |
265 | chmod 600 %{_sharedstatedir}/amanda/.amandahosts | |
a148ef70 | 266 | fi |
611427b2 | 267 | |
0da854c3 | 268 | %pre libs |
edb8d306 | 269 | %groupadd -P %{name}-libs -g 80 amanda |
a9736a51 | 270 | %useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda |
0da854c3 | 271 | |
277a8aa8 | 272 | %postun libs |
0da854c3 | 273 | if [ "$1" = "0" ]; then |
934dc2b1 | 274 | %userremove amanda |
275 | %groupremove amanda | |
0da854c3 | 276 | fi |
277 | ||
b083e9f8 | 278 | %post client |
35efb826 | 279 | %service -q rc-inetd reload |
106e7764 JR |
280 | if [ -x /usr/bin/ssh-keygen -a ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then |
281 | HOST="`hostname`" | |
282 | if [ -z "$HOST" ] ; then | |
283 | COMMENT="root@client" | |
284 | else | |
285 | COMMENT="root@$HOST" | |
286 | fi | |
287 | /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || : | |
288 | chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || : | |
289 | chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || : | |
290 | fi | |
b083e9f8 | 291 | |
292 | %postun client | |
35efb826 ER |
293 | if [ "$1" = 0 ]; then |
294 | %service -q rc-inetd reload | |
47123b2c | 295 | fi |
b083e9f8 | 296 | |
297 | %post server | |
35efb826 | 298 | %service -q rc-inetd reload |
106e7764 JR |
299 | if [ -x /usr/bin/ssh-keygen -a ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then |
300 | HOST="`hostname`" | |
301 | if [ -z "$HOST" ] ; then | |
302 | COMMENT="amanda@server" | |
303 | else | |
304 | COMMENT="amanda@$HOST" | |
305 | fi | |
306 | /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || : | |
307 | chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || : | |
308 | chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || : | |
309 | fi | |
856a76de JB |
310 | if [ "$1" = "1" ]; then |
311 | echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2 | |
312 | fi | |
b083e9f8 | 313 | |
314 | %postun server | |
35efb826 ER |
315 | if [ "$1" = 0 ]; then |
316 | %service -q rc-inetd reload | |
47123b2c | 317 | fi |
64e6fb7c | 318 | |
e48f92a2 | 319 | %files libs |
83e7acbd | 320 | %defattr(644,root,root,755) |
c8cba693 JR |
321 | %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING |
322 | %attr(755,root,root) %{_libdir}/amanda/libamanda*.so | |
f85baaef | 323 | %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda |
c8cba693 | 324 | %dir %{_libdir}/amanda |
d4c615c9 | 325 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda |
106e7764 JR |
326 | %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh |
327 | %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg | |
d4c615c9 JR |
328 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug |
329 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad | |
c8cba693 | 330 | %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts |
106e7764 | 331 | %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys |
370a4eb3 | 332 | |
a9736a51 | 333 | %if %{with server} |
64e6fb7c | 334 | %files server |
b083e9f8 | 335 | %defattr(644,root,root,755) |
a7b1b223 | 336 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape |
337 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx | |
b083e9f8 | 338 | |
d4c615c9 | 339 | %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf |
b083e9f8 | 340 | |
106e7764 | 341 | %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys |
9f13c2f9 | 342 | %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump* |
106e7764 | 343 | |
d4c615c9 JR |
344 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example |
345 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates | |
346 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d | |
347 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server | |
348 | %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda* | |
349 | %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps | |
350 | %attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/* | |
b083e9f8 | 351 | |
a04af4fe | 352 | %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv |
b083e9f8 | 353 | |
c8cba693 JR |
354 | %dir %{_libdir}/amanda/application |
355 | %attr(755,root,root) %{_libdir}/amanda/application/amgtar | |
356 | %attr(644,root,root) %{_libdir}/amanda/application/generic-dumper | |
357 | ||
358 | %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so | |
359 | %attr(755,root,root) %{_libdir}/amanda/libamserver*.so | |
360 | %attr(755,root,root) %{_libdir}/amanda/libamtape*.so | |
361 | %attr(755,root,root) %{_libdir}/amanda/librestore*.so | |
362 | ||
5c0ffaf3 | 363 | %{_libdir}/amanda/amanda-sh-lib.sh |
c8cba693 JR |
364 | %attr(755,root,root) %{_libdir}/amanda/amcat.awk |
365 | %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk | |
366 | %attr(755,root,root) %{_libdir}/amanda/amidxtaped | |
367 | %attr(755,root,root) %{_libdir}/amanda/amindexd | |
368 | %attr(755,root,root) %{_libdir}/amanda/amlogroll | |
369 | %attr(755,root,root) %{_libdir}/amanda/amplot.awk | |
370 | %attr(755,root,root) %{_libdir}/amanda/amplot.g | |
371 | %attr(755,root,root) %{_libdir}/amanda/amplot.gp | |
372 | %attr(755,root,root) %{_libdir}/amanda/amtrmidx | |
373 | %attr(755,root,root) %{_libdir}/amanda/amtrmlog | |
374 | %attr(755,root,root) %{_libdir}/amanda/chg-chio | |
375 | %attr(755,root,root) %{_libdir}/amanda/chg-chs | |
376 | %attr(755,root,root) %{_libdir}/amanda/chg-disk | |
377 | %attr(755,root,root) %{_libdir}/amanda/chg-iomega | |
378 | %attr(755,root,root) %{_libdir}/amanda/chg-juke | |
379 | %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh | |
380 | %attr(755,root,root) %{_libdir}/amanda/chg-manual | |
381 | %attr(755,root,root) %{_libdir}/amanda/chg-mcutil | |
382 | %attr(755,root,root) %{_libdir}/amanda/chg-mtx | |
383 | %attr(755,root,root) %{_libdir}/amanda/chg-multi | |
384 | %attr(755,root,root) %{_libdir}/amanda/chg-null | |
385 | %attr(755,root,root) %{_libdir}/amanda/chg-rait | |
386 | %attr(755,root,root) %{_libdir}/amanda/chg-rth | |
387 | %attr(755,root,root) %{_libdir}/amanda/chg-scsi | |
388 | %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx | |
389 | %attr(755,root,root) %{_libdir}/amanda/chunker | |
390 | %attr(755,root,root) %{_libdir}/amanda/driver | |
391 | %attr(4750,root,amanda) %{_libdir}/amanda/dumper | |
5c0ffaf3 | 392 | %attr(755,root,root) %{_libdir}/amanda/patch-system |
c8cba693 JR |
393 | %attr(4750,root,amanda) %{_libdir}/amanda/planner |
394 | %attr(755,root,root) %{_libdir}/amanda/taper | |
5e5c6257 | 395 | |
5c0ffaf3 | 396 | %attr(755,root,root) %{_sbindir}/amaddclient |
b083e9f8 | 397 | %attr(755,root,root) %{_sbindir}/amadmin |
5e5c6257 | 398 | %attr(755,root,root) %{_sbindir}/amaespipe |
c8cba693 | 399 | %attr(4750,root,amanda) %{_sbindir}/amcheck |
b083e9f8 | 400 | %attr(755,root,root) %{_sbindir}/amcheckdb |
5c0ffaf3 | 401 | %attr(755,root,root) %{_sbindir}/amcheckdump |
b083e9f8 | 402 | %attr(755,root,root) %{_sbindir}/amcleanup |
5e5c6257 JR |
403 | %attr(755,root,root) %{_sbindir}/amcrypt* |
404 | %attr(755,root,root) %{_sbindir}/amdd | |
5c0ffaf3 | 405 | %attr(755,root,root) %{_sbindir}/amdevcheck |
b083e9f8 | 406 | %attr(755,root,root) %{_sbindir}/amdump |
5e5c6257 | 407 | %attr(755,root,root) %{_sbindir}/amfetchdump |
8ae81366 | 408 | %attr(755,root,root) %{_sbindir}/amflush |
409 | %attr(755,root,root) %{_sbindir}/amgetconf | |
5c0ffaf3 | 410 | %attr(755,root,root) %{_sbindir}/amgpgcrypt |
8ae81366 | 411 | %attr(755,root,root) %{_sbindir}/amlabel |
5e5c6257 | 412 | %attr(755,root,root) %{_sbindir}/ammt |
b083e9f8 | 413 | %attr(755,root,root) %{_sbindir}/amoverview |
8ae81366 | 414 | %attr(755,root,root) %{_sbindir}/amplot |
b083e9f8 | 415 | %attr(755,root,root) %{_sbindir}/amreport |
5e5c6257 | 416 | %attr(755,root,root) %{_sbindir}/amrestore |
eb87556b | 417 | %attr(755,root,root) %{_sbindir}/amrmtape |
5c0ffaf3 | 418 | %attr(755,root,root) %{_sbindir}/amserverconfig |
b083e9f8 | 419 | %attr(755,root,root) %{_sbindir}/amstatus |
8ae81366 | 420 | %attr(755,root,root) %{_sbindir}/amtape |
eb87556b | 421 | %attr(755,root,root) %{_sbindir}/amtapetype |
8ae81366 | 422 | %attr(755,root,root) %{_sbindir}/amtoc |
423 | %attr(755,root,root) %{_sbindir}/amverify | |
eb87556b | 424 | %attr(755,root,root) %{_sbindir}/amverifyrun |
5e5c6257 | 425 | %{_mandir}/man5/amanda.conf.5* |
5c0ffaf3 | 426 | %{_mandir}/man8/amaddclient.8* |
a72f9c08 | 427 | %{_mandir}/man8/amadmin.8* |
5e5c6257 | 428 | %{_mandir}/man8/amaespipe.8* |
a72f9c08 | 429 | %{_mandir}/man8/amanda.8* |
430 | %{_mandir}/man8/amcheck.8* | |
a188c172 | 431 | %{_mandir}/man8/amcheckdb.8* |
5c0ffaf3 | 432 | %{_mandir}/man8/amcheckdump.8* |
a72f9c08 | 433 | %{_mandir}/man8/amcleanup.8* |
5e5c6257 JR |
434 | %{_mandir}/man8/amcrypt*.8* |
435 | %{_mandir}/man8/amdd.8* | |
5c0ffaf3 | 436 | %{_mandir}/man8/amdevcheck.8* |
a72f9c08 | 437 | %{_mandir}/man8/amdump.8* |
5e5c6257 | 438 | %{_mandir}/man8/amfetchdump.8* |
a72f9c08 | 439 | %{_mandir}/man8/amflush.8* |
a188c172 | 440 | %{_mandir}/man8/amgetconf.8* |
5c0ffaf3 | 441 | %{_mandir}/man8/amgpgcrypt.8* |
a72f9c08 | 442 | %{_mandir}/man8/amlabel.8* |
5e5c6257 | 443 | %{_mandir}/man8/ammt.8* |
a188c172 | 444 | %{_mandir}/man8/amoverview.8* |
a72f9c08 | 445 | %{_mandir}/man8/amplot.8* |
446 | %{_mandir}/man8/amreport.8* | |
5e5c6257 | 447 | %{_mandir}/man8/amrestore.8* |
a188c172 | 448 | %{_mandir}/man8/amrmtape.8* |
5c0ffaf3 | 449 | %{_mandir}/man8/amserverconfig.8* |
a72f9c08 | 450 | %{_mandir}/man8/amstatus.8* |
a188c172 | 451 | %{_mandir}/man8/amtape.8* |
eb87556b | 452 | %{_mandir}/man8/amtapetype.8* |
a188c172 JB |
453 | %{_mandir}/man8/amtoc.8* |
454 | %{_mandir}/man8/amverify.8* | |
eb87556b | 455 | %{_mandir}/man8/amverifyrun.8* |
a9736a51 | 456 | %endif |
64e6fb7c | 457 | |
a9736a51 | 458 | %if %{with client} |
64e6fb7c | 459 | %files client |
b083e9f8 | 460 | %defattr(644,root,root,755) |
a7b1b223 | 461 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda |
5c0ffaf3 | 462 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf |
9f13c2f9 | 463 | %attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover* |
d4c615c9 | 464 | %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates |
c8cba693 JR |
465 | %attr(755,root,root) %{_libdir}/amanda/libamclient*.so |
466 | %attr(755,root,root) %{_libdir}/amanda/amandad | |
467 | %attr(755,root,root) %{_libdir}/amanda/noop | |
c8cba693 JR |
468 | %attr(755,root,root) %{_libdir}/amanda/sendbackup |
469 | %attr(755,root,root) %{_libdir}/amanda/sendsize | |
470 | %attr(755,root,root) %{_libdir}/amanda/versionsuffix | |
471 | %attr(4750,root,amanda) %{_libdir}/amanda/calcsize | |
472 | %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp | |
473 | %attr(4750,root,amanda) %{_libdir}/amanda/rundump | |
474 | %attr(4750,root,amanda) %{_libdir}/amanda/runtar | |
475 | %attr(755,root,root) %{_libdir}/amanda/selfcheck | |
5e5c6257 | 476 | %attr(755,root,root) %{_sbindir}/amoldrecover |
b083e9f8 | 477 | %attr(755,root,root) %{_sbindir}/amrecover |
d4c615c9 JR |
478 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists |
479 | %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client | |
5e5c6257 | 480 | %{_mandir}/man5/amanda-client.conf.5* |
a72f9c08 | 481 | %{_mandir}/man8/amrecover.8* |
a9736a51 | 482 | %endif |
c8cba693 JR |
483 | |
484 | %files perl | |
485 | %defattr(644,root,root,755) | |
486 | %attr(755,root,root) %{_libdir}/amanda/libamglue*.so | |
487 | %dir %{perl_vendorarch}/Amanda | |
488 | %{perl_vendorarch}/Amanda/Config.pm | |
489 | %{perl_vendorarch}/Amanda/Debug.pm | |
490 | %{perl_vendorarch}/Amanda/Paths.pm | |
491 | %{perl_vendorarch}/Amanda/Types.pm | |
492 | %{perl_vendorarch}/Amanda/Util.pm | |
493 | %dir %{perl_vendorarch}/auto/Amanda | |
494 | %dir %{perl_vendorarch}/auto/Amanda/Config | |
495 | %dir %{perl_vendorarch}/auto/Amanda/Debug | |
496 | %dir %{perl_vendorarch}/auto/Amanda/Types | |
497 | %dir %{perl_vendorarch}/auto/Amanda/Util | |
498 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so | |
499 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so | |
500 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so | |
501 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so | |
502 | ||
503 | %files perl-server | |
504 | %defattr(644,root,root,755) | |
505 | %{perl_vendorarch}/Amanda/Changer.pm | |
506 | %{perl_vendorarch}/Amanda/Cmdline.pm | |
507 | %{perl_vendorarch}/Amanda/Device.pm | |
508 | %{perl_vendorarch}/Amanda/Logfile.pm | |
509 | %{perl_vendorarch}/Amanda/Tapefile.pm | |
510 | %dir %{perl_vendorarch}/auto/Amanda/Cmdline | |
511 | %dir %{perl_vendorarch}/auto/Amanda/Device | |
512 | %dir %{perl_vendorarch}/auto/Amanda/Logfile | |
513 | %dir %{perl_vendorarch}/auto/Amanda/Tapefile | |
514 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so | |
515 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so | |
516 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so | |
517 | %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so |