]>
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 |
a19841f1 | 5 | Version: 2.6 |
06e73388 AM |
6 | # known data corruption: https://bugzilla.redhat.com/show_bug.cgi?id=995998, dead upstream |
7 | Release: 8.1 | |
83653df3 | 8 | License: GPL v2+ |
5c426756 | 9 | Group: Applications/System |
a19841f1 AM |
10 | Source0: https://github.com/tex/fusecompress/archive/2.6.tar.gz |
11 | # Source0-md5: 923688bd13b9d87fb74a0449bdf86724 | |
12 | Patch0: fusecompress-git.patch | |
13 | URL: https://code.google.com/p/fusecompress/ | |
83653df3 | 14 | BuildRequires: autoconf >= 2.59 |
5c426756 | 15 | BuildRequires: automake |
83653df3 | 16 | BuildRequires: boost-devel >= 1.33.1 |
5c426756 | 17 | BuildRequires: bzip2-devel |
83653df3 | 18 | BuildRequires: libfuse-devel >= 2.6 |
f93f26da | 19 | BuildRequires: libmagic-devel |
83653df3 | 20 | BuildRequires: lzo-devel >= 2 |
5c426756 | 21 | BuildRequires: libstdc++-devel |
f69c9b8a | 22 | BuildRequires: rlog-devel >= 1.3 |
83653df3 | 23 | BuildRequires: xz-devel |
5c426756 | 24 | BuildRequires: zlib-devel |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | FuseCompress provides a mountable Linux filesystem which transparently | |
29 | compress its content. Files stored in this filesystem are compressed | |
30 | on the fly and Fuse allows to create a transparent interface between | |
31 | compressed files and user applications. | |
32 | ||
33 | %description -l pl.UTF-8 | |
4e4f2daf JB |
34 | FuseCompress udostępnia montowalny system plików, który przezroczyście |
35 | kompresuje swoją zawartość. Pliki przechowywane na tym systemie plików | |
36 | są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty | |
37 | interfejs między skompresowanymi plikami a aplikacjami użytkownika | |
5c426756 | 38 | |
39 | %prep | |
a19841f1 | 40 | %setup -q -n %{name}-%{version} |
d7993bac | 41 | %patch0 -p1 |
5c426756 | 42 | |
a19841f1 AM |
43 | # gold causes really weird issues with fuse apps |
44 | install -d ld-dir | |
45 | [ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld | |
46 | ||
5c426756 | 47 | %build |
a19841f1 | 48 | PATH=$(pwd)/ld-dir:$PATH |
6f4f39e6 | 49 | %{__aclocal} -I m4 |
5c426756 | 50 | %{__autoconf} |
83653df3 JB |
51 | %{__autoheader} |
52 | %{__automake} | |
6f4f39e6 | 53 | %configure \ |
a19841f1 | 54 | --bindir=%{_sbindir} \ |
6f4f39e6 | 55 | --with-boost-libdir=%{_libdir} \ |
83653df3 | 56 | --with-boost-filesystem=boost_filesystem \ |
6f4f39e6 AM |
57 | --with-boost-iostreams=boost_iostreams \ |
58 | --with-boost-program-options=boost_program_options \ | |
83653df3 | 59 | --with-boost-serialization=boost_serialization \ |
a19841f1 | 60 | --with-boost-system=boost_system \ |
6f4f39e6 | 61 | --with-bz2 \ |
83653df3 JB |
62 | --with-lzma \ |
63 | --with-lzo2 \ | |
64 | --with-z | |
5c426756 | 65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
83653df3 JB |
73 | %{__mv} $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress} |
74 | %{__rm} $RPM_BUILD_ROOT%{_sbindir}/xattrs | |
d7993bac | 75 | |
5c426756 | 76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
83653df3 | 81 | %doc AUTHORS LICENSE NEWS README TODO |
a19841f1 AM |
82 | %attr(755,root,root) %{_sbindir}/mount.fusecompress |
83 | %attr(755,root,root) %{_sbindir}/%{name} | |
84 | %attr(755,root,root) %{_sbindir}/%{name}_offline | |
85 | %attr(755,root,root) %{_sbindir}/%{name}_print_compress | |
83653df3 JB |
86 | %{_mandir}/man1/fusecompress.1* |
87 | %{_mandir}/man1/fusecompress_offline.1* |