xfsdump-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Summary: Administrative utilities for the XFS filesystem
  2. Name: xfsdump
  3. Version: 3.1.3
  4. Release: 6%{?_dist_release}
  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
  9. URL: http://oss.sgi.com/projects/xfs/
  10. Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: libtool, gettext, gawk
  13. BuildRequires: xfsprogs-devel, libuuid-devel, libattr-devel ncurses-devel
  14. Requires: xfsprogs >= 2.6.30, attr >= 2.0.0
  15. Patch0: xfsdump-getdents-ifdef-hell.patch
  16. Patch1: xfsdump-ancient-getdents-code.patch
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: tomop
  20. %description
  21. The xfsdump package contains xfsdump, xfsrestore and a number of
  22. other utilities for administering XFS filesystems.
  23. xfsdump examines files in a filesystem, determines which need to be
  24. backed up, and copies those files to a specified disk, tape or other
  25. storage medium. It uses XFS-specific directives for optimizing the
  26. dump of an XFS filesystem, and also knows how to backup XFS extended
  27. attributes. Backups created with xfsdump are "endian safe" and can
  28. thus be transfered between Linux machines of different architectures
  29. and also between IRIX machines.
  30. xfsrestore performs the inverse function of xfsdump; it can restore a
  31. full backup of a filesystem. Subsequent incremental backups can then
  32. be layered on top of the full backup. Single files and directory
  33. subtrees may be restored from full or partial backups.
  34. %prep
  35. %setup -q
  36. %patch0 -p1
  37. %patch1 -p1
  38. %build
  39. %configure
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make DIST_ROOT=$RPM_BUILD_ROOT install
  44. # remove non-versioned docs location
  45. rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
  46. # Bit of a hack to move files from /sbin to /usr/sbin
  47. (cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore)
  48. #(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .)
  49. #(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .)
  50. # Create inventory dir (otherwise created @ runtime)
  51. mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/xfsdump/inventory
  52. %find_lang %{name}
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
  58. %{_mandir}/man8/*
  59. /sbin/*
  60. %{_sbindir}*
  61. %{_sharedstatedir}/xfsdump/inventory
  62. %changelog
  63. * Fri Jul 4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-6
  64. - initial build for Vine Linux.
  65. * Mon Jun 16 2014 Eric Sandeen <sandeen@redhat.com> 3.1.3-5
  66. - Fix aarch64 build (#926800)
  67. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-4
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  69. * Mon Jan 20 2014 Eric Sandeen <sandeen@redhat.com> 3.1.3-3
  70. - Add /var/lib/xfsdump/inventory to file list (was created runtime)
  71. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  73. * Wed May 08 2013 Eric Sandeen <sandeen@redhat.com> 3.1.3-1
  74. - New upstream release
  75. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  77. * Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.2-1
  78. - New upstream release, with non-broken tarball
  79. * Thu Dec 13 2012 Eric Sandeen <sandeen@redhat.com> 3.1.1-1
  80. - New upstream release
  81. * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-3
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  83. * Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-2
  84. - Move files out of /sbin to /usr/sbin
  85. * Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> 3.1.0-1
  86. - New upstream release
  87. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  89. * Mon Oct 17 2011 Eric Sandeen <sandeen@redhat.com> 3.0.6-1
  90. - New upstream release
  91. * Thu Mar 31 2011 Eric Sandeen <sandeen@redhat.com> 3.0.5-1
  92. - New upstream release
  93. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  95. * Wed Jan 13 2010 Eric Sandeen <sandeen@redhat.com> 3.0.4-1
  96. - New upstream release
  97. * Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 3.0.1-3.1
  98. - Rebuilt for RHEL 6
  99. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  101. * Tue Jun 30 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-2
  102. - Fix up build-requires after e2fsprogs splitup
  103. * Tue May 05 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-1
  104. - New upstream release
  105. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  107. * Wed Feb 04 2009 Eric Sandeen <sandeen@redhat.com> 3.0.0-1
  108. - New upstream release
  109. * Wed Nov 12 2008 Eric Sandeen <sandeen@redhat.com> 2.2.48-2
  110. - Enable parallel builds
  111. * Sun Feb 10 2008 Eric Sandeen <sandeen@redhat.com> - 2.2.48-1
  112. - Update to xfsdump version 2.2.48
  113. - First build with gcc-4.3
  114. * Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.46-1
  115. - Update to xfsdump version 2.2.46
  116. - Dropped O_CREAT patch, now upstream
  117. * Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-3
  118. - Update license tag
  119. - Fix up O_CREAT opens with no mode
  120. - Add gawk to buildrequires
  121. * Tue Jun 19 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-2
  122. - Remove readline-devel & libtermcap-devel BuildRequires
  123. * Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> - 2.2.45-1
  124. - Update to xfsdump 2.2.45
  125. * Thu Aug 31 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-2
  126. - Remove Distribution: tag
  127. * Wed Aug 23 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.42-1
  128. - update to version 2.2.42
  129. * Tue Aug 22 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-3
  130. - Fix the /usr/sbin sym links to relative links
  131. - Add the Distribution tag
  132. - Add ncurses-devel to buildrequires
  133. * Wed Aug 16 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-2
  134. - install removes the makefile installed version of the docs
  135. package the docs based in the version specfic directory
  136. * Wed Aug 9 2006 Russell Cattelan <cattelan@thebarn.com> - 2.2.38-1
  137. - Add xfsdump to Fedora