%define _sbindir /sbin
# XXX --enable-kerberos needs krcmd
-%define myoptions --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --with-dumpdates="%{_sysconfdir}/dumpdates" --enable-readline
+%define myoptions --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --with-dumpdates="%{_sysconfdir}/dumpdates" --enable-readline --enable-largefile --enable-qfa
-Summary: Programs for backing up and restoring filesystems.
+Summary: Programs for backing up and restoring ext2/ext3 filesystems.
Name: dump
-Version: 0.4b21
+Version: 0.4b23
Release: 1
-Copyright: UCB
+License: BSD
Group: Applications/Archiving
-Source: http://sourceforge.net/download.php/dump/dump-%{version}.tar.gz
+Source: http://download.sourceforge.net/dump/dump-%{version}.tar.gz
Requires: rmt
+BuildPrereq: e2fsprogs-devel, libtermcap-devel, readline-devel
BuildRoot: %{_tmppath}/%{name}-root
%description
%build
%configure %{myoptions} --enable-static
-make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+%ifarch alpha
+RPM_OPT_FLAGS=""
+%endif
+make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wno-char-subscripts"
mv dump/dump dump/dump.static
mv restore/restore restore/restore.static
%configure %{myoptions} --enable-rmt
-make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wno-char-subscripts"
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_mandir}/man8
-%makeinstall BINDIR=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}/man8 BINOWNER=$(id -un) BINGRP=$(id -gn) MANOWNER=$(id -un) MANGRP=$(id -gn)
+%makeinstall SBINDIR=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir}/man8 BINOWNER=$(id -un) BINGRP=$(id -gn) MANOWNER=$(id -un) MANGRP=$(id -gn)
cp dump/dump.static %{buildroot}%{_sbindir}
cp restore/restore.static %{buildroot}%{_sbindir}
%{_sbindir}/rrestore.static
%changelog
+* Fri Jul 20 2001 Stelian Pop <pop@noos.fr>
+- dump 0.4b23 released, first packaging.
+
+* Sat May 12 2001 Stelian Pop <pop@noos.fr>
+- dump 0.4b22 released, first packaging.
+
* Sat Jan 30 2001 Stelian Pop <pop@noos.fr>
- dump 0.4b21 released, first packaging.