]> git.pld-linux.org Git - packages/amanda.git/blobdiff - amanda.spec
- adapterized (sorted %verify attrs)
[packages/amanda.git] / amanda.spec
index 10180bb1d13e270dc859949699683d26a4e2e6d1..ec23d6fefd70c0bcaf96934e4c7749d5b3e38c9f 100644 (file)
@@ -6,7 +6,7 @@ Summary:        A network-capable tape backup solution
 Summary(pl):   Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:          amanda
 Version:       2.4.5
-Release:       2
+Release:       3
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -63,13 +63,13 @@ amanda-client i amanda-server!
 Summary:       Amanda shared libraries
 Summary(pl):   Biblioteki wspó³dzielone pakietu amanda
 Group:         Networking/Utilities
+Requires(postun):      /sbin/ldconfig
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
 Requires(pre): /bin/id
 Requires(pre): /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
-Requires(postun):      /usr/sbin/groupdel
-Requires(postun):      /usr/sbin/userdel
-Requires(postun):      /sbin/ldconfig
 Provides:      group(amanda)
 Provides:      user(amanda)
 
@@ -83,9 +83,9 @@ Biblioteki wsp
 Summary:       The client side of Amanda
 Summary(pl):   Klient Amandy
 Group:         Networking/Utilities
-PreReq:                %{name}-libs = %{version}-%{release}
-PreReq:                rc-inetd
 Requires(post,postun): /sbin/ldconfig
+Requires:      %{name}-libs = %{version}-%{release}
+Requires:      rc-inetd
 Conflicts:     tar < 1.13
 
 %description client
@@ -103,14 +103,14 @@ najmniej jednego z pakiet
 Summary:       The server side of Amanda
 Summary(pl):   Serwer Amandy
 Group:         Networking/Utilities
-PreReq:                %{name}-libs = %{version}-%{release}
-PreReq:                rc-inetd
 Requires(post,postun): /sbin/ldconfig
-Requires:      gnuplot
-Requires:      crondaemon
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      /etc/cron.d
+Requires:      crondaemon
+Requires:      gnuplot
 Requires:      mt-st
 Requires:      mtx
+Requires:      rc-inetd
 Obsoletes:     amanda
 
 %description server
@@ -173,9 +173,9 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
        SETUID_GROUP=`id -g`
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
+sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
+sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
+sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
 
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/amanda
This page took 0.059737 seconds and 4 git commands to generate.