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