squashfs/squashfs.spec

85 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: squashfs
Version: 4.5
Release: 1mamba
Summary: Tools for Squashfs, a compressed read-only filesystem for Linux
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://squashfs.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/squashfs/squashfs%{version}.tar.gz
Source1: http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2
Patch0: %{name}-4.0-lzma.patch
Patch1: %{name}-4.5-Makefile_config.patch
Patch2: %{name}-4.2-Makefile_xz.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
%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. The filesystem is currently stable, and has been tested on PowerPC, i586, Sparc and ARM architectures.
%debug_package
%prep
%setup -q -n %{name}-tools-%{version} -a1
%patch1 -p1
#%patch2 -p1
%build
cd squashfs-tools
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
cd squashfs-tools
install -D -m 0755 mksquashfs %{buildroot}%{_bindir}/mksquashfs
install -D -m 0755 unsquashfs %{buildroot}%{_bindir}/unsquashfs
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/mksquashfs
%{_bindir}/unsquashfs
%doc COPYING
#CHANGES README
%changelog
* Sun Jul 25 2021 Automatic Build System <autodist@mambasoft.it> 4.5-1mamba
- automatic version update by autodist
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-1mamba
- update to 4.4
* Sat May 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-2mamba
- rebuilt with xz support
* Wed Mar 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-1mamba
- update to 4.2
* Mon Feb 08 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-2mamba
- added patch for lzma support and rebuilt using lzma sdk
* Tue Apr 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
- update to 4.0
* Sun Sep 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4-1mamba
- update to 3.4
* Fri Jul 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3-2mamba
- applied patch to fix hang problem while creating livegames dvd
* Tue Jan 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3-1mamba
- update to 3.3
* Fri Jun 30 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1qilnx
- package created by autospec