]> git.pld-linux.org Git - packages/squashfs.git/blob - squashfs.spec
- init PLD spec
[packages/squashfs.git] / squashfs.spec
1 Summary:        Set of tools which creates squashfs filesytem
2 Summary(pl):    Zestaw narzêdzi do tworzenia systemu plików squashfs
3 Name:           squashfs
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          Base/Utilities
8 Source0:        http://belnet.dl.sourceforge.net/sourceforge/squashfs/%{name}%{version}b.tar.gz
9 URL:            http://squashfs.sourceforge.net/
10 BuildRequires:  zlib-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _sbindir        /sbin
14
15 %description
16 Squashfs is a highly compressed read-only filesystem for Linux (kernel
17 2.4.x). It uses zlib compression to compress both files, inodes and
18 directories. Inodes in the system are very small and all blocks are
19 packed to minimise data overhead. Block sizes greater than 4K are
20 supported up to a maximum of 32K.
21
22 Squashfs is intended for general read-only filesystem use, for
23 archival use (i.e. in cases where a .tar.gz file may be used), and in
24 constrained block device/memory systems (e.g. embedded systems) where
25 low overhead is needed.
26
27 %description -l pl
28 Zestaw narzêdzi do tworzenia systemu plików squashfs.
29
30 %prep
31 %setup -q -n squashfs1.0b
32
33 %build
34 cd squashfs-tools
35 %{__make} \
36         CC="%{__cc}" \
37         CFLAGS="%{rpmcflags} -lz"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %attr(755,root,root) %{_sbindir}
This page took 0.221339 seconds and 4 git commands to generate.