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