Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37041742
en ru br
ALT Linux repositórios
S:4.6.1-alt1

Group :: Sistema/Kernel e hardware
RPM: squashfs-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: squashfs-tools
Version: 4.6.1
Release: alt1

Summary: squashfs support
License: GPLv2
Group: System/Kernel and hardware
Url: https://github.com/plougher/squashfs-tools
Source: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildRequires: zlib-devel liblzma-devel liblzo2-devel libzstd-devel
Provides: squashfsprogs = %version-%release
Obsoletes: squashfsprogs

%description
Squashfs is a compressed read-only filesystem for Linux. Squashfs is
intended for general read-only filesystem use, for archival use
(i.e. in cases where a .tar.gz file may be used), and in constrained
block device/memory systems (e.g. embedded systems) where low overhead
is needed.

This package contains the utilities to (un)compress squashfs images.

%prep
%setup
%patch0 -p1

%build
export CFLAGS="%optflags"
pushd squashfs-tools
%make_build XZ_SUPPORT=1 LZO_SUPPORT=1 ZSTD_SUPPORT=1 COMP_DEFAULT=xz
popd

%install
pushd manpages
install -pDm755 mksquashfs.1 %buildroot%_man1dir/mksquashfs.1
install -pDm755 unsquashfs.1 %buildroot%_man1dir/unsquashfs.1
install -pDm755 sqfstar.1 %buildroot%_man1dir/sqfstar.1
install -pDm755 sqfscat.1 %buildroot%_man1dir/sqfscat.1
popd

pushd squashfs-tools
install -pDm755 mksquashfs %buildroot/sbin/mksquashfs
install -pDm755 unsquashfs %buildroot/%_bindir/unsquashfs
install -pDm755 sqfstar %buildroot/%_bindir/sqfstar
install -pDm755 sqfscat %buildroot/%_bindir/sqfscat
ln -sf mksquashfs %buildroot/sbin/mkfs.squashfs
ln -sf ../../sbin/mksquashfs %buildroot%_bindir/mksquashfs
popd

%files
%doc README* CHANGES USAGE* ACTIONS-README
/sbin/*
%_bindir/*
%_man1dir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009