]> git.pld-linux.org Git - packages/fusecompress.git/blame - fusecompress.spec
- known corruption
[packages/fusecompress.git] / fusecompress.spec
CommitLineData
6f4f39e6 1%define tag c5e5eb58e48a6ad08298f178a9d91b9539abf883
5c426756 2Summary: Transparent read-write compression filesystem
4e4f2daf 3Summary(pl.UTF-8): System plików z przezroczystą kompresją danych
5c426756 4Name: fusecompress
a19841f1 5Version: 2.6
06e73388
AM
6# known data corruption: https://bugzilla.redhat.com/show_bug.cgi?id=995998, dead upstream
7Release: 8.1
83653df3 8License: GPL v2+
5c426756 9Group: Applications/System
a19841f1
AM
10Source0: https://github.com/tex/fusecompress/archive/2.6.tar.gz
11# Source0-md5: 923688bd13b9d87fb74a0449bdf86724
12Patch0: fusecompress-git.patch
13URL: https://code.google.com/p/fusecompress/
83653df3 14BuildRequires: autoconf >= 2.59
5c426756 15BuildRequires: automake
83653df3 16BuildRequires: boost-devel >= 1.33.1
5c426756 17BuildRequires: bzip2-devel
83653df3 18BuildRequires: libfuse-devel >= 2.6
f93f26da 19BuildRequires: libmagic-devel
83653df3 20BuildRequires: lzo-devel >= 2
5c426756 21BuildRequires: libstdc++-devel
f69c9b8a 22BuildRequires: rlog-devel >= 1.3
83653df3 23BuildRequires: xz-devel
5c426756 24BuildRequires: zlib-devel
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28FuseCompress provides a mountable Linux filesystem which transparently
29compress its content. Files stored in this filesystem are compressed
30on the fly and Fuse allows to create a transparent interface between
31compressed files and user applications.
32
33%description -l pl.UTF-8
4e4f2daf
JB
34FuseCompress udostępnia montowalny system plików, który przezroczyście
35kompresuje swoją zawartość. Pliki przechowywane na tym systemie plików
36są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty
37interfejs 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
44install -d ld-dir
45[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
46
5c426756 47%build
a19841f1 48PATH=$(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
68rm -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
77rm -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*
This page took 0.182851 seconds and 4 git commands to generate.