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