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