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