squashfs-tools/squashfs-tools.spec

68 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:17:34 -04:00
Name: squashfs-tools
2023-07-21 15:35:34 +08:00
Version: 4.6.1
Release: 1
2019-09-30 11:17:34 -04:00
Summary: Utility for the squashfs filesystems
License: GPLv2+
URL: http://squashfs.sourceforge.net/
2023-07-21 15:35:34 +08:00
Source0: https://sourceforge.net/projects/squashfs/files/squashfs/squashfs%{version}/squashfs%{version}.tar.gz
2019-09-30 11:17:34 -04:00
BuildRequires: zlib-devel xz-devel libzstd-devel
2021-06-29 17:06:23 +08:00
BuildRequires: lzo-devel libattr-devel lz4-devel gcc
2019-09-30 11:17:34 -04:00
%description
Squashfs is a highly compressed read-only filesystem for Linux.
2019-11-06 19:53:21 +08:00
It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes
2019-09-30 11:17:34 -04:00
and directories.
%prep
2021-11-25 17:07:44 +08:00
%autosetup -n squashfs-tools-%{version} -p1
2019-09-30 11:17:34 -04:00
%build
CFLAGS="%{optflags} -fPIE -pie -fPIC" XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 \
2019-09-30 11:17:34 -04:00
%make_build -C squashfs-tools
%install
install -D -m 755 squashfs-tools/mksquashfs %{buildroot}%{_sbindir}/mksquashfs
install -D -m 755 squashfs-tools/unsquashfs %{buildroot}%{_sbindir}/unsquashfs
%files
%defattr(-,root,root)
2023-07-21 15:35:34 +08:00
%doc ACKNOWLEDGEMENTS README-%{version}
2019-09-30 11:17:34 -04:00
%license COPYING
%{_sbindir}/mksquashfs
%{_sbindir}/unsquashfs
%changelog
2023-07-21 15:35:34 +08:00
* Fri Jul 21 2023 wuguanghao <wuguanghao3@huawei.com> - 4.6.1-1
- upgrade to 4.6.1
* Wed Mar 8 2023 wuguanghao <wuguanghao3@huawei.com> - 4.5.1-2
- add safe compilation options PIE/pie/PIC
2022-07-23 19:05:43 +08:00
* Sat Aug 13 2022 volcanodragon <linfeilong@huawei.com> - 4.5.1-1
- update version to 4.5.1
2021-11-25 17:07:44 +08:00
* Thu Nov 25 2021 yanglongkang <yanglongkang@huawei.com> - 4.5-1
- update to 4.5
2021-11-09 20:42:27 +08:00
* Tue Nov 9 2021 yanglongkang <yanglongkang@huawei.com> - 4.4-5
- Fix CVE-2021-40153 CVE-2021-41072
2021-11-09 20:42:27 +08:00
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.4-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
2021-06-29 17:06:23 +08:00
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 4.4-3
- add buildrequire gcc.
* Mon Jul 13 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 4.4-2
- backport upstream bugfix patches
2019-11-06 19:53:21 +08:00
* Tue Oct 15 2019 zhanghaibo <ted.zhang@huawei.com> - 4.4-1
- Rebase to version 4.4
2019-09-30 11:17:34 -04:00
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 4.3-17
- Package init