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