]> git.pld-linux.org Git - packages/dump.git/commitdiff
- updated to 0.4b17, dump-0_4b17-1
authorkloczek <kloczek@pld-linux.org>
Sat, 3 Jun 2000 08:37:24 +0000 (08:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- enable readline support in restore,
- added autoconf patch with simplifications autoconf suild (now DESTDIR
  style install is possible) - this patch can be extended.

Changed files:
    dump.spec -> 1.20

dump.spec

index 7f7654ac99e8f1033a6d26b2efb13bc1e77b6b25..41a7a767b4e2db6db33d98c4677c0e6834d240ce 100644 (file)
--- a/dump.spec
+++ b/dump.spec
@@ -4,15 +4,17 @@ Summary(fr):  syst
 Summary(pl):   Programy do wykonywania kopii bezpieczeñstwa plików
 Summary(tr):   dump/restore yedekleme sistemi
 Name:          dump
-Version:       0.4b16
+Version:       0.4b17
 Release:       1
 Copyright:     UCB
 Group:         Utilities/System
 Group(pl):     Narzêdzia/System
 Source0:       http://download.sourceforge.net/dump/dump-%{version}.tar.gz
 Patch0:                dump-sparc.patch
+Patch1:                dump-autoconf.patch
 URL:           http://dump.sourceforge.net/
 BuildRequires: e2fsprogs-devel
+BuildRequires: readline-devel
 Requires:      rmt
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -79,12 +81,14 @@ ayg
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 MYNAME=`id -ru` \
 MYGRP=`id -rg` \
 %configure \
        --enable-rmt \
+       --enable-readline \
        --with-ccopts="$RPM_OPT_FLAGS" \
        --with-ldopts="-s" \
        --with-binowner=$MYNAME \
@@ -99,18 +103,11 @@ make
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{etc,sbin,%{_mandir}/man8}
 
-make BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}/man8 install
+make install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 > $RPM_BUILD_ROOT%{_sysconfdir}/dumpdates
 
-ln -sf dump $RPM_BUILD_ROOT/sbin/rdump
-ln -sf restore $RPM_BUILD_ROOT/sbin/rrestore
-
-rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{rdump,rrestore}.8
-
-echo ".so dump.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rdump.8
-echo ".so restore.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rrestore.8
-
 ln -sf ../sbin/rmt $RPM_BUILD_ROOT%{_sysconfdir}/rmt
 
 gzip -9nf COPYRIGHT KNOWNBUGS README THANKS TODO CHANGES \
@@ -127,13 +124,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /sbin/rdump
 %attr(6755,root,root) /sbin/restore
 %attr(755,root,root) /sbin/rrestore
-%{_mandir}/man8/dump.8.gz
-%{_mandir}/man8/rdump.8.gz
-%{_mandir}/man8/restore.8.gz
-%{_mandir}/man8/rrestore.8.gz
+%{_mandir}/man8/dump.8*
+%{_mandir}/man8/rdump.8*
+%{_mandir}/man8/restore.8*
+%{_mandir}/man8/rrestore.8*
 
 %files -n rmt
 %defattr(644,root,root,755)
 %attr(755,root,root) /sbin/rmt
 %attr(755,root,root) %{_sysconfdir}/rmt
-%{_mandir}/man8/rmt.8.gz
+%{_mandir}/man8/rmt.8*
This page took 0.096455 seconds and 4 git commands to generate.