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