2006-09-01 17:26:34 +00:00
|
|
|
Summary: Administrative utilities for the XFS filesystem
|
|
|
|
Name: xfsdump
|
2007-06-01 05:06:32 +00:00
|
|
|
Version: 2.2.45
|
2007-08-16 18:59:15 +00:00
|
|
|
Release: 3%{?dist}
|
|
|
|
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
|
|
|
|
# in source, with no mention of version.
|
|
|
|
License: GPL+
|
2006-09-01 17:26:34 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
URL: http://oss.sgi.com/projects/xfs/
|
|
|
|
Source0: ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-08-25 00:04:28 +00:00
|
|
|
BuildRequires: autoconf, libtool, gettext, gawk
|
2007-06-19 16:01:56 +00:00
|
|
|
BuildRequires: xfsprogs-devel, e2fsprogs-devel, libattr-devel ncurses-devel
|
2006-09-01 17:26:34 +00:00
|
|
|
Requires: xfsprogs >= 2.6.30, attr >= 2.0.0
|
|
|
|
|
2007-08-25 00:04:28 +00:00
|
|
|
Patch1: fix-open-O_CREAT-perms.patch
|
2006-09-01 17:26:34 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The xfsdump package contains xfsdump, xfsrestore and a number of
|
|
|
|
other utilities for administering XFS filesystems.
|
|
|
|
|
|
|
|
xfsdump examines files in a filesystem, determines which need to be
|
|
|
|
backed up, and copies those files to a specified disk, tape or other
|
|
|
|
storage medium. It uses XFS-specific directives for optimizing the
|
|
|
|
dump of an XFS filesystem, and also knows how to backup XFS extended
|
|
|
|
attributes. Backups created with xfsdump are "endian safe" and can
|
|
|
|
thus be transfered between Linux machines of different architectures
|
|
|
|
and also between IRIX machines.
|
|
|
|
|
|
|
|
xfsrestore performs the inverse function of xfsdump; it can restore a
|
|
|
|
full backup of a filesystem. Subsequent incremental backups can then
|
|
|
|
be layered on top of the full backup. Single files and directory
|
|
|
|
subtrees may be restored from full or partial backups.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-08-25 00:04:28 +00:00
|
|
|
%patch1 -p1
|
2006-09-01 17:26:34 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoconf
|
|
|
|
%configure --libdir=/%{_lib} --libexecdir=%{_libdir} \
|
|
|
|
--sbindir=/sbin --bindir=%{_sbindir} \
|
|
|
|
--enable-lib64=yes
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DIST_ROOT=$RPM_BUILD_ROOT install
|
|
|
|
# remove non-versioned docs location
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
|
|
|
|
|
|
|
|
(cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore)
|
|
|
|
(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsdump .)
|
|
|
|
(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsrestore .)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt doc/PORTING
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
/sbin/*
|
|
|
|
|
|
|
|
%changelog
|
2007-08-25 00:04:28 +00:00
|
|
|
* Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-3
|
2007-08-16 18:59:15 +00:00
|
|
|
- Update license tag
|
2007-08-25 00:04:28 +00:00
|
|
|
- Fix up O_CREAT opens with no mode
|
|
|
|
- Add gawk to buildrequires
|
2007-08-16 18:59:15 +00:00
|
|
|
|
2007-06-19 16:01:56 +00:00
|
|
|
* Tue Jun 19 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-2
|
|
|
|
- Remove readline-devel & libtermcap-devel BuildRequires
|
|
|
|
|
2007-06-01 05:06:32 +00:00
|
|
|
* Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-1
|
|
|
|
- Update to xfsdump 2.2.45
|
|
|
|
|
2006-09-01 17:26:34 +00:00
|
|
|
* Wed Aug 31 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-2
|
2007-06-01 05:06:32 +00:00
|
|
|
- Remove Distribution: tag
|
2006-09-01 17:26:34 +00:00
|
|
|
|
|
|
|
* Wed Aug 23 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-1
|
|
|
|
- update to version 2.2.42
|
|
|
|
|
|
|
|
* Tue Aug 22 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-3
|
|
|
|
- Fix the /usr/sbin sym links to relative links
|
|
|
|
- Add the Distribution tag
|
|
|
|
- Add ncurses-devel to buildrequires
|
|
|
|
|
|
|
|
* Tue Aug 16 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-2
|
|
|
|
- install removes the makefile installed version of the docs
|
|
|
|
package the docs based in the version specfic directory
|
|
|
|
|
|
|
|
* Wed Aug 9 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-1
|
|
|
|
- Add xfsdump to Fedorda
|