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