btrfs-progs-vl.spec 6.5 KB

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