Blame SPECS/xfsdump.spec

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