btrfs-progs-vl.spec 6.2 KB

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