]> git.pld-linux.org Git - packages/cromfs.git/blob - cromfs.spec
- updated to 1.5.10.2
[packages/cromfs.git] / cromfs.spec
1 Summary:        Compressed ROM filesystem for Linux in user-space
2 Summary(pl.UTF-8):      System plików Compressed ROM dla Linuksa działający w przestrzeni użytkownika
3 Name:           cromfs
4 Version:        1.5.10.1
5 Release:        1
6 License:        GPL v3
7 Group:          Applications/System
8 Source0:        http://bisqwit.iki.fi/src/arch/%{name}-%{version}.tar.bz2
9 # Source0-md5:  19085af9785dcf007138a959612c254c
10 URL:            http://bisqwit.iki.fi/source/cromfs.html
11 BuildRequires:  libfuse-devel >= 0:2.5.2
12 %if "%{cc_version}" >= "4.2"
13 BuildRequires:  libgomp-devel
14 %endif
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  lzo-devel >= 2
17 BuildRequires:  rpmbuild(macros) >= 1.167
18 Requires:       libfuse >= 0:2.5.2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Cromfs is a compressed read-only filesystem for Linux. Cromfs is
23 intended for permanently archiving gigabytes of big files that have
24 lots of redundancy.
25
26 In terms of compression it is much similar to 7-zip files, except that
27 practical realtime access (albeit much slower than on most other
28 filesystems) can be provided for the whole archive contents; the user
29 does not need to launch a program to decompress a single file, nor
30 does he need to wait while the system decompresses 500 files from a
31 1000-file archive to get him the 1 file he wanted to open.
32
33 The creation of cromfs was inspired from Squashfs and Cramfs.
34
35 %description -l pl.UTF-8
36 cromfs to kompresowany system plików tylko do odczytu dla Linuksa.
37 Jest przeznaczony do trwałego archiwizowania gigabajtów dużych plików
38 o dużej redundancji.
39
40 Jeśli chodzi o kompresję, jest bardzo podobny do plików 7-zip, ale z
41 możliwością dostępu praktycznie w czasie rzeczywistym (choć dużo
42 wolniejszym, niż w przypadku większości innych systemów plików) do
43 całej zawartości archiwum; użytkownik nie musi uruchamiać programu do
44 dekompresji pojedynczego pliku ani czekać na zdekompresowanie 500
45 plików z 1000-plikowego archiwum, aby uzyskać 1 pożądany plik.
46
47 Stworzenie cromfs było zainspirowane systemami plików squashfs i
48 cramfs.
49
50 %prep
51 %setup -q
52
53 %build
54 ./configure
55 %{__make} \
56         CC="%{__cc}" \
57         CPP="%{__cpp}" \
58         CXX="%{__cxx}" \
59         CFLAGS="%{rpmcflags}" \
60         CXXFLAGS="%{rpmcxxflags}" \
61         OPTIM="%{rpmcflags}" \
62         PROGS="cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs"
63
64 %{__make} test \
65         PROGS="cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_bindir}
70
71 install cromfs-driver   $RPM_BUILD_ROOT%{_bindir}
72 install util/mkcromfs   $RPM_BUILD_ROOT%{_bindir}
73 install util/unmkcromfs $RPM_BUILD_ROOT%{_bindir}
74 install util/cvcromfs   $RPM_BUILD_ROOT%{_bindir}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc doc/ChangeLog doc/FORMAT README.html
82 %attr(755,root,root) %{_bindir}/cromfs-driver
83 %attr(755,root,root) %{_bindir}/cvcromfs
84 %attr(755,root,root) %{_bindir}/mkcromfs
85 %attr(755,root,root) %{_bindir}/unmkcromfs
This page took 0.053298 seconds and 3 git commands to generate.