]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- update to 3.2-r2:
[packages/squashfs.git] / squashfs.spec
1 Summary:        Set of tools which creates squashfs filesystem
2 Summary(pl.UTF-8):      Zestaw narzędzi do tworzenia systemu plików squashfs
3 Name:           squashfs
4 Version:        3.2
5 Release:        2
6 License:        GPL
7 Group:          Base/Utilities
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)
13
14 %define         _sbindir        /sbin
15
16 %description
17 This package contains utilities for squashfs filesystem.
18
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.
24
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.
29
30 %description -l pl.UTF-8
31 Zestaw narzędzi do tworzenia systemu plików squashfs.
32
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.
38
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).
43
44 %prep
45 %setup -q -n %{name}%{version}-r2
46
47 %build
48 %{__make} -C squashfs-tools \
49         CC="%{__cc}" \
50         CFLAGS="-I. %{rpmcflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
56 install    squashfs-tools/unsquashfs $RPM_BUILD_ROOT%{_sbindir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc *README* ACKNOWLEDGEMENTS CHANGES
64 %attr(755,root,root) %{_sbindir}/*
This page took 0.159897 seconds and 4 git commands to generate.