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 >= 2.59
14 BuildRequires: automake
15 BuildRequires: boost-devel >= 1.33.1
16 BuildRequires: bzip2-devel
17 BuildRequires: libfuse-devel >= 2.6
18 BuildRequires: libmagic-devel
19 BuildRequires: lzo-devel >= 2
20 BuildRequires: libstdc++-devel
21 BuildRequires: rlog-devel >= 1.3
22 BuildRequires: xz-devel
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
53 --bindir=%{_sbindir} \
54 --with-boost-libdir=%{_libdir} \
55 --with-boost-filesystem=boost_filesystem \
56 --with-boost-iostreams=boost_iostreams \
57 --with-boost-program-options=boost_program_options \
58 --with-boost-serialization=boost_serialization \
59 --with-boost-system=boost_system \
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
72 %{__mv} $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress}
73 %{__rm} $RPM_BUILD_ROOT%{_sbindir}/xattrs
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc AUTHORS LICENSE NEWS README TODO
81 %attr(755,root,root) %{_sbindir}/mount.fusecompress
82 %attr(755,root,root) %{_sbindir}/%{name}
83 %attr(755,root,root) %{_sbindir}/%{name}_offline
84 %attr(755,root,root) %{_sbindir}/%{name}_print_compress
85 %{_mandir}/man1/fusecompress.1*
86 %{_mandir}/man1/fusecompress_offline.1*