]>
Commit | Line | Data |
---|---|---|
6f4f39e6 | 1 | %define tag c5e5eb58e48a6ad08298f178a9d91b9539abf883 |
5c426756 | 2 | Summary: Transparent read-write compression filesystem |
4e4f2daf | 3 | Summary(pl.UTF-8): System plików z przezroczystą kompresją danych |
5c426756 | 4 | Name: fusecompress |
6f4f39e6 | 5 | Version: 2.2 |
f69c9b8a | 6 | Release: 0.1 |
5c426756 | 7 | License: GPL |
8 | Group: Applications/System | |
f69c9b8a AM |
9 | # http://github.com/tex/fusecompress/tree/master |
10 | Source0: tex-fusecompress-%{tag}.tar.gz | |
6f4f39e6 | 11 | # Source0-md5: 733fcf027b7d030d659bbb655c527999 |
d7993bac | 12 | Patch0: %{name}-boost.patch |
5c426756 | 13 | URL: http://miio.net/fusecompress/ |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
f69c9b8a | 16 | BuildRequires: boost-devel |
5c426756 | 17 | BuildRequires: bzip2-devel |
18 | BuildRequires: libfuse-devel | |
f93f26da | 19 | BuildRequires: libmagic-devel |
f69c9b8a | 20 | BuildRequires: lzma-devel |
5c426756 | 21 | BuildRequires: libstdc++-devel |
f69c9b8a | 22 | BuildRequires: rlog-devel >= 1.3 |
5c426756 | 23 | BuildRequires: zlib-devel |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | FuseCompress provides a mountable Linux filesystem which transparently | |
28 | compress its content. Files stored in this filesystem are compressed | |
29 | on the fly and Fuse allows to create a transparent interface between | |
30 | compressed files and user applications. | |
31 | ||
32 | %description -l pl.UTF-8 | |
4e4f2daf JB |
33 | FuseCompress udostępnia montowalny system plików, który przezroczyście |
34 | kompresuje swoją zawartość. Pliki przechowywane na tym systemie plików | |
35 | są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty | |
36 | interfejs między skompresowanymi plikami a aplikacjami użytkownika | |
5c426756 | 37 | |
38 | %prep | |
f69c9b8a | 39 | %setup -q -n tex-%{name}-%{tag} |
d7993bac | 40 | %patch0 -p1 |
5c426756 | 41 | |
42 | %build | |
6f4f39e6 | 43 | %{__aclocal} -I m4 |
5c426756 | 44 | %{__autoconf} |
6f4f39e6 AM |
45 | %configure \ |
46 | --with-boost-libdir=%{_libdir} \ | |
47 | --with-boost-serialization=boost_serialization \ | |
48 | --with-boost-iostreams=boost_iostreams \ | |
49 | --with-boost-program-options=boost_program_options \ | |
50 | --with-boost-filesystem=boost_filesystem \ | |
51 | --with-lzma \ | |
52 | --with-z \ | |
53 | --with-bz2 \ | |
54 | --with-lzo2 | |
5c426756 | 55 | %{__make} |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
d7993bac AM |
63 | mv $RPM_BUILD_ROOT%{_bindir}/{print_compress,fusecompress_print_compress} |
64 | ||
5c426756 | 65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS ChangeLog NEWS README TODO | |
71 | %attr(755,root,root) %{_bindir}/%{name} | |
72 | %attr(755,root,root) %{_bindir}/%{name}_offline | |
d7993bac | 73 | %attr(755,root,root) %{_bindir}/%{name}_print_compress |
f0598521 | 74 | %{_mandir}/man1/*.1* |