%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 --enable-largefile
+%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
License: BSD
Group: Applications/Archiving
Source: http://download.sourceforge.net/dump/dump-%{version}.tar.gz
Requires: rmt
-BuildRequires: e2fsprogs-devel
+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}
%{_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.