1 Summary: A network-capable tape backup solution
5 Source: ftp://ftp.amanda.org/pub/amanda/%{name}-%{version}.tar.gz
6 Copyright: distributable
7 Group: Networking/Utilities
8 Group(pl): Sieciowe/Narzêdzia
9 URL: http://www.amanda.org/
10 BuildRoot: /tmp/%{name}-%{version}-root
13 A network-capable tape backup solution.
16 Summary: The client side of Amanda
17 Group: Networking/Utilities
18 Group(pl): Sieciowe/Narzêdzia
21 This package should be installed on machines that are to be backed
22 up by Amanda. (Including, the server if it should be backed up.)
25 Summary: The server side of Amanda
26 Group: Networking/Utilities
27 Group(pl): Sieciowe/Narzêdzia
31 This package should be installed on the machine that has the device
32 (such as a tape drive) where backups will be written.
38 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
39 ./configure %{_target_platform} \
43 --localstatedir=/var \
45 --with-index-server=localhost \
48 --with-samba-user=amanda \
49 --with-tape-device=/dev/null \
50 --with-ftape-rawdevice=/dev/null \
51 --with-changer-device=/dev/null \
53 --with-smbclient=%{_bindir}/smbclient \
55 --with-buffered-dump \
57 --with-debugging=/var/amanda/debug
62 rm -rf $RPM_BUILD_ROOT
64 prefix=$RPM_BUILD_ROOT/usr \
65 mandir=$RPM_BUILD_ROOT%{_mandir} \
66 sysconfdir=$RPM_BUILD_ROOT/etc \
67 libexecdir=$RPM_BUILD_ROOT%{_sbindir} \
70 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77 %post client -p /sbin/ldconfig
78 %postun client -p /sbin/ldconfig
79 %post server -p /sbin/ldconfig
80 %postun server -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %{_sbindir}/amidxtaped
87 %attr(755,root,root) %{_sbindir}/amrestore
88 %{_mandir}/man8/amrestore.8*
91 %{_libdir}/libamserver*
101 %{_sbindir}/chg-manual
102 %{_sbindir}/chg-multi
106 #%{_sbindir}/amcat.awk
107 #%{_sbindir}/amplot.awk
108 #%{_sbindir}/amplot.g
109 #%{_sbindir}/amplot.gp
115 %{_sbindir}/amcheckdb
116 %{_sbindir}/amcleanup
118 %{_sbindir}/amoverview
125 %{_mandir}/man8/amadmin.8*
126 %{_mandir}/man8/amrmtape.8*
127 %{_mandir}/man8/amtape.8*
128 %{_mandir}/man8/amtoc.8*
129 %{_mandir}/man8/amanda.8*
130 %{_mandir}/man8/amcheck.8*
131 %{_mandir}/man8/amcleanup.8*
132 %{_mandir}/man8/amdump.8*
133 %{_mandir}/man8/amflush.8*
134 %{_mandir}/man8/amlabel.8*
135 %{_mandir}/man8/amplot.8*
136 %{_mandir}/man8/amreport.8*
137 %{_mandir}/man8/amstatus.8*
140 %{_libdir}/libamclient*
141 %{_sbindir}/versionsuffix
146 %{_sbindir}/selfcheck
147 %{_sbindir}/sendbackup
149 %{_sbindir}/patch-system
151 %{_sbindir}/amrecover
152 %{_mandir}/man8/amrecover.8*