]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- squashfs2.0-r2
[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:        2.0
5 Release:        4
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://dl.sourceforge.net/squashfs/%{name}%{version}-r2.tar.gz
9 # Source0-md5:  0b7fcaab8e634ae2385984885c731082
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
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 cd squashfs-tools
49 %{__make} \
50         CC="%{__cc}" \
51         CFLAGS="-I. %{rpmcflags}"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
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.075031 seconds and 4 git commands to generate.