Blame SPECS/xfsdump.spec

94269f
Summary: Administrative utilities for the XFS filesystem
94269f
Name: xfsdump
94269f
Version: 3.1.7
94269f
Release: 1%{?dist}
94269f
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
94269f
# in source, with no mention of version.
94269f
License: GPL+
94269f
Group: System Environment/Base
94269f
URL: http://oss.sgi.com/projects/xfs/
94269f
Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/%{name}/%{name}-%{version}.tar.xz
94269f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
94269f
BuildRequires: libtool, gettext, gawk
94269f
BuildRequires: xfsprogs-devel, libuuid-devel, libattr-devel ncurses-devel
94269f
Requires: xfsprogs >= 2.6.30, attr >= 2.0.0
94269f
94269f
%description
94269f
The xfsdump package contains xfsdump, xfsrestore and a number of
94269f
other utilities for administering XFS filesystems.
94269f
94269f
xfsdump examines files in a filesystem, determines which need to be
94269f
backed up, and copies those files to a specified disk, tape or other
94269f
storage medium.	 It uses XFS-specific directives for optimizing the
94269f
dump of an XFS filesystem, and also knows how to backup XFS extended
94269f
attributes.  Backups created with xfsdump are "endian safe" and can
94269f
thus be transfered between Linux machines of different architectures
94269f
and also between IRIX machines.
94269f
94269f
xfsrestore performs the inverse function of xfsdump; it can restore a
94269f
full backup of a filesystem.  Subsequent incremental backups can then
94269f
be layered on top of the full backup.  Single files and directory
94269f
subtrees may be restored from full or partial backups.
94269f
94269f
%prep
94269f
%setup -q
94269f
94269f
%build
94269f
%configure
94269f
94269f
make %{?_smp_mflags}
94269f
94269f
%install
94269f
rm -rf $RPM_BUILD_ROOT
94269f
make DIST_ROOT=$RPM_BUILD_ROOT install
94269f
# remove non-versioned docs location
94269f
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
94269f
94269f
# Bit of a hack to move files from /sbin to /usr/sbin
94269f
(cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore)
94269f
(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .)
94269f
(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .)
94269f
94269f
%find_lang %{name}
94269f
94269f
%clean
94269f
rm -rf $RPM_BUILD_ROOT
94269f
94269f
%files -f %{name}.lang
94269f
%defattr(-,root,root)
94269f
%doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
94269f
%{_mandir}/man8/*
94269f
%{_sbindir}/*
94269f
94269f
%changelog
94269f
* Fri Nov 03 2017 Eric Sandeen <sandeen@redhat.com> 3.1.7-1
94269f
- Rebase to build against current RHEL7 xfsprogs headers
94269f
- Fix race condition between lseek() and read()/write() (#1086532)
94269f
94269f
* Mon Feb 17 2014 Eric Sandeen <sandeen@redhat.com> 3.1.4-1
94269f
- Fix aarch64 build (#1028131)
94269f
- Rebase to 3.1.4 to roll up prior individual patches
94269f
94269f
* Mon Feb 17 2014 Eric Sandeen <sandeen@redhat.com> 3.1.3-5
94269f
- Preserve file capabilities during xfsrestore (#1013345)
94269f
94269f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.1.3-4
94269f
- Mass rebuild 2014-01-24
94269f
94269f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.1.3-3
94269f
- Mass rebuild 2013-12-27
94269f
94269f
* Mon Nov 25 2013 Eric Sandeen <sandeen@redhat.com> 3.1.3-2
94269f
- Preserve xattrs on multi-part stream restores (#1034014)
94269f
- Prevent segfault on multi-part stream restores (#1034015)
94269f
94269f
* Mon Oct 07 2013 Eric Sandeen <sandeen@redhat.com> 3.1.3-1
94269f
- Update to version 3.1.3 (#1016306)
94269f
94269f
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
94269f
94269f
* Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.2-1
94269f
- New upstream release, with non-broken tarball
94269f
94269f
* Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.1-1
94269f
- New upstream release
94269f
94269f
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
94269f
94269f
* Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-2
94269f
- Move files out of /sbin to /usr/sbin
94269f
94269f
* Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-1
94269f
- New upstream release
94269f
94269f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
94269f
94269f
* Mon Oct 17 2011 Eric Sandeen <sandeen@redhat.com> 3.0.6-1
94269f
- New upstream release
94269f
94269f
* Thu Mar 31 2011 Eric Sandeen <sandeen@redhat.com> 3.0.5-1
94269f
- New upstream release
94269f
94269f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
94269f
94269f
* Wed Jan 13 2010 Eric Sandeen <sandeen@redhat.com> 3.0.4-1
94269f
- New upstream release
94269f
94269f
* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 3.0.1-3.1
94269f
- Rebuilt for RHEL 6
94269f
94269f
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
94269f
94269f
* Tue Jun 30 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-2
94269f
- Fix up build-requires after e2fsprogs splitup
94269f
94269f
* Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-1
94269f
- New upstream release
94269f
94269f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-2
94269f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
94269f
94269f
* Wed Feb 04 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-1
94269f
- New upstream release
94269f
94269f
* Wed Nov 12 2008 Eric Sandeen <sandeen@redhat.com> 2.2.48-2
94269f
- Enable parallel builds
94269f
94269f
* Sun Feb 10 2008 Eric Sandeen <sandeen@redhat.com> - 2.2.48-1
94269f
- Update to xfsdump version 2.2.48
94269f
- First build with gcc-4.3
94269f
94269f
* Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.46-1
94269f
- Update to xfsdump version 2.2.46
94269f
- Dropped O_CREAT patch, now upstream
94269f
94269f
* Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-3
94269f
- Update license tag
94269f
- Fix up O_CREAT opens with no mode
94269f
- Add gawk to buildrequires
94269f
94269f
* Tue Jun 19 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-2
94269f
- Remove readline-devel & libtermcap-devel BuildRequires
94269f
94269f
* Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-1
94269f
- Update to xfsdump 2.2.45
94269f
94269f
* Wed Aug 31 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-2
94269f
- Remove Distribution: tag
94269f
94269f
* Wed Aug 23 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-1
94269f
- update to version 2.2.42 
94269f
94269f
* Tue Aug 22 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-3
94269f
- Fix the /usr/sbin sym links to relative links
94269f
- Add the Distribution tag
94269f
- Add ncurses-devel to buildrequires
94269f
94269f
* Tue Aug 16 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-2
94269f
- install removes the makefile installed version of the docs
94269f
	package the docs based in the version specfic directory
94269f
 
94269f
* Wed Aug  9 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-1
94269f
- Add xfsdump to Fedorda