]> git.pld-linux.org Git - packages/fusecompress.git/blobdiff - fusecompress.spec
- up to 2.6+git fixes
[packages/fusecompress.git] / fusecompress.spec
index dde527bccf07f9dfbcda976bca05c78bfca8776a..d228df0fcf1e5a46dc61bbf3225776372551213b 100644 (file)
@@ -2,14 +2,14 @@
 Summary:       Transparent read-write compression filesystem
 Summary(pl.UTF-8):     System plików z przezroczystą kompresją danych
 Name:          fusecompress
-Version:       2.2
-Release:       0.1
+Version:       2.6
+Release:       1
 License:       GPL
 Group:         Applications/System
-# http://github.com/tex/fusecompress/tree/master
-Source0:       tex-fusecompress-%{tag}.tar.gz
-# Source0-md5: 733fcf027b7d030d659bbb655c527999
-URL:           http://miio.net/fusecompress/
+Source0:       https://github.com/tex/fusecompress/archive/2.6.tar.gz
+# Source0-md5: 923688bd13b9d87fb74a0449bdf86724
+Patch0:                fusecompress-git.patch
+URL:           https://code.google.com/p/fusecompress/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: boost-devel
@@ -17,6 +17,7 @@ BuildRequires:        bzip2-devel
 BuildRequires: libfuse-devel
 BuildRequires: libmagic-devel
 BuildRequires: lzma-devel
+BuildRequires: lzo-devel
 BuildRequires: libstdc++-devel
 BuildRequires: rlog-devel >= 1.3
 BuildRequires: zlib-devel
@@ -35,17 +36,25 @@ są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty
 interfejs między skompresowanymi plikami a aplikacjami użytkownika
 
 %prep
-%setup -q -n tex-%{name}-%{tag}
+%setup -q -n %{name}-%{version}
+%patch0 -p1
+
+# gold causes really weird issues with fuse apps
+install -d ld-dir
+[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
 
 %build
+PATH=$(pwd)/ld-dir:$PATH
 %{__aclocal} -I m4
 %{__autoconf}
 %configure \
+       --bindir=%{_sbindir} \
        --with-boost-libdir=%{_libdir} \
        --with-boost-serialization=boost_serialization \
        --with-boost-iostreams=boost_iostreams \
        --with-boost-program-options=boost_program_options \
        --with-boost-filesystem=boost_filesystem \
+       --with-boost-system=boost_system \
        --with-lzma \
        --with-z \
        --with-bz2 \
@@ -58,12 +67,17 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress}
+rm $RPM_BUILD_ROOT%{_sbindir}/xattrs
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_bindir}/%{name}_offline
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_sbindir}/mount.fusecompress
+%attr(755,root,root) %{_sbindir}/%{name}
+%attr(755,root,root) %{_sbindir}/%{name}_offline
+%attr(755,root,root) %{_sbindir}/%{name}_print_compress
 %{_mandir}/man1/*.1*
This page took 0.062575 seconds and 4 git commands to generate.