2007-01-16 00:10:42 +01:00
|
|
|
#
|
|
|
|
# spec file for package dump (Version 0.4b41)
|
|
|
|
#
|
2008-10-23 04:29:49 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:10:42 +01:00
|
|
|
#
|
2008-10-23 04:29:49 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-04-01 12:07:22 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:10:42 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:29:49 +02:00
|
|
|
|
2007-04-01 12:07:22 +02:00
|
|
|
Name: dump
|
|
|
|
BuildRequires: e2fsprogs-devel readline-devel zlib-devel
|
2008-10-23 04:29:49 +02:00
|
|
|
License: BSD 3-Clause
|
2007-04-01 12:07:22 +02:00
|
|
|
Group: Productivity/Archiving/Backup
|
2008-10-23 04:29:49 +02:00
|
|
|
AutoReqProv: on
|
2007-04-01 12:07:22 +02:00
|
|
|
Version: 0.4b41
|
2008-10-23 04:29:49 +02:00
|
|
|
Release: 159
|
2007-04-01 12:07:22 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch0: %{name}-%{version}-pathnames.patch
|
|
|
|
Patch1: %{name}-%{version}-destdir.patch
|
|
|
|
Patch2: %{name}-%{version}-configure.patch
|
|
|
|
Patch3: %{name}-%{version}-include.patch
|
2008-10-23 04:29:49 +02:00
|
|
|
Url: http://dump.sourceforge.net/
|
2007-04-01 12:07:22 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: A Backup Program
|
|
|
|
Requires: rmt
|
2007-01-16 00:10:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The dump package contains both dump and restore. Dump examines files
|
2007-04-01 12:07:22 +02:00
|
|
|
in a file system, determines which ones need to be backed up, and
|
|
|
|
copies those files to a specified disk, tape, or other storage medium.
|
|
|
|
The restore command performs the inverse function of dump. It can
|
|
|
|
restore a full backup of a file system.
|
2007-01-16 00:10:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Remy Card <Remy.Card@freenix.fr>
|
|
|
|
Stelian Pop <pop@cybercable.fr>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
#mkdir ext2fs
|
|
|
|
#sed -e "s|ino_t|__ino_t|g" /usr/include/ext2fs/ext2fs.h >ext2fs/ext2fs.h
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%{suse_update_config}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%define prefix /usr
|
|
|
|
%define sysconfdir /etc
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure --mandir=%{_mandir} \
|
|
|
|
--prefix=%{prefix} \
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--sysconfdir=%{sysconfdir} \
|
|
|
|
--enable-rmt \
|
|
|
|
--with-ldopts= \
|
|
|
|
--with-ccopts="-I$PWD -Wall" \
|
|
|
|
--with-binowner=root \
|
|
|
|
--with-bingrp=root \
|
|
|
|
--with-binmode=0755 \
|
|
|
|
--with-manowner=root \
|
|
|
|
--with-mangrp=root \
|
|
|
|
--with-manmode=0644 \
|
|
|
|
--enable-readline \
|
|
|
|
--enable-largefile
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d $RPM_BUILD_ROOT/etc \
|
|
|
|
$RPM_BUILD_ROOT/sbin \
|
|
|
|
$RPM_BUILD_ROOT/%{_mandir}/man8
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT/ install
|
|
|
|
#do not install rmt
|
|
|
|
#ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
|
|
|
|
rm $RPM_BUILD_ROOT/sbin/rmt
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man8/rmt.*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc %{_mandir}/*/*
|
|
|
|
/sbin/*
|
|
|
|
%doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README REPORTING-BUGS
|
|
|
|
%doc THANKS TODO dump.lsm examples
|
|
|
|
|
2007-04-01 12:07:22 +02:00
|
|
|
%changelog
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sat Mar 31 2007 rguenther@suse.de
|
2007-04-01 12:07:22 +02:00
|
|
|
- add zlib-devel BuildRequires
|
2008-10-23 04:29:49 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sun Jan 15 2006 schwab@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Don't strip binaries.
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Jan 03 2006 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b41
|
|
|
|
* ACL fixes
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Jul 25 2005 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- do not install rmt
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Jul 15 2005 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b40
|
|
|
|
* support for extended attributes (ACL)
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Apr 19 2005 nadvornik@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed including of linux/fs.h
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Jan 25 2005 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b39
|
2008-10-23 04:29:49 +02:00
|
|
|
* Wed Sep 01 2004 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b37
|
2008-10-23 04:29:49 +02:00
|
|
|
* Wed Jun 02 2004 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- avoid inclusion of linux/audit.h
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Feb 10 2004 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Fix compiling on 64bit architectures
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Feb 05 2004 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b35
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Aug 01 2003 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed to compile on x86_64
|
2008-10-23 04:29:49 +02:00
|
|
|
* Wed Jul 23 2003 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- update to 0.4b34, fixes [#27810]
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Feb 17 2003 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b33
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Aug 29 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b31:
|
2007-04-01 12:07:22 +02:00
|
|
|
- fixed rmt open flags transmission (remote dump was broken in 0.4b29)
|
|
|
|
- fixed the tape length calculation when using large tapes and compression
|
|
|
|
- made dump save 32 bit UID/GID
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Jul 02 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b29
|
2007-04-01 12:07:22 +02:00
|
|
|
- bugfixes
|
|
|
|
- more examples
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Apr 18 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- updated to 0.4b28
|
2007-04-01 12:07:22 +02:00
|
|
|
- bugfixes
|
|
|
|
- do not include kernel haders
|
2007-01-16 00:10:42 +01:00
|
|
|
- compiled with readline
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Apr 02 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed to compile with new autoconf
|
2008-10-23 04:29:49 +02:00
|
|
|
* Wed Jan 30 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- update to 0.4b26:
|
2007-04-01 12:07:22 +02:00
|
|
|
- more examples
|
|
|
|
- bugfixes
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Jan 07 2002 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- added link /etc/rmt -> /sbin/rmt for compatibility [bug #12615]
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Nov 22 2001 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- update to 0.4b25:
|
2007-04-01 12:07:22 +02:00
|
|
|
- more documentation
|
|
|
|
- added bzip2 compression
|
|
|
|
- suport for backups to CD
|
|
|
|
- bugfixes
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Aug 17 2001 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- added fix for traverse.c
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Aug 16 2001 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- up to 0.4b23 to make it build with new e2fsprogs
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Feb 27 2001 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- update to 0.4b21
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Feb 23 2001 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- added readline/readline-devel to neededforbuild (split from bash)
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Feb 22 2001 schwab@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Fix missing includes.
|
|
|
|
- Replace ino_t by __ino_t instead of unsigned int.
|
|
|
|
- Don't kill entire process group on crash.
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Feb 09 2001 uli@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed for glibc 2.2.1
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Jan 11 2001 nadvornik@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- added lfs patch
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Dec 05 2000 smid@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- path to rmt changed [#4306]
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sun Dec 03 2000 smid@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- new version 0.4b20
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Nov 09 2000 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed neededforbuild
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Sep 29 2000 smid@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- new version 0.4b19
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Apr 07 2000 smid@suse.cz
|
2007-01-16 00:10:42 +01:00
|
|
|
- upgrade to 0.4b16
|
|
|
|
- buildroot added
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Mar 02 2000 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to version 0.4b15 and correct security fix
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Feb 10 2000 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to version 0.4b14
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sun Jan 30 2000 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to version 0.4b13
|
|
|
|
- Move /usr/man -> /usr/share/man
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Dec 06 1999 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to version 0.4b11 (BUG #1448)
|
|
|
|
- Fix dump manual page (BUG #1367)
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sat Nov 13 1999 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Compile without ext2fs progs, but use ext2fs development package
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Nov 08 1999 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Security update for dump to 0.4b9
|
2008-10-23 04:29:49 +02:00
|
|
|
* Fri Oct 29 1999 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed spec for e2fsprogs-1.17
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Oct 25 1999 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- fixed spec for e2fsprogs-1.16
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Oct 18 1999 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to version 0.4b7
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Aug 31 1999 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- changed for e2fsprogs-1.15 / only do install-lib
|
2008-10-23 04:29:49 +02:00
|
|
|
* Sat Jun 26 1999 kukuk@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- Update to dump 0.4b4
|
2008-10-23 04:29:49 +02:00
|
|
|
* Tue Sep 01 1998 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- use e2fsprgs-1.12-sources / dont use -lbsd
|
2008-10-23 04:29:49 +02:00
|
|
|
* Mon Oct 20 1997 ro@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- ready for autobuild
|
|
|
|
minor patch in dump/traverse.c
|
2008-10-23 04:29:49 +02:00
|
|
|
* Thu Jan 02 1997 florian@suse.de
|
2007-01-16 00:10:42 +01:00
|
|
|
- recompile to use newer and static ext2 libraries
|