1 Summary: Set of tools which creates squashfs filesystem
2 Summary(pl.UTF-8): Zestaw narzędzi do tworzenia systemu plików squashfs
8 Source0: http://dl.sourceforge.net/squashfs/%{name}%{version}-r2.tar.gz
9 # Source0-md5: bf360b92eba9e6d5610196ce2e02fcd1
10 URL: http://squashfs.sourceforge.net/
11 BuildRequires: zlib-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _sbindir /sbin
17 This package contains utilities for squashfs filesystem.
19 Squashfs is a highly compressed read-only filesystem for Linux (kernel
20 2.4.x and 2.6.x). It uses zlib compression to compress both files,
21 inodes and directories. Inodes in the system are very small and all
22 blocks are packed to minimise data overhead. Block sizes greater than
23 4K are supported up to a maximum of 64K.
25 Squashfs is intended for general read-only filesystem use, for
26 archival use (i.e. in cases where a .tar.gz file may be used), and in
27 constrained block device/memory systems (e.g. embedded systems) where
28 low overhead is needed.
30 %description -l pl.UTF-8
31 Zestaw narzędzi do tworzenia systemu plików squashfs.
33 Squashfs jest systemem plików tylko do odczytu z dużym współczynnikiem
34 kompresji dla Linuksa (jądra 2.4.x i 2.6.x). Używa kompresji zlib do
35 plików, i-węzłów oraz katalogów. I-węzły są bardzo małe, a wszystkie
36 bloki są pakowane, aby zmniejszyć objętość. Rozmiary bloków powyżej
37 4kB są obsługiwane - maksymalnie do 64kB.
39 Squashfs ma służyć jako system plików tylko do odczytu ogólnego
40 przeznaczenia, do składowania archiwów (w tych przypadkach, kiedy
41 można używać plików .tar.gz) oraz w systemach z dużymi ograniczeniami
42 pamięci i urządzeń blokowych (np. systemach wbudowanych).
45 %setup -q -n %{name}%{version}-r2
48 %{__make} -C squashfs-tools \
50 CFLAGS="-I. %{rpmcflags}"
53 rm -rf $RPM_BUILD_ROOT
55 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
56 install squashfs-tools/unsquashfs $RPM_BUILD_ROOT%{_sbindir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc *README* ACKNOWLEDGEMENTS CHANGES
64 %attr(755,root,root) %{_sbindir}/*