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