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