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