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