Blame SPECS/xfsdump.spec

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