]> git.pld-linux.org Git - packages/squashfs.git/blame - squashfs.spec
- final 4.1 with lzo and lzma support (xz-devel)
[packages/squashfs.git] / squashfs.spec
CommitLineData
35563bed 1Summary: Set of tools which creates squashfs filesystem
38ab0197 2Summary(pl.UTF-8): Zestaw narzędzi do tworzenia systemu plików squashfs
9d2ba463 3Name: squashfs
49b7dc23 4Version: 4.1
5ffebeaf 5Release: 1
9d2ba463 6License: GPL
7Group: Base/Utilities
5ffebeaf 8Source0: http://dl.sourceforge.net/squashfs/%{name}%{version}.tar.gz
9# Source0-md5: 8e1b2b96f5d5f3fe48fef226ae8cd341
9d2ba463 10URL: http://squashfs.sourceforge.net/
5ffebeaf 11BuildRequires: lzo-devel >= 2.04
12BuildRequires: xz-devel >= 5.0.0
9d2ba463 13BuildRequires: zlib-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _sbindir /sbin
17
18%description
35563bed
JB
19This package contains utilities for squashfs filesystem.
20
9d2ba463 21Squashfs is a highly compressed read-only filesystem for Linux (kernel
723a05e1 222.6.29 and above). It uses zlib compression to compress both files,
216a81cc 23inodes and directories. Inodes in the system are very small and all
24blocks are packed to minimise data overhead. Block sizes greater than
254K are supported up to a maximum of 64K.
9d2ba463 26
27Squashfs is intended for general read-only filesystem use, for
28archival use (i.e. in cases where a .tar.gz file may be used), and in
29constrained block device/memory systems (e.g. embedded systems) where
30low overhead is needed.
31
62a07391
JR
32%description -l pl.UTF-8
33Zestaw narzędzi do tworzenia systemu plików squashfs.
9d2ba463 34
62a07391 35Squashfs jest systemem plików tylko do odczytu z dużym współczynnikiem
723a05e1 36kompresji dla Linuksa (2.6.29 i nowsze). Używa kompresji zlib do
62a07391
JR
37plików, i-węzłów oraz katalogów. I-węzły są bardzo małe, a wszystkie
38bloki są pakowane, aby zmniejszyć objętość. Rozmiary bloków powyżej
394kB są obsługiwane - maksymalnie do 64kB.
35563bed 40
62a07391
JR
41Squashfs ma służyć jako system plików tylko do odczytu ogólnego
42przeznaczenia, do składowania archiwów (w tych przypadkach, kiedy
43można używać plików .tar.gz) oraz w systemach z dużymi ograniczeniami
44pamięci i urządzeń blokowych (np. systemach wbudowanych).
35563bed 45
9d2ba463 46%prep
5ffebeaf 47%setup -q -n %{name}%{version}
48sed -i -e 's/^#XZ_SUPPORT.*=.*/XZ_SUPPORT = 1/' squashfs-tools/Makefile
49sed -i -e 's/^#LZO_SUPPORT.*=.*/LZO_SUPPORT = 1/' squashfs-tools/Makefile
50sed -i -e "s/-O2 -Wall/%{rpmcflags}/" squashfs-tools/Makefile
9d2ba463 51
52%build
c8124a00 53%{__make} -C squashfs-tools \
5ffebeaf 54 CC="%{__cc}"
9d2ba463 55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59install -D squashfs-tools/mksquashfs $RPM_BUILD_ROOT%{_sbindir}/mksquashfs
475ca93f 60install squashfs-tools/unsquashfs $RPM_BUILD_ROOT%{_sbindir}
9d2ba463 61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
35563bed 67%attr(755,root,root) %{_sbindir}/*
This page took 0.03228 seconds and 4 git commands to generate.