xfsprogs-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. Summary: Utilities for managing the XFS filesystem
  2. Summary(ja): XFS ファイルシステムを管理するためのユーティリティ
  3. Name: xfsprogs
  4. Version: 3.2.0
  5. Release: 2%{?_dist_release}
  6. # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
  7. # in source, with no mention of version.
  8. # doc/COPYING file specifies what is GPL and what is LGPL
  9. # but no mention of versions in the source.
  10. License: GPL+ and LGPLv2+
  11. Group: System Environment/Base
  12. URL: http://oss.sgi.com/projects/xfs/
  13. Source0: ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.tar.gz
  14. Source1: xfsprogs-wrapper.h
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: libtool, gettext
  17. BuildRequires: e2fsprogs-devel
  18. BuildRequires: libuuid-devel
  19. BuildRequires: libblkid-devel
  20. BuildRequires: readline-devel
  21. %description
  22. A set of commands to use the XFS filesystem, including mkfs.xfs.
  23. XFS is a high performance journaling filesystem which originated
  24. on the SGI IRIX platform. It is completely multi-threaded, can
  25. support large files and large filesystems, extended attributes,
  26. variable block sizes, is extent based, and makes extensive use of
  27. Btrees (directories, extents, free space) to aid both performance
  28. and scalability.
  29. Refer to the documentation at http://oss.sgi.com/projects/xfs/
  30. for complete details. This implementation is on-disk compatible
  31. with the IRIX version of XFS.
  32. %package devel
  33. Summary: XFS filesystem-specific static libraries and headers
  34. Summary(ja): XFS ファイルシステム特有の静的ライブラリとヘッダファイル
  35. Group: Development/Libraries
  36. Requires: xfsprogs = %{version}-%{release}
  37. %description devel
  38. xfsprogs-devel contains the libraries and header files needed to
  39. develop XFS filesystem-specific programs.
  40. You should install xfsprogs-devel if you want to develop XFS
  41. filesystem-specific programs, If you install xfsprogs-devel, you'll
  42. also want to install xfsprogs.
  43. %prep
  44. %setup -q
  45. %build
  46. # xfsprogs abuses libexecdir
  47. export tagname=CC DEBUG=-DNDEBUG
  48. %configure \
  49. --enable-readline=yes \
  50. --enable-blkid=yes
  51. # Kill rpaths
  52. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  53. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  54. make V=1 %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa
  58. # nuke .la files, etc
  59. rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
  60. # fix up symlink to be correct
  61. rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
  62. ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
  63. # remove non-versioned docs location
  64. rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
  65. # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
  66. %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64
  67. %ifarch %{multilib_arches}
  68. mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \
  69. $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs-%{_arch}.h
  70. install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h
  71. %endif
  72. %find_lang %{name}
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %post -p /sbin/ldconfig
  76. %postun -p /sbin/ldconfig
  77. %files -f %{name}.lang
  78. %defattr(-,root,root)
  79. %doc doc/CHANGES doc/COPYING doc/CREDITS README
  80. /sbin/*
  81. %{_sbindir}/*
  82. /%{_lib}/*.so.*
  83. %{_mandir}/man8/*
  84. %{_mandir}/man5/*
  85. %files devel
  86. %defattr(-,root,root)
  87. %{_includedir}/xfs
  88. %{_libdir}/*.so
  89. %{_mandir}/man3/*
  90. %changelog
  91. * Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.0-2
  92. - rebuilt with readline 6.3
  93. * Fri Jul 4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.0-1
  94. - new upstream release.
  95. * Thu Dec 27 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.10-1
  96. - new upstream release
  97. * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  98. - new upstream release
  99. - add BuildRequires: libuuid-devel
  100. - remove all configure options
  101. - fix %%install and %%files
  102. * Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-1
  103. - initial build for Vine Linux
  104. * Wed Apr 23 2008 Dennis Gilmore <dennis@ausil.us> 2.9.8-3
  105. - sparc32 is built using the sparcv9 variant
  106. * Wed Apr 23 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-2
  107. - Tidy up multilib hack for non-multilib arches & add sparc (#448452)
  108. * Wed Apr 23 2008 Eric Sandeen <sandeen@redhat.com> 2.9.8-1
  109. - Update to xfsprogs 2.9.8
  110. - Add support for sb_features2 in wrong location
  111. - Add -c option to xfs_admin to turn lazy-counters on/off
  112. - Added support for mdp in libdisk/mkfs.xfs
  113. * Sun Mar 02 2008 Eric Sandeen <sandeen@redhat.com> 2.9.7-1
  114. - Update to xfsprogs 2.9.7
  115. - Lazy sb counters back off by default; other misc fixes
  116. * Wed Feb 06 2008 Eric Sandeen <sandeen@redhat.com> 2.9.6-1
  117. - Update to xfsprogs 2.9.6 - fixes mkfs sizing problem.
  118. - Trim down BuildRequires to what's actually required now
  119. * Mon Jan 21 2008 Eric Sandeen <sandeen@redhat.com> 2.9.5-1
  120. - Update to xfsprogs 2.9.5
  121. - Contains more optimal mkfs defaults
  122. - specfile cleanup, & don't restate config defaults
  123. * Tue Oct 23 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-4
  124. - Add arm to multilib header wrapper
  125. * Tue Oct 02 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-3
  126. - mkfs.xfs: Fix wiping old AG headers and purge whack buffers
  127. * Mon Oct 01 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-2
  128. - Add alpha to the multilib wrapper (#310411)
  129. * Mon Sep 10 2007 Eric Sandeen <sandeen@redhat.com> 2.9.4-1
  130. - Update to xfsprogs 2.9.4
  131. * Fri Aug 24 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-3
  132. - Add gawk to buildrequires
  133. * Thu Aug 16 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-2
  134. - Update license tag
  135. * Thu Jul 26 2007 Eric Sandeen <sandeen@redhat.com> 2.9.3-1
  136. - Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes
  137. * Fri Jul 6 2007 Eric Sandeen <sandeen@redhat.com> 2.8.21-1
  138. - Upgrade to xfsprogs 2.8.21, lazy sb counters enabled,
  139. xfs_quota fix (#236746)
  140. * Thu May 31 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-2
  141. - Fix ppc64 build... again
  142. * Fri May 25 2007 Eric Sandeen <sandeen@redhat.com> 2.8.20-1
  143. - Upgrade to xfsprogs 2.8.20, several xfs_repair fixes
  144. * Tue Mar 06 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-3
  145. - Remove libtermcap-devel from BuildRequires
  146. * Wed Feb 14 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.8.18-2
  147. - Disable readline support for now (#223781)
  148. * Sun Feb 04 2007 Jarod Wilson <jwilson@redhat.com> 2.8.18-1
  149. - Post-facto changelog addition to note bump to 2.8.18
  150. * Wed Sep 27 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-3
  151. - bump build version to 3 for a new brew build
  152. * Tue Sep 26 2006 Russell Cattelan <cattelan@thebarn.com> 2.8.11-2
  153. - add ppc64 build patch
  154. * Thu Sep 21 2006 Russell Cattelan <cattelan@redhat.com> 2.8.11-1
  155. - Upgrade to xfsprogs 2.8.11 Need to pick up important repair fixes
  156. * Tue Jul 18 2006 Jeremy Katz <katzj@redhat.com> - 2.8.4-3
  157. - exclude arch ppc64 for now (#199315)
  158. * Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 2.8.4-2
  159. - rebuild
  160. * Tue Jul 04 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.4-1
  161. - Upgrade to 2.8.4 (#196599 #c2)
  162. * Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.8.3-1
  163. - Upgrade to 2.8.3 (#196599)
  164. - Applied Russell Coker's suggested patch to improve the
  165. performance for SELinux machines significantly (#120622)
  166. * Sun Jun 25 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-2
  167. - Fixed multilib conflict of xfs/platform_defs.h (#192755)
  168. * Sun Mar 12 2006 Robert Scheck <redhat@linuxnetz.de> 2.7.11-1
  169. - Upgrade to 2.7.11 and spec file cleanup (#185234)
  170. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2.1
  171. - bump again for double-long bug on ppc(64)
  172. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.7.3-1.2
  173. - rebuilt for new gcc4.1 snapshot and glibc changes
  174. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  175. - rebuilt
  176. * Mon Oct 31 2005 Robert Scheck <redhat@linuxnetz.de> 2.7.3-1
  177. - Upgrade to 2.7.3 and enabled termcap support (#154323)
  178. * Wed Sep 28 2005 Florian La Roche <laroche@redhat.com>
  179. - fixup building with current rpm
  180. * Wed Apr 20 2005 Dave Jones <davej@redhat.com>
  181. - Disable debug. (#151438)
  182. - Rebuild with gcc4
  183. * Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 2.6.13-3
  184. - Rebuilt for new readline.
  185. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  186. - rebuilt
  187. * Wed May 5 2004 Jeremy Katz <katzj@redhat.com> - 2.6.13-1
  188. - update to 2.6.13 per request of upstream
  189. - fixes mount by label of xfs on former raid partition (#122043)
  190. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  191. - rebuilt
  192. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  193. - rebuilt
  194. * Thu Jan 8 2004 Jeremy Katz <katzj@redhat.com> 2.6.0-2
  195. - add defattr (reported by Matthias)
  196. * Tue Dec 23 2003 Elliot Lee <sopwith@redhat.com> 2.6.0-3
  197. - Fix tyops in dependencies
  198. * Mon Dec 22 2003 Jeremy Katz <katzj@redhat.com> 2.6.0-1
  199. - build for Fedora Core
  200. - switch to more explicit file lists, nuke .la files
  201. * Tue Dec 16 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.6.0
  202. - Update to 2.6.0.
  203. * Sat Sep 13 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
  204. - Sync with XFS 1.3.0.
  205. - Update to 2.5.6.
  206. * Thu Apr 10 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.3.9-0_2.90at
  207. - Rebuilt for Red Hat 9.