]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- add readdir.patch from Phillip Lougher <phillip at lougher.demon.co.uk>
[packages/squashfs.git] / squashfs.spec
1 Summary:        Set of tools which creates squashfs filesystem
2 Summary(pl):    Zestaw narzêdzi do tworzenia systemu plików squashfs
3 Name:           squashfs
4 Version:        1.2
5 Release:        2
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://dl.sourceforge.net/sourceforge/%{name}/%{name}%{version}.tar.gz
9 # Source0-md5:  e06ffd204a621c77955ea6b8d68ea5d2
10 Patch0:         %{name}-readdir.patch
11 URL:            http://squashfs.sourceforge.net/
12 BuildRequires:  zlib-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 This package contains utilities for squashfs filesystem.
19
20 Squashfs is a highly compressed read-only filesystem for Linux (kernel
21 2.4.x). It uses zlib compression to compress both files, inodes and
22 directories. Inodes in the system are very small and all blocks are
23 packed to minimise data overhead. Block sizes greater than 4K are
24 supported up to a maximum of 32K.
25
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.
30
31 %description -l pl
32 Zestaw narzêdzi do tworzenia systemu plików squashfs.
33
34 Squashfs jest systemem plików tylko do odczytu z du¿ym wspó³czynnikiem
35 kompresji dla Linuksa (j±dra 2.4.x). U¿ywa kompresji zlib do plików,
36 i-wêz³ów oraz katalogów. I-wêz³y s± bardzo ma³e, a wszystkie bloki
37 s± pakowane, aby zmniejszyæ objêto¶æ. Rozmiary bloków powy¿ej 4kB s±
38 obs³ugiwane - maksymalnie do 32kB.
39
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).
44
45 %prep
46 %setup -q -n %{name}%{version}
47 %patch0 -p1
48
49 %build
50 cd squashfs-tools
51 %{__make} \
52         CC="%{__cc}" \
53         CFLAGS="%{rpmcflags} -lz"
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc README ACKNOWLEDGEMENTS CHANGES
66 %attr(755,root,root) %{_sbindir}/*
This page took 0.041787 seconds and 4 git commands to generate.