1 %define tag c5e5eb58e48a6ad08298f178a9d91b9539abf883
2 Summary: Transparent read-write compression filesystem
3 Summary(pl.UTF-8): System plików z przezroczystą kompresją danych
8 Group: Applications/System
9 Source0: https://github.com/tex/fusecompress/archive/2.6.tar.gz
10 # Source0-md5: 923688bd13b9d87fb74a0449bdf86724
11 Patch0: fusecompress-git.patch
12 URL: https://code.google.com/p/fusecompress/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: boost-devel
16 BuildRequires: bzip2-devel
17 BuildRequires: libfuse-devel
18 BuildRequires: libmagic-devel
19 BuildRequires: lzma-devel
20 BuildRequires: lzo-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: rlog-devel >= 1.3
23 BuildRequires: zlib-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
32 %description -l pl.UTF-8
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
39 %setup -q -n %{name}-%{version}
42 # gold causes really weird issues with fuse apps
44 [ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
47 PATH=$(pwd)/ld-dir:$PATH
51 --bindir=%{_sbindir} \
52 --with-boost-libdir=%{_libdir} \
53 --with-boost-serialization=boost_serialization \
54 --with-boost-iostreams=boost_iostreams \
55 --with-boost-program-options=boost_program_options \
56 --with-boost-filesystem=boost_filesystem \
57 --with-boost-system=boost_system \
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 mv $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress}
71 rm $RPM_BUILD_ROOT%{_sbindir}/xattrs
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc AUTHORS NEWS README TODO
79 %attr(755,root,root) %{_sbindir}/mount.fusecompress
80 %attr(755,root,root) %{_sbindir}/%{name}
81 %attr(755,root,root) %{_sbindir}/%{name}_offline
82 %attr(755,root,root) %{_sbindir}/%{name}_print_compress