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