]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- add lseek.patch s/lseek64/lseek/
[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.1b
5 Release:        2
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://belnet.dl.sourceforge.net/sourceforge/squashfs/%{name}%{version}.tar.gz
9 Patch0:         %{name}-lseek.patch
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). It uses zlib compression to compress both files, inodes and
21 directories. Inodes in the system are very small and all blocks are
22 packed to minimise data overhead. Block sizes greater than 4K are
23 supported up to a maximum of 32K.
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
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). U¿ywa kompresji zlib do plików,
35 i-wêz³ów oraz katalogów. I-wêz³y s± bardzo ma³e, a wszystkie bloki
36 s± pakowane, aby zmniejszyæ objêto¶æ. Rozmiary bloków powy¿ej 4kB s±
37 obs³ugiwane - maksymalnie do 32kB.
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}
46 %patch0 -p1
47
48 %build
49 cd squashfs-tools
50 %{__make} \
51         CC="%{__cc}" \
52         CFLAGS="%{rpmcflags} -lz"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README ACKNOWLEDGEMENTS CHANGES
65 %attr(755,root,root) %{_sbindir}/*
This page took 0.064488 seconds and 4 git commands to generate.