btrfs-progs-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Name: btrfs-progs
  2. Version: 0.19
  3. Release: 1%{?_dist_release}
  4. Summary: Userspace programs for btrfs
  5. Summary(ja): btrfs ファイルシステム用ユーザスペースプログラム集
  6. Group: System Environment/Base
  7. License: GPLv2
  8. URL: http://btrfs.wiki.kernel.org/index.php/Main_Page
  9. Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
  10. Patch0: btrfs-progs-fix-labels.patch
  11. Patch1: btrfs-progs-build-everything.patch
  12. Patch2: btrfs-progs-valgrind.patch
  13. Patch3: btrfs-progs-fix-return-value.patch
  14. Patch4: btrfs-progs-build-fixes.patch
  15. Patch5: btrfs-progs-upstream.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  17. BuildRequires: e2fsprogs-devel, libuuid-devel, zlib-devel, libacl-devel
  18. %define _root_sbindir /sbin
  19. %description
  20. The btrfs-progs package provides all the userpsace programs needed to create,
  21. check, modify and correct any inconsistencies in the btrfs filesystem.
  22. %description -l ja
  23. btrfs-progs パッケージには、btrfs ファイルシステムを作成、チェック、
  24. 変更、不整合の修正などを行うためのユーザスペースプログラムが収録されています。
  25. %prep
  26. %setup -q
  27. %patch0 -p1
  28. %patch2 -p1
  29. %patch3 -p1
  30. %patch4 -p1
  31. %patch5 -p1
  32. %patch1 -p1
  33. %build
  34. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  35. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} LDFLAGS="-lcom_err" convert
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make mandir=%{_mandir} bindir=%{_root_sbindir} install DESTDIR=$RPM_BUILD_ROOT
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc COPYING INSTALL
  44. %{_root_sbindir}/btrfsctl
  45. %{_root_sbindir}/btrfsck
  46. %{_root_sbindir}/mkfs.btrfs
  47. %{_root_sbindir}/btrfs-debug-tree
  48. %{_root_sbindir}/btrfs-image
  49. %{_root_sbindir}/btrfs-show
  50. %{_root_sbindir}/btrfs-vol
  51. %{_root_sbindir}/btrfs-convert
  52. %{_root_sbindir}/btrfstune
  53. %{_root_sbindir}/btrfs
  54. %{_root_sbindir}/btrfs-map-logical
  55. %{_mandir}/man8/btrfs-image.8.gz
  56. %{_mandir}/man8/btrfs-show.8.gz
  57. %{_mandir}/man8/btrfsck.8.gz
  58. %{_mandir}/man8/btrfsctl.8.gz
  59. %{_mandir}/man8/mkfs.btrfs.8.gz
  60. %{_mandir}/man8/btrfs.8.gz
  61. %changelog
  62. * Wed Sep 22 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
  63. - initial package for Vine Linux
  64. * Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-12
  65. - bring btrfs-progs uptodate with upstream so we can use the new kernel
  66. features, such as the default subvol stuff and snapshot listing.
  67. * Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
  68. - fix convert build for DSO linking stuff
  69. * Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
  70. - add btrfs-progs-ustream.patch so we are aligned with upstream
  71. * Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
  72. - fix btrfsck so it builds on newer glibcs
  73. * Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
  74. - fix btrfsctl to return 0 on success and 1 on failure
  75. * Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
  76. - add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
  77. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
  80. - add e2fsprogs-devel back to BuildRequires since its needed for the converter
  81. * Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
  82. - change BuildRequires for e2fsprogs-devel to libuuid-devel
  83. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
  84. - added man pages to the files list and made sure they were installed properly
  85. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
  86. - add a patch for the Makefile to make it build everything again
  87. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
  88. - update to v0.19 of btrfs-progs for new format
  89. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
  92. - updated label patch
  93. * Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
  94. - add a patch to handle having /'s in labels
  95. * Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
  96. - updated to 0.18 because of the ioctl change in 2.6.29-rc2
  97. * Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
  98. - RHBZ#480219 btrfs-convert is missing
  99. * Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
  100. - fixed wrong sources upload
  101. * Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
  102. - Upstream release 0.17
  103. * Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
  104. - Upstream git sync from -g72359e8 (needed for kernel...)
  105. * Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
  106. - Upstream release 0.16
  107. * Mon Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
  108. -use fedoras normal CFLAGS
  109. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
  110. -Actually defined _root_sbindir
  111. -Fixed the make install line so it would install to the proper dir
  112. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
  113. -Removed a . at the end of the description
  114. -Fixed the copyright to be GPLv2 since GPL doesn't work anymore
  115. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
  116. -Initial build