]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- amd64 patch for squashfs-tools-2.0_alpha from http://bugs.gentoo.org/show_bug.cgi...
[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:        2
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://dl.sourceforge.net/squashfs/%{name}%{version}-ALPHA.tar.gz
9 # Source0-md5:  1729912704a299285be7b63988fe23b3
10 Patch0:         %{name}-amd64.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 and 2.6.x). It uses zlib compression to compress both files,
22 inodes and directories. Inodes in the system are very small and all
23 blocks are packed to minimise data overhead. Block sizes greater than
24 4K are supported up to a maximum of 64K.
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 i 2.6.x). U¿ywa kompresji zlib do
36 plików, i-wêz³ów oraz katalogów. I-wêz³y s± bardzo ma³e, a wszystkie
37 bloki s± pakowane, aby zmniejszyæ objêto¶æ. Rozmiary bloków powy¿ej
38 4kB s± obs³ugiwane - maksymalnie do 64kB.
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="-I. %{rpmcflags}"
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.044877 seconds and 4 git commands to generate.