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