]>
Commit | Line | Data |
---|---|---|
3bedee6a | 1 | Summary: Compressed ROM filesystem for Linux in user-space |
2 | Name: cromfs | |
3 | Version: 1.1.0.1 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Applications | |
7 | Source0: http://bisqwit.iki.fi/src/arch/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 54b91063f21781330a8a7ef27faae19c | |
9 | URL: http://bisqwit.iki.fi/source/cromfs.html | |
10 | BuildRequires: libfuse-devel | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Cromfs is a compressed read-only filesystem for Linux. Cromfs is | |
15 | intended for permanently archiving gigabytes of big files that have | |
16 | lots of redundancy. | |
17 | ||
18 | In terms of compression it is much similar to 7-zip files, except that | |
19 | practical realtime access (albeit much slower than on most other | |
20 | filesystems) can be provided for the whole archive contents; the user | |
21 | does not need to launch a program to decompress a single file, nor | |
22 | does he need to wait while the system decompresses 500 files from a | |
23 | 1000-file archive to get him the 1 file he wanted to open. | |
24 | ||
25 | The creation of cromfs was inspired from Squashfs and Cramfs. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CXX="%{__cxx}" \ | |
33 | CXXFLAGS="%{rpmcflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
39 | install cromfs-driver $RPM_BUILD_ROOT%{_bindir} | |
40 | install util/mkcromfs $RPM_BUILD_ROOT%{_bindir} | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc doc/ChangeLog doc/FORMAT README.html | |
48 | %attr(755,root,root) %{_bindir}/* |