]> git.pld-linux.org Git - packages/amanda.git/blame - amanda.spec
- perm cleanup
[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
c8cba693 31BuildRequires: curl-devel
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
43BuildRequires: perl-devel
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
491e8ea2 103Conflicts: tar < 1.13
64e6fb7c 104
105%description client
a895e21d 106The Amanda-client package should be installed on any machine that will
107be backed up by AMANDA (including the server if it also needs to be
108backed up). You will also need to install the amanda package to each
ff131879 109AMANDA client. It requires at least one of dump and GNU tar installed.
64e6fb7c 110
4b4f6542
JR
111%description client -l pl.UTF-8
112Ten pakiet powinien być zainstalowany ma maszynach, z których
113zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
114najmniej jednego z pakietów dump i GNU tar.
32595315 115
64e6fb7c 116%package server
83e7acbd 117Summary: The server side of Amanda
9720936a 118Summary(pl.UTF-8): Serwer Amandy
83e7acbd 119Group: Networking/Utilities
0e3510b6 120Requires: %{name}-libs = %{version}-%{release}
b083e9f8 121Requires: /etc/cron.d
0e3510b6
ER
122Requires: crondaemon
123Requires: gnuplot
4af804ab
JR
124Requires: mt-st
125Requires: mtx
0e3510b6 126Requires: rc-inetd
5c0ffaf3
JR
127Requires: tar
128Requires: gzip
129#Suggests: star
caae9f77 130Obsoletes: amanda
64e6fb7c 131
132%description server
a895e21d 133The amanda-server package should be installed on the AMANDA server,
134the machine attached to the device (such as a tape drive) where
135backups will be written. You will also need to install the amanda
136package to the AMANDA server. And, if the server is also to be backed
137up, the server also needs to have the amanda-client package installed.
64e6fb7c 138
4b4f6542
JR
139%description server -l pl.UTF-8
140Ten pakiet powinien być zainstalowany na maszynach, na których będą
141magazynowane kopie zapasowe (lub do których podpięte są urządzenia
a895e21d 142typu streamer).
32595315 143
c8cba693 144%package perl
5c0ffaf3
JR
145Summary: Perl bindings for amanda
146Summary(pl.UTF-8): Wiązania perla dla Amandy
c8cba693
JR
147Group: Networking/Utilities
148Requires: %{name}-libs = %{version}-%{release}
149
150%description perl
5c0ffaf3 151Perl bindings for amanda.
c8cba693
JR
152
153%description perl -l pl.UTF-8
5c0ffaf3 154Wiązania perla dla Amandy.
c8cba693
JR
155
156%package perl-server
5c0ffaf3
JR
157Summary: Perl bindings for amanda server
158Summary(pl.UTF-8): Wiązania perla dla serwera Amandy
c8cba693
JR
159Group: Networking/Utilities
160Requires: %{name}-perl = %{version}-%{release}
161Requires: %{name}-server = %{version}-%{release}
162
163%description perl-server
5c0ffaf3 164Perl bindings for amanda server.
c8cba693
JR
165
166%description perl-server -l pl.UTF-8
5c0ffaf3 167Wiązania perla dla serwera Amandy.
c8cba693 168
64e6fb7c 169%prep
170%setup -q
7bb8ef98 171%patch0 -p1
172%patch1 -p1
c8cba693 173%patch2 -p1
47d7a19a 174%patch3 -p1
05b023d3 175%patch4 -p1
d4c615c9
JR
176%patch5 -p1
177%patch6 -p1
64e6fb7c 178
179%build
a4b3f4c7 180%{__libtoolize}
c8cba693 181%{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
5154d365 182%{__autoconf}
5154d365 183%{__automake}
b083e9f8 184%configure \
5c0ffaf3 185 DUMP=/sbin/dump \
c01c2959 186 GNUPLOT=/usr/bin/gnuplot \
5c0ffaf3 187 GZIP=/bin/gzip \
67f09374 188 MAILER=/bin/mail \
5c0ffaf3
JR
189 MT=/bin/mt \
190 MTX=/usr/sbin/mtx \
67f09374 191 PRINT=/usr/bin/lpr \
67f09374 192 RESTORE=/sbin/restore \
5c0ffaf3 193 STAR=/usr/bin/star \
a9736a51
JR
194 %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
195 %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
fa26b3d0 196 --disable-static \
8ae81366 197 --enable-shared \
a9736a51
JR
198 %{!?with_server:--without-server} \
199 %{!?with_client:--without-client} \
64e6fb7c 200 --with-index-server=localhost \
fa26b3d0 201 --with-user=amanda \
202 --with-group=amanda \
fa26b3d0 203 --with-tape-device=/dev/null \
204 --with-ftape-rawdevice=/dev/null \
205 --with-changer-device=/dev/null \
206 --with-fqdn \
7ba1ec44 207 %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
fa26b3d0 208 --with-bsd-security \
a9736a51 209 --with-ssh-security \
b2b905b0
JR
210 --with-krb5-security \
211 --without-krb4-security \
fa26b3d0 212 --with-buffered-dump \
83e7acbd 213 --with-amandahosts \
d4c615c9 214 --with-configdir=%{_sysconfdir}/amanda \
c8cba693
JR
215 --with-gnutar-listdir=%{_sharedstatedir}/gnutar-lists \
216 --with-amandates=%{_sharedstatedir}/amanda/amandates \
217 --with-debugging=%{_sharedstatedir}/amanda/debug \
218 --with-tmpdir=/var/tmp \
219 --with-amperldir=%{perl_vendorarch} \
220 --disable-installperms
fa26b3d0 221
f8165eb1 222%{__make}
64e6fb7c 223
224%install
225rm -rf $RPM_BUILD_ROOT
a895e21d 226install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
5c0ffaf3
JR
227 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/gnutar-lists \
228 $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
b083e9f8 229
15ce42ff 230%{__make} install \
c8cba693 231 DESTDIR=$RPM_BUILD_ROOT
fa26b3d0 232
b083e9f8 233install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
4b4b52b8
JR
234sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
235sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
236sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
b083e9f8 237
c8cba693 238install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
5c0ffaf3 239install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
c8cba693 240touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
ff131879 241
c8cba693
JR
242> $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
243
244find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
b083e9f8 245
fa26b3d0 246%clean
64e6fb7c 247rm -rf $RPM_BUILD_ROOT
248
e28e7d88
JR
249%triggerpostun libs -- %{name}-libs < 2.5.1p2-1
250echo "Adding amanda to disk and backup groups"
a9736a51 251/usr/sbin/usermod -G disk,backup amanda
e28e7d88
JR
252echo "Setting amanda shell to /bin/sh"
253/usr/bin/chsh -s /bin/sh amanda
c8cba693
JR
254if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
255 echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
256 chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
257 chmod 600 %{_sharedstatedir}/amanda/.amandahosts
a148ef70 258fi
611427b2 259
0da854c3 260%pre libs
edb8d306 261%groupadd -P %{name}-libs -g 80 amanda
a9736a51 262%useradd -P %{name}-libs -u 80 -G disk,backup -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
0da854c3 263
277a8aa8 264%postun libs
0da854c3 265if [ "$1" = "0" ]; then
934dc2b1 266 %userremove amanda
267 %groupremove amanda
0da854c3 268fi
269
b083e9f8 270%post client
35efb826 271%service -q rc-inetd reload
b083e9f8 272
273%postun client
35efb826
ER
274if [ "$1" = 0 ]; then
275 %service -q rc-inetd reload
47123b2c 276fi
b083e9f8 277
278%post server
35efb826 279%service -q rc-inetd reload
856a76de
JB
280if [ "$1" = "1" ]; then
281 echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
282fi
b083e9f8 283
284%postun server
35efb826
ER
285if [ "$1" = 0 ]; then
286 %service -q rc-inetd reload
47123b2c 287fi
64e6fb7c 288
e48f92a2 289%files libs
83e7acbd 290%defattr(644,root,root,755)
c8cba693
JR
291%doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
292%attr(755,root,root) %{_libdir}/amanda/libamanda*.so
293%dir %{_libdir}/amanda
d4c615c9
JR
294%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
295%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
296%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
c8cba693 297%attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
370a4eb3 298
a9736a51 299%if %{with server}
64e6fb7c 300%files server
b083e9f8 301%defattr(644,root,root,755)
a7b1b223 302%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
303%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
b083e9f8 304
d4c615c9
JR
305%attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
306%config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
b083e9f8 307
d4c615c9
JR
308%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
309%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
310%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
311%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
312%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
313%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
314%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
b083e9f8 315
a04af4fe 316%config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
b083e9f8 317
c8cba693
JR
318%dir %{_libdir}/amanda/application
319%attr(755,root,root) %{_libdir}/amanda/application/amgtar
320%attr(644,root,root) %{_libdir}/amanda/application/generic-dumper
321
322%attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
323%attr(755,root,root) %{_libdir}/amanda/libamserver*.so
324%attr(755,root,root) %{_libdir}/amanda/libamtape*.so
325%attr(755,root,root) %{_libdir}/amanda/librestore*.so
326
5c0ffaf3 327%{_libdir}/amanda/amanda-sh-lib.sh
c8cba693
JR
328%attr(755,root,root) %{_libdir}/amanda/amcat.awk
329%attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
330%attr(755,root,root) %{_libdir}/amanda/amidxtaped
331%attr(755,root,root) %{_libdir}/amanda/amindexd
332%attr(755,root,root) %{_libdir}/amanda/amlogroll
333%attr(755,root,root) %{_libdir}/amanda/amplot.awk
334%attr(755,root,root) %{_libdir}/amanda/amplot.g
335%attr(755,root,root) %{_libdir}/amanda/amplot.gp
336%attr(755,root,root) %{_libdir}/amanda/amtrmidx
337%attr(755,root,root) %{_libdir}/amanda/amtrmlog
338%attr(755,root,root) %{_libdir}/amanda/chg-chio
339%attr(755,root,root) %{_libdir}/amanda/chg-chs
340%attr(755,root,root) %{_libdir}/amanda/chg-disk
341%attr(755,root,root) %{_libdir}/amanda/chg-iomega
342%attr(755,root,root) %{_libdir}/amanda/chg-juke
343%attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
344%attr(755,root,root) %{_libdir}/amanda/chg-manual
345%attr(755,root,root) %{_libdir}/amanda/chg-mcutil
346%attr(755,root,root) %{_libdir}/amanda/chg-mtx
347%attr(755,root,root) %{_libdir}/amanda/chg-multi
348%attr(755,root,root) %{_libdir}/amanda/chg-null
349%attr(755,root,root) %{_libdir}/amanda/chg-rait
350%attr(755,root,root) %{_libdir}/amanda/chg-rth
351%attr(755,root,root) %{_libdir}/amanda/chg-scsi
352%attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
353%attr(755,root,root) %{_libdir}/amanda/chunker
354%attr(755,root,root) %{_libdir}/amanda/driver
355%attr(4750,root,amanda) %{_libdir}/amanda/dumper
5c0ffaf3 356%attr(755,root,root) %{_libdir}/amanda/patch-system
c8cba693
JR
357%attr(4750,root,amanda) %{_libdir}/amanda/planner
358%attr(755,root,root) %{_libdir}/amanda/taper
5e5c6257 359
5c0ffaf3 360%attr(755,root,root) %{_sbindir}/amaddclient
b083e9f8 361%attr(755,root,root) %{_sbindir}/amadmin
5e5c6257 362%attr(755,root,root) %{_sbindir}/amaespipe
c8cba693 363%attr(4750,root,amanda) %{_sbindir}/amcheck
b083e9f8 364%attr(755,root,root) %{_sbindir}/amcheckdb
5c0ffaf3 365%attr(755,root,root) %{_sbindir}/amcheckdump
b083e9f8 366%attr(755,root,root) %{_sbindir}/amcleanup
5e5c6257
JR
367%attr(755,root,root) %{_sbindir}/amcrypt*
368%attr(755,root,root) %{_sbindir}/amdd
5c0ffaf3 369%attr(755,root,root) %{_sbindir}/amdevcheck
b083e9f8 370%attr(755,root,root) %{_sbindir}/amdump
5e5c6257 371%attr(755,root,root) %{_sbindir}/amfetchdump
8ae81366 372%attr(755,root,root) %{_sbindir}/amflush
373%attr(755,root,root) %{_sbindir}/amgetconf
5c0ffaf3 374%attr(755,root,root) %{_sbindir}/amgpgcrypt
8ae81366 375%attr(755,root,root) %{_sbindir}/amlabel
5e5c6257 376%attr(755,root,root) %{_sbindir}/ammt
b083e9f8 377%attr(755,root,root) %{_sbindir}/amoverview
8ae81366 378%attr(755,root,root) %{_sbindir}/amplot
b083e9f8 379%attr(755,root,root) %{_sbindir}/amreport
5e5c6257 380%attr(755,root,root) %{_sbindir}/amrestore
eb87556b 381%attr(755,root,root) %{_sbindir}/amrmtape
5c0ffaf3 382%attr(755,root,root) %{_sbindir}/amserverconfig
b083e9f8 383%attr(755,root,root) %{_sbindir}/amstatus
8ae81366 384%attr(755,root,root) %{_sbindir}/amtape
eb87556b 385%attr(755,root,root) %{_sbindir}/amtapetype
8ae81366 386%attr(755,root,root) %{_sbindir}/amtoc
387%attr(755,root,root) %{_sbindir}/amverify
eb87556b 388%attr(755,root,root) %{_sbindir}/amverifyrun
5e5c6257 389%{_mandir}/man5/amanda.conf.5*
5c0ffaf3 390%{_mandir}/man8/amaddclient.8*
a72f9c08 391%{_mandir}/man8/amadmin.8*
5e5c6257 392%{_mandir}/man8/amaespipe.8*
a72f9c08 393%{_mandir}/man8/amanda.8*
394%{_mandir}/man8/amcheck.8*
a188c172 395%{_mandir}/man8/amcheckdb.8*
5c0ffaf3 396%{_mandir}/man8/amcheckdump.8*
a72f9c08 397%{_mandir}/man8/amcleanup.8*
5e5c6257
JR
398%{_mandir}/man8/amcrypt*.8*
399%{_mandir}/man8/amdd.8*
5c0ffaf3 400%{_mandir}/man8/amdevcheck.8*
a72f9c08 401%{_mandir}/man8/amdump.8*
5e5c6257 402%{_mandir}/man8/amfetchdump.8*
a72f9c08 403%{_mandir}/man8/amflush.8*
a188c172 404%{_mandir}/man8/amgetconf.8*
5c0ffaf3 405%{_mandir}/man8/amgpgcrypt.8*
a72f9c08 406%{_mandir}/man8/amlabel.8*
5e5c6257 407%{_mandir}/man8/ammt.8*
a188c172 408%{_mandir}/man8/amoverview.8*
a72f9c08 409%{_mandir}/man8/amplot.8*
410%{_mandir}/man8/amreport.8*
5e5c6257 411%{_mandir}/man8/amrestore.8*
a188c172 412%{_mandir}/man8/amrmtape.8*
5c0ffaf3 413%{_mandir}/man8/amserverconfig.8*
a72f9c08 414%{_mandir}/man8/amstatus.8*
a188c172 415%{_mandir}/man8/amtape.8*
eb87556b 416%{_mandir}/man8/amtapetype.8*
a188c172
JB
417%{_mandir}/man8/amtoc.8*
418%{_mandir}/man8/amverify.8*
eb87556b 419%{_mandir}/man8/amverifyrun.8*
a9736a51 420%endif
64e6fb7c 421
a9736a51 422%if %{with client}
64e6fb7c 423%files client
b083e9f8 424%defattr(644,root,root,755)
a7b1b223 425%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
5c0ffaf3 426%config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
d4c615c9 427%attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
c8cba693
JR
428%attr(755,root,root) %{_libdir}/amanda/libamclient*.so
429%attr(755,root,root) %{_libdir}/amanda/amandad
430%attr(755,root,root) %{_libdir}/amanda/noop
c8cba693
JR
431%attr(755,root,root) %{_libdir}/amanda/sendbackup
432%attr(755,root,root) %{_libdir}/amanda/sendsize
433%attr(755,root,root) %{_libdir}/amanda/versionsuffix
434%attr(4750,root,amanda) %{_libdir}/amanda/calcsize
435%attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
436%attr(4750,root,amanda) %{_libdir}/amanda/rundump
437%attr(4750,root,amanda) %{_libdir}/amanda/runtar
438%attr(755,root,root) %{_libdir}/amanda/selfcheck
5e5c6257 439%attr(755,root,root) %{_sbindir}/amoldrecover
b083e9f8 440%attr(755,root,root) %{_sbindir}/amrecover
d4c615c9
JR
441%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
442%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
5e5c6257 443%{_mandir}/man5/amanda-client.conf.5*
a72f9c08 444%{_mandir}/man8/amrecover.8*
a9736a51 445%endif
c8cba693
JR
446
447%files perl
448%defattr(644,root,root,755)
449%attr(755,root,root) %{_libdir}/amanda/libamglue*.so
450%dir %{perl_vendorarch}/Amanda
451%{perl_vendorarch}/Amanda/Config.pm
452%{perl_vendorarch}/Amanda/Debug.pm
453%{perl_vendorarch}/Amanda/Paths.pm
454%{perl_vendorarch}/Amanda/Types.pm
455%{perl_vendorarch}/Amanda/Util.pm
456%dir %{perl_vendorarch}/auto/Amanda
457%dir %{perl_vendorarch}/auto/Amanda/Config
458%dir %{perl_vendorarch}/auto/Amanda/Debug
459%dir %{perl_vendorarch}/auto/Amanda/Types
460%dir %{perl_vendorarch}/auto/Amanda/Util
461%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
462%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
463%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
464%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
465
466%files perl-server
467%defattr(644,root,root,755)
468%{perl_vendorarch}/Amanda/Changer.pm
469%{perl_vendorarch}/Amanda/Cmdline.pm
470%{perl_vendorarch}/Amanda/Device.pm
471%{perl_vendorarch}/Amanda/Logfile.pm
472%{perl_vendorarch}/Amanda/Tapefile.pm
473%dir %{perl_vendorarch}/auto/Amanda/Cmdline
474%dir %{perl_vendorarch}/auto/Amanda/Device
475%dir %{perl_vendorarch}/auto/Amanda/Logfile
476%dir %{perl_vendorarch}/auto/Amanda/Tapefile
477%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
478%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
479%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
480%attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapefile/*.so
This page took 0.132846 seconds and 4 git commands to generate.