btrfs-progs-vl.spec 5.2 KB

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