|
@@ -1,25 +1,23 @@
|
|
|
%define _sbindir /sbin
|
|
|
# XXX --enable-kerberos needs krcmd
|
|
|
-%define myoptions --enable-largefile --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --with-dumpdates="%{_sysconfdir}/dumpdates" --enable-readline
|
|
|
+%define myoptions --enable-largefile --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-readline
|
|
|
|
|
|
-Summary: Programs for backing up and restoring ext2/ext3 filesystems.
|
|
|
-Summary(ja): ext2/ext3 ファイルシステムをバックアップ/リストアするプログラム
|
|
|
+Summary: Programs for backing up and restoring ext2/ext3/ext4 filesystems.
|
|
|
+Summary(ja): ext2/ext3/ext4 ファイルシステムをバックアップ/リストアするプログラム
|
|
|
Name: dump
|
|
|
-Version: 0.4b41
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Version: 0.4b44
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: BSD
|
|
|
Group: Applications/Archiving
|
|
|
-URL: http://dump.sourceforge.net
|
|
|
+URL: http://dump.sourceforge.net/
|
|
|
Source: dump-%{version}.tar.gz
|
|
|
-Patch1: dump-dmfix.patch
|
|
|
-#Patch2: dump-immutable.patch
|
|
|
-#Patch3: dump-0.4b41-libtinfo.patch
|
|
|
+Patch0: dump-buildfix.patch
|
|
|
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-root
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: libtermcap-devel
|
|
|
-BuildRequires: e2fsprogs-devel >= 1.18, readline-devel >= 4.1
|
|
|
+BuildRequires: e2fsprogs-devel >= 1.18, readline-devel >= 4.2
|
|
|
BuildRequires: zlib-devel, device-mapper-devel
|
|
|
BuildRequires: libblkid-devel
|
|
|
BuildRequires: libuuid-devel
|
|
@@ -29,9 +27,8 @@ BuildRequires: bzip2-devel
|
|
|
Requires(pre): setup
|
|
|
Requires: rmt
|
|
|
Obsoletes: dump-static
|
|
|
-#Provides: dump-static
|
|
|
|
|
|
-Packager: daisuke, kazutaka
|
|
|
+Packager: daisuke, kazutaka, shaolin
|
|
|
|
|
|
%description
|
|
|
The dump package contains both dump and restore. Dump examines files
|
|
@@ -76,13 +73,17 @@ rmt ユーティリティは、dump (ファイルシステムのバックアッ
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch1 -p1 -b .dmfix
|
|
|
-#%patch2 -p1 -b .orig
|
|
|
-#%patch3 -p1 -b .libtinfo
|
|
|
+%patch0 -p1 -b .buildfix
|
|
|
|
|
|
+for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
|
|
|
+ iconv -f iso-8859-1 -t utf-8 $i -o $i.new
|
|
|
+ touch -r $i $i.new
|
|
|
+ mv $i.new $i
|
|
|
+done
|
|
|
|
|
|
%build
|
|
|
-%configure %{myoptions} --disable-static --enable-rmt
|
|
|
+autoreconf -fiv
|
|
|
+%configure %{myoptions} --disable-static --enable-rmt --disable-transselinux
|
|
|
|
|
|
%ifarch alpha
|
|
|
RPM_OPT_FLAGS=""
|
|
@@ -100,16 +101,11 @@ mkdir -p %{buildroot}%{_mandir}/man8
|
|
|
|
|
|
pushd $RPM_BUILD_ROOT
|
|
|
ln -sf dump .%{_sbindir}/rdump
|
|
|
-# ln -sf dump .%{_sbindir}/rdump.static
|
|
|
-# ln -sf dump .%{_sbindir}/dump.static
|
|
|
ln -sf restore .%{_sbindir}/rrestore
|
|
|
-# ln -sf restore .%{_sbindir}/rrestore.static
|
|
|
-# ln -sf restore .%{_sbindir}/restore.static
|
|
|
chmod ug-s .%{_sbindir}/rmt
|
|
|
mkdir -p .%{_sysconfdir}
|
|
|
> .%{_sysconfdir}/dumpdates
|
|
|
ln -sf ..%{_sbindir}/rmt .%{_sysconfdir}/rmt
|
|
|
- strip $RPM_BUILD_ROOT/sbin/* $RPM_BUILD_ROOT/usr/sbin/* || :
|
|
|
popd
|
|
|
|
|
|
%clean
|
|
@@ -138,6 +134,9 @@ rm -rf %{buildroot}
|
|
|
%{_mandir}/man8/rmt.*
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Aug 27 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4b44-1
|
|
|
+- updated to 0.4b44 (ext4 support in particular)
|
|
|
+
|
|
|
* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4b41-3
|
|
|
- rebuild with rpm-4.8.1
|
|
|
- add BuildRequires: libblkid-devel, libuuid-devel, bzip2-devel
|