4da9faf
Summary: Administrative utilities for the XFS filesystem
4da9faf
Name: xfsdump
a7b1859
Version: 3.0.1
a7b1859
Release: 1%{?dist}
272539b
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
272539b
# in source, with no mention of version.
272539b
License: GPL+
4da9faf
Group: System Environment/Base
4da9faf
URL: http://oss.sgi.com/projects/xfs/
147fcf4
Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
4da9faf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a7b1859
BuildRequires: libtool, gettext, gawk
84e9ae4
BuildRequires: xfsprogs-devel, e2fsprogs-devel, libattr-devel ncurses-devel
4da9faf
Requires: xfsprogs >= 2.6.30, attr >= 2.0.0
4da9faf
4da9faf
%description
4da9faf
The xfsdump package contains xfsdump, xfsrestore and a number of
4da9faf
other utilities for administering XFS filesystems.
4da9faf
4da9faf
xfsdump examines files in a filesystem, determines which need to be
4da9faf
backed up, and copies those files to a specified disk, tape or other
4da9faf
storage medium.	 It uses XFS-specific directives for optimizing the
4da9faf
dump of an XFS filesystem, and also knows how to backup XFS extended
4da9faf
attributes.  Backups created with xfsdump are "endian safe" and can
4da9faf
thus be transfered between Linux machines of different architectures
4da9faf
and also between IRIX machines.
4da9faf
4da9faf
xfsrestore performs the inverse function of xfsdump; it can restore a
4da9faf
full backup of a filesystem.  Subsequent incremental backups can then
4da9faf
be layered on top of the full backup.  Single files and directory
4da9faf
subtrees may be restored from full or partial backups.
4da9faf
4da9faf
%prep
4da9faf
%setup -q
4da9faf
4da9faf
%build
4da9faf
%configure	--libdir=/%{_lib} --libexecdir=%{_libdir} \
4da9faf
		--sbindir=/sbin --bindir=%{_sbindir} \
4da9faf
		--enable-lib64=yes
4da9faf
make %{?_smp_mflags}
4da9faf
4da9faf
%install
4da9faf
rm -rf $RPM_BUILD_ROOT
4da9faf
make DIST_ROOT=$RPM_BUILD_ROOT install
4da9faf
# remove non-versioned docs location
4da9faf
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
4da9faf
4da9faf
(cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore)
4da9faf
(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsdump .)
4da9faf
(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsrestore .)
4da9faf
4da9faf
%clean
4da9faf
rm -rf $RPM_BUILD_ROOT
4da9faf
4da9faf
%files
4da9faf
%defattr(-,root,root)
4da9faf
%doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt doc/PORTING
4da9faf
%{_mandir}/man8/*
4da9faf
%{_sbindir}/*
4da9faf
/sbin/*
4da9faf
4da9faf
%changelog
a7b1859
* Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-1
a7b1859
- New upstream release
a7b1859
60bd8be
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-2
60bd8be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
60bd8be
147fcf4
* Wed Feb 04 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-1
a7b1859
- New upstream release
147fcf4
58af504
* Wed Nov 12 2008 Eric Sandeen <sandeen@redhat.com> 2.2.48-2
58af504
- Enable parallel builds
58af504
2d92bff
* Sun Feb 10 2008 Eric Sandeen <sandeen@redhat.com> - 2.2.48-1
58af504
- Update to xfsdump version 2.2.48
2d92bff
- First build with gcc-4.3
2d92bff
7d5a448
* Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.46-1
7d5a448
- Update to xfsdump version 2.2.46
7d5a448
- Dropped O_CREAT patch, now upstream
7d5a448
c4f4944
* Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-3
272539b
- Update license tag
c4f4944
- Fix up O_CREAT opens with no mode
c4f4944
- Add gawk to buildrequires
272539b
84e9ae4
* Tue Jun 19 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-2
84e9ae4
- Remove readline-devel & libtermcap-devel BuildRequires
84e9ae4
9de20fe
* Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-1
9de20fe
- Update to xfsdump 2.2.45
9de20fe
4da9faf
* Wed Aug 31 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-2
9de20fe
- Remove Distribution: tag
4da9faf
4da9faf
* Wed Aug 23 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-1
4da9faf
- update to version 2.2.42 
4da9faf
4da9faf
* Tue Aug 22 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-3
4da9faf
- Fix the /usr/sbin sym links to relative links
4da9faf
- Add the Distribution tag
4da9faf
- Add ncurses-devel to buildrequires
4da9faf
4da9faf
* Tue Aug 16 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-2
4da9faf
- install removes the makefile installed version of the docs
4da9faf
	package the docs based in the version specfic directory
4da9faf
 
4da9faf
* Wed Aug  9 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-1
4da9faf
- Add xfsdump to Fedorda