1 Summary: Set of tools which creates squashfs filesystem
2 Summary(pl): Zestaw narzêdzi do tworzenia systemu plików squashfs
8 Source0: http://belnet.dl.sourceforge.net/sourceforge/squashfs/%{name}%{version}c.tar.gz
9 URL: http://squashfs.sourceforge.net/
10 BuildRequires: zlib-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _sbindir /sbin
16 This package contains utilities for squashfs filesystem.
18 Squashfs is a highly compressed read-only filesystem for Linux (kernel
19 2.4.x). It uses zlib compression to compress both files, inodes and
20 directories. Inodes in the system are very small and all blocks are
21 packed to minimise data overhead. Block sizes greater than 4K are
22 supported up to a maximum of 32K.
24 Squashfs is intended for general read-only filesystem use, for
25 archival use (i.e. in cases where a .tar.gz file may be used), and in
26 constrained block device/memory systems (e.g. embedded systems) where
27 low overhead is needed.
30 Zestaw narzêdzi do tworzenia systemu plików squashfs.
32 Squashfs jest systemem plików tylko do odczytu z du¿ym wspó³czynnikiem
33 kompresji dla Linuksa (j±dra 2.4.x). U¿ywa kompresji zlib do plików,
34 i-wêz³ów oraz katalogów. I-wêz³y s± bardzo ma³e, a wszystkie bloki
35 s± pakowane, aby zmniejszyæ objêto¶æ. Rozmiary bloków powy¿ej 4kB s±
36 obs³ugiwane - maksymalnie do 32kB.
38 Squashfs ma s³u¿yæ jako system plików tylko do odczytu ogólnego
39 przeznaczenia, do sk³adowania archiwów (w tych przypadkach, kiedy
40 mo¿na u¿ywaæ plików .tar.gz) oraz w systemach z du¿ymi ograniczeniami
41 pamiêci i urz±dzeñ blokowych (np. systemach wbudowanych).
44 %setup -q -n squashfs1.0c
50 CFLAGS="%{rpmcflags} -lz"
53 rm -rf $RPM_BUILD_ROOT
55 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_sbindir}/*