squashfs-tools-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: squashfs utilities
  2. Summary(ja): squashfs ユーティリティ
  3. Name: squashfs-tools
  4. Version: 4.5
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: daisuke
  10. License: GPLv2+
  11. URL: https://github.com/plougher/squashfs-tools
  12. Source0: https://github.com/plougher/squashfs-tools/archive/%{version}.tar.gz#/squashfs-tools-%{version}.tar.gz
  13. # Mksquashfs: fix duplicate check when last file block is sparse
  14. # git diff 19b161c1cd3e31f7a396ea92dea4390ad43f27b9^ 19b161c1cd3e31f7a396ea92dea4390ad43f27b9 > fix-sparse.patch
  15. # https://bugzilla.gnome.org/show_bug.cgi?id=1985561
  16. Patch0: fix-sparse.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: zlib-devel
  19. BuildRequires: xz-devel
  20. BuildRequires: lzo-devel
  21. BuildRequires: libattr-devel
  22. BuildRequires: lz4-devel
  23. BuildRequires: libzstd-devel
  24. %description
  25. Squashfs is a highly compressed read-only filesystem for Linux. This package
  26. contains the utilities for manipulating squashfs filesystems.
  27. %description -l ja
  28. Squashfs は Linux 用の高圧縮読み込み専用ファイルシステムです。このパッケージ
  29. には squashfs ファイルシステムを操作するためのユーティリティが含まれています。
  30. %debug_package
  31. %prep
  32. %setup -q -n squashfs-tools-%{version}
  33. %patch0 -p1
  34. %build
  35. pushd squashfs-tools
  36. CFLAGS="%{optflags}" \
  37. XZ_SUPPORT=1 \
  38. LZO_SUPPORT=1 \
  39. LZMA_XZ_SUPPORT=1 \
  40. LZ4_SUPPORT=1 \
  41. ZSTD_SUPPORT=1 \
  42. %__make %{?_smp_mflags}
  43. popd
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. mkdir -p $RPM_BUILD_ROOT/sbin
  47. %__install -m 755 squashfs-tools/mksquashfs $RPM_BUILD_ROOT/sbin/mksquashfs
  48. %__install -m 755 squashfs-tools/unsquashfs $RPM_BUILD_ROOT/sbin/unsquashfs
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root,-)
  53. %license COPYING
  54. %doc README-%{version} README ACKNOWLEDGEMENTS CHANGES
  55. %doc RELEASE-READMEs/DONATIONS RELEASE-READMEs/PERFORMANCE.README
  56. %doc RELEASE-READMEs/pseudo-file.example
  57. /sbin/*
  58. %changelog
  59. * Fri Sep 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5-1
  60. - new upstream release.
  61. - dropped Patch0.
  62. - imported Patch0 from rawhide.
  63. * Wed Sep 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.4-1
  64. - new upstream release.
  65. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2-2
  66. - rebuild with VineSeed environment
  67. * Tue Apr 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2-1
  68. - update to 4.2
  69. - XZ, LZMA and LZO support
  70. - XZ compression support requires 2.6.38 or newer kernels.
  71. - LZO compression suppoer requires 2.6.36 ow newer kernels.
  72. - add BR: zlib-devel, xz-devel, lzo-devel, libattr-devel
  73. * Fri Sep 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1-1
  74. - new upstream release
  75. * Wed Oct 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1
  76. - new upstream release
  77. * Mon Jan 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4-1
  78. - new upstream release
  79. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 3.3-1vl5
  80. - applied new versioning policy, spec in utf-8
  81. * Sat Dec 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3-0vl1
  82. - new upstream release
  83. * Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-0vl1
  84. - initial build for Vine Linux