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