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