## 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 Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description Squashfs is a highly compressed read-only filesystem for Linux. This package contains modified utilities for manipulating squashfs filesystems. %package libs Summary: The squashfs-tools-ng libsquashfs library %description libs The squashfs-tools-ng-libs package contains the libsquashfs library provided and used by squashfs-tools-ng. %package devel Summary: Header files for squashfs-tools-ng development Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel The squashfs-tools-ng-devel 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 %check make check %files %license COPYING* %doc README* CHANGELOG* %{_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 libs %license COPYING* %{_libdir}/libsquashfs.so.1{,.*} %files devel %license COPYING* %doc doc/architecture.md doc/benchmark.txt doc/format.adoc doc/parallelism.txt %{_libdir}/libsquashfs.so %{_includedir}/sqfs/ %{_libdir}/pkgconfig/libsquashfs1.pc %changelog * Wed Nov 08 2023 David Trudgian - 1.2.0-1 - Initial packaging of upstream 1.2.0