squashfs-tools-vl.spec 2.7 KB

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