btrfs-progs-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. Name: btrfs-progs
  2. Version: 4.3.1
  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: https://www.kernel.org/pub/linux/kernel/people/kdave/%{name}/%{name}-v%{version}.tar.xz
  10. # Patches no longer applied, but kept for posterity
  11. # Still must reverse-engineer fixes in there and get upstream
  12. Patch0: btrfs-progs-valgrind.patch
  13. Patch1: btrfs-init-dev-list.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  15. BuildRequires: autoconf, automake
  16. BuildRequires: e2fsprogs-devel, libuuid-devel, zlib-devel
  17. BuildRequires: libacl-devel, libblkid-devel, lzo-devel
  18. BuildRequires: asciidoc, xmlto
  19. %define _sbindir /sbin
  20. %define _libdir /%{_lib}
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. %description
  24. The btrfs-progs package provides all the userpsace programs needed to create,
  25. check, modify and correct any inconsistencies in the btrfs filesystem.
  26. %description -l ja
  27. btrfs-progs パッケージには、btrfs ファイルシステムを作成、チェック、
  28. 変更、不整合の修正などを行うためのユーザスペースプログラムが収録されています。
  29. %package devel
  30. Summary: btrfs filesystem-specific libraries and headers
  31. Summary(ja): btrfs ファイルシステム固有のライブラリ・ヘッダ
  32. Group: Development/Libraries
  33. Requires: btrfs-progs = %{version}-%{release}
  34. %description devel
  35. btrfs-progs-devel contains the libraries and header files needed to
  36. develop btrfs filesystem-specific programs.
  37. You should install btrfs-progs-devel if you want to develop
  38. btrfs filesystem-specific programs.
  39. %description -l ja devel
  40.  btrfs-progs-develにはbtrfs固有のプログラムを開発するために必要な
  41. ライブラリ・ヘッダファイルが収録されています。
  42. %prep
  43. %setup -q -n %{name}-v%{version}
  44. %build
  45. ./autogen.sh
  46. %configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir}/btrfs install DESTDIR=$RPM_BUILD_ROOT
  51. # Nuke the static lib
  52. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
  53. %clean
  54. rm -rf %{buildroot}
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc COPYING
  58. %{_libdir}/libbtrfs.so.0*
  59. %{_sbindir}/btrfsck
  60. %{_sbindir}/fsck.btrfs
  61. %{_sbindir}/mkfs.btrfs
  62. %{_sbindir}/btrfs-debug-tree
  63. %{_sbindir}/btrfs-image
  64. %{_sbindir}/btrfs-convert
  65. %{_sbindir}/btrfs-select-super
  66. %{_sbindir}/btrfstune
  67. %{_sbindir}/btrfs
  68. %{_sbindir}/btrfs-map-logical
  69. %{_sbindir}/btrfs-zero-log
  70. %{_sbindir}/btrfs-find-root
  71. %{_sbindir}/btrfs-show-super
  72. %{_mandir}/man5/*.gz
  73. %{_mandir}/man8/*.gz
  74. %files devel
  75. %{_includedir}/*
  76. %{_libdir}/libbtrfs.so
  77. %changelog
  78. * Sun Dec 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.3.1-1
  79. - new upstream release.
  80. * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-2
  81. - rebuild
  82. * Wed Sep 22 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
  83. - initial package for Vine Linux
  84. * Wed Mar 24 2010 Josef Bacik <josef@toxicpanda.com> 0.19-12
  85. - bring btrfs-progs uptodate with upstream so we can use the new kernel
  86. features, such as the default subvol stuff and snapshot listing.
  87. * Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-11
  88. - fix convert build for DSO linking stuff
  89. * Thu Mar 11 2010 Josef Bacik <josef@toxicpanda.com> 0.19-10
  90. - add btrfs-progs-ustream.patch so we are aligned with upstream
  91. * Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-9
  92. - fix btrfsck so it builds on newer glibcs
  93. * Tue Feb 2 2010 Josef Bacik <josef@toxicpanda.com> 0.19-8
  94. - fix btrfsctl to return 0 on success and 1 on failure
  95. * Tue Aug 25 2009 Josef Bacik <josef@toxicpanda.com> 0.19-7
  96. - add btrfs-progs-valgrind.patch to fix memory leaks and segfaults
  97. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  99. * Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-5
  100. - add e2fsprogs-devel back to BuildRequires since its needed for the converter
  101. * Wed Jul 15 2009 Josef Bacik <josef@toxicpanda.com> 0.19-4
  102. - change BuildRequires for e2fsprogs-devel to libuuid-devel
  103. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-3
  104. - added man pages to the files list and made sure they were installed properly
  105. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-2
  106. - add a patch for the Makefile to make it build everything again
  107. * Fri Jun 19 2009 Josef Bacik <josef@toxicpanda.com> 0.19-1
  108. - update to v0.19 of btrfs-progs for new format
  109. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  111. * Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-3
  112. - updated label patch
  113. * Thu Jan 22 2009 Josef Bacik <josef@toxicpanda.com> 0.18-2
  114. - add a patch to handle having /'s in labels
  115. * Sat Jan 17 2009 Josef Bacik <josef@toxicpanda.com> 0.18-1
  116. - updated to 0.18 because of the ioctl change in 2.6.29-rc2
  117. * Fri Jan 16 2009 Marek Mahut <mmahut@fedoraproject.org> 0.17-4
  118. - RHBZ#480219 btrfs-convert is missing
  119. * Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17-2
  120. - fixed wrong sources upload
  121. * Mon Jan 12 2009 Josef Bacik <josef@toxicpanda.com> 0.17
  122. - Upstream release 0.17
  123. * Sat Jan 10 2009 Kyle McMartin <kyle@redhat.com> 0.16.git1-1
  124. - Upstream git sync from -g72359e8 (needed for kernel...)
  125. * Sat Jan 10 2009 Marek Mahut <mmahut@fedoraproject.org> 0.16-1
  126. - Upstream release 0.16
  127. * Wed Jun 25 2008 Josef Bacik <josef@toxicpanda.com> 0.15-4
  128. -use fedoras normal CFLAGS
  129. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-3
  130. -Actually defined _root_sbindir
  131. -Fixed the make install line so it would install to the proper dir
  132. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-2
  133. -Removed a . at the end of the description
  134. -Fixed the copyright to be GPLv2 since GPL doesn't work anymore
  135. * Mon Jun 23 2008 Josef Bacik <josef@toxicpanda.com> 0.15-1
  136. -Initial build