## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: squashfs-tools-ng Version: 1.2.0 Summary: A new set of tools and libraries for working with SquashFS images URL: https://github.com/AgentD/squashfs-tools-ng Source0: https://infraroot.at/pub/squashfs/squashfs-tools-ng-%{version}.tar.gz Release: %autorelease License: LGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT BuildRequires: make BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: xz-devel BuildRequires: lzo-devel BuildRequires: libattr-devel BuildRequires: lz4-devel BuildRequires: libzstd-devel BuildRequires: help2man %description Squashfs is a highly compressed read-only filesystem for Linux. This package contains modified utilities for manipulating squashfs filesystems. %package devel Summary: Header files for squashfs-tools-ng development Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The squashfs-tools-ng package contains the header files needed to develop programs that use the squashfs-tools-ng libsquashfs library. %prep %autosetup %build %configure --disable-static %make_build %install %make_install %files %license COPYING* %doc README* CHANGELOG* %{_libdir}/libsquashfs.so.1* %{_bindir}/gensquashfs %{_bindir}/rdsquashfs %{_bindir}/sqfs2tar %{_bindir}/sqfsdiff %{_bindir}/tar2sqfs %{_mandir}/man1/gensquashfs.1.* %{_mandir}/man1/rdsquashfs.1.* %{_mandir}/man1/sqfs2tar.1.* %{_mandir}/man1/sqfsdiff.1.* %{_mandir}/man1/tar2sqfs.1.* %files devel %license COPYING* %doc doc/architecture.md doc/benchmark.txt doc/format.adoc doc/parallelism.txt %{_libdir}/libsquashfs.so %dir %{_includedir}/sqfs %{_includedir}/sqfs/* %{_libdir}/pkgconfig/libsquashfs1.pc %changelog * Fri Oct 13 2023 David Trudgian - 1.2.0-1 - Initial packaging of upstream 1.2.0