[8735] | 1 | Summary: Administrative utilities for the XFS filesystem |
---|
| 2 | Name: xfsdump |
---|
[12133] | 3 | Version: 3.1.8 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[8735] | 5 | # Licensing based on generic "GNU GENERAL PUBLIC LICENSE" |
---|
| 6 | # in source, with no mention of version. |
---|
| 7 | License: GPL+ |
---|
| 8 | Group: System Environment/Base |
---|
[12133] | 9 | URL: http://xfs.org/ |
---|
| 10 | Source0: https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/xfsdump/%{name}-%{version}.tar.xz |
---|
| 11 | Patch1: 0003-common-types.h-Wrap-define-UUID_STR_LEN-36-in-ifndef.patch |
---|
| 12 | Patch2: 0004-common-drive.c-include-stdlib.h.patch |
---|
| 13 | |
---|
[8735] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | BuildRequires: libtool, gettext, gawk |
---|
| 16 | BuildRequires: xfsprogs-devel, libuuid-devel, libattr-devel ncurses-devel |
---|
| 17 | Requires: xfsprogs >= 2.6.30, attr >= 2.0.0 |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: tomop |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | The xfsdump package contains xfsdump, xfsrestore and a number of |
---|
| 25 | other utilities for administering XFS filesystems. |
---|
| 26 | |
---|
| 27 | xfsdump examines files in a filesystem, determines which need to be |
---|
| 28 | backed up, and copies those files to a specified disk, tape or other |
---|
| 29 | storage medium. It uses XFS-specific directives for optimizing the |
---|
| 30 | dump of an XFS filesystem, and also knows how to backup XFS extended |
---|
| 31 | attributes. Backups created with xfsdump are "endian safe" and can |
---|
| 32 | thus be transfered between Linux machines of different architectures |
---|
| 33 | and also between IRIX machines. |
---|
| 34 | |
---|
| 35 | xfsrestore performs the inverse function of xfsdump; it can restore a |
---|
| 36 | full backup of a filesystem. Subsequent incremental backups can then |
---|
| 37 | be layered on top of the full backup. Single files and directory |
---|
| 38 | subtrees may be restored from full or partial backups. |
---|
| 39 | |
---|
| 40 | %prep |
---|
[12133] | 41 | %autosetup -p1 |
---|
| 42 | perl -pi -e 's/xfs_fsop_geom_v1_t/struct xfs_fsop_geom_v1/' common/fs.c |
---|
[8735] | 43 | |
---|
| 44 | %build |
---|
| 45 | %configure |
---|
| 46 | |
---|
| 47 | make %{?_smp_mflags} |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | make DIST_ROOT=$RPM_BUILD_ROOT install |
---|
| 52 | # remove non-versioned docs location |
---|
| 53 | rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/ |
---|
| 54 | |
---|
| 55 | # Bit of a hack to move files from /sbin to /usr/sbin |
---|
| 56 | (cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore) |
---|
| 57 | #(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .) |
---|
| 58 | #(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .) |
---|
| 59 | |
---|
| 60 | # Create inventory dir (otherwise created @ runtime) |
---|
| 61 | mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/xfsdump/inventory |
---|
| 62 | |
---|
| 63 | %find_lang %{name} |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | %files -f %{name}.lang |
---|
| 69 | %defattr(-,root,root) |
---|
[12133] | 70 | %license doc/COPYING |
---|
| 71 | %doc README doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt |
---|
[8735] | 72 | %{_mandir}/man8/* |
---|
| 73 | /sbin/* |
---|
| 74 | %{_sbindir}* |
---|
| 75 | %{_sharedstatedir}/xfsdump/inventory |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[12133] | 78 | * Sat Aug 31 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-1 |
---|
| 79 | - new upstream release. |
---|
| 80 | |
---|
[8735] | 81 | * Fri Jul 4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-6 |
---|
| 82 | - initial build for Vine Linux. |
---|
| 83 | |
---|
| 84 | * Mon Jun 16 2014 Eric Sandeen <sandeen@redhat.com> 3.1.3-5 |
---|
| 85 | - Fix aarch64 build (#926800) |
---|
| 86 | |
---|
| 87 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-4 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Mon Jan 20 2014 Eric Sandeen <sandeen@redhat.com> 3.1.3-3 |
---|
| 91 | - Add /var/lib/xfsdump/inventory to file list (was created runtime) |
---|
| 92 | |
---|
| 93 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-2 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Wed May 08 2013 Eric Sandeen <sandeen@redhat.com> 3.1.3-1 |
---|
| 97 | - New upstream release |
---|
| 98 | |
---|
| 99 | * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.2-1 |
---|
| 103 | - New upstream release, with non-broken tarball |
---|
| 104 | |
---|
| 105 | * Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.1-1 |
---|
| 106 | - New upstream release |
---|
| 107 | |
---|
| 108 | * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3 |
---|
| 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 110 | |
---|
| 111 | * Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-2 |
---|
| 112 | - Move files out of /sbin to /usr/sbin |
---|
| 113 | |
---|
| 114 | * Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-1 |
---|
| 115 | - New upstream release |
---|
| 116 | |
---|
| 117 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Mon Oct 17 2011 Eric Sandeen <sandeen@redhat.com> 3.0.6-1 |
---|
| 121 | - New upstream release |
---|
| 122 | |
---|
| 123 | * Thu Mar 31 2011 Eric Sandeen <sandeen@redhat.com> 3.0.5-1 |
---|
| 124 | - New upstream release |
---|
| 125 | |
---|
| 126 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2 |
---|
| 127 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 128 | |
---|
| 129 | * Wed Jan 13 2010 Eric Sandeen <sandeen@redhat.com> 3.0.4-1 |
---|
| 130 | - New upstream release |
---|
| 131 | |
---|
| 132 | * Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 3.0.1-3.1 |
---|
| 133 | - Rebuilt for RHEL 6 |
---|
| 134 | |
---|
| 135 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3 |
---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 137 | |
---|
| 138 | * Tue Jun 30 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-2 |
---|
| 139 | - Fix up build-requires after e2fsprogs splitup |
---|
| 140 | |
---|
| 141 | * Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-1 |
---|
| 142 | - New upstream release |
---|
| 143 | |
---|
| 144 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-2 |
---|
| 145 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 146 | |
---|
| 147 | * Wed Feb 04 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-1 |
---|
| 148 | - New upstream release |
---|
| 149 | |
---|
| 150 | * Wed Nov 12 2008 Eric Sandeen <sandeen@redhat.com> 2.2.48-2 |
---|
| 151 | - Enable parallel builds |
---|
| 152 | |
---|
| 153 | * Sun Feb 10 2008 Eric Sandeen <sandeen@redhat.com> - 2.2.48-1 |
---|
| 154 | - Update to xfsdump version 2.2.48 |
---|
| 155 | - First build with gcc-4.3 |
---|
| 156 | |
---|
| 157 | * Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.46-1 |
---|
| 158 | - Update to xfsdump version 2.2.46 |
---|
| 159 | - Dropped O_CREAT patch, now upstream |
---|
| 160 | |
---|
| 161 | * Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-3 |
---|
| 162 | - Update license tag |
---|
| 163 | - Fix up O_CREAT opens with no mode |
---|
| 164 | - Add gawk to buildrequires |
---|
| 165 | |
---|
| 166 | * Tue Jun 19 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-2 |
---|
| 167 | - Remove readline-devel & libtermcap-devel BuildRequires |
---|
| 168 | |
---|
| 169 | * Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-1 |
---|
| 170 | - Update to xfsdump 2.2.45 |
---|
| 171 | |
---|
| 172 | * Thu Aug 31 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-2 |
---|
| 173 | - Remove Distribution: tag |
---|
| 174 | |
---|
| 175 | * Wed Aug 23 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-1 |
---|
| 176 | - update to version 2.2.42 |
---|
| 177 | |
---|
| 178 | * Tue Aug 22 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-3 |
---|
| 179 | - Fix the /usr/sbin sym links to relative links |
---|
| 180 | - Add the Distribution tag |
---|
| 181 | - Add ncurses-devel to buildrequires |
---|
| 182 | |
---|
| 183 | * Wed Aug 16 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-2 |
---|
| 184 | - install removes the makefile installed version of the docs |
---|
| 185 | package the docs based in the version specfic directory |
---|
| 186 | |
---|
| 187 | * Wed Aug 9 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-1 |
---|
| 188 | - Add xfsdump to Fedora |
---|