]> git.pld-linux.org Git - packages/fusecompress.git/blobdiff - fusecompress.spec
- builds; untested
[packages/fusecompress.git] / fusecompress.spec
index 30b01fa5b36e9e65449cbb8da0ada15a29f00b0d..13ff0926555f1801dff0c546c590780e966b2358 100644 (file)
@@ -1,20 +1,22 @@
-%define        tag     2a6dff0dc32c4c93cc08b2ba224bf9ef8e2485b4
+%define        tag     c5e5eb58e48a6ad08298f178a9d91b9539abf883
 Summary:       Transparent read-write compression filesystem
 Summary(pl.UTF-8):     System plików z przezroczystą kompresją danych
 Name:          fusecompress
-Version:       2.0
+Version:       2.2
 Release:       0.1
 License:       GPL
 Group:         Applications/System
 # http://github.com/tex/fusecompress/tree/master
 Source0:       tex-fusecompress-%{tag}.tar.gz
-# Source0-md5: a0b2d0b3266e604fb4684a658aa0d87e
+# Source0-md5: 733fcf027b7d030d659bbb655c527999
+Patch0:                %{name}-boost.patch
 URL:           http://miio.net/fusecompress/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: boost-devel
 BuildRequires: bzip2-devel
 BuildRequires: libfuse-devel
+BuildRequires: libmagic-devel
 BuildRequires: lzma-devel
 BuildRequires: libstdc++-devel
 BuildRequires: rlog-devel >= 1.3
@@ -35,13 +37,21 @@ interfejs między skompresowanymi plikami a aplikacjami użytkownika
 
 %prep
 %setup -q -n tex-%{name}-%{tag}
+%patch0 -p1
 
 %build
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+       --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-lzma \
+       --with-z \
+       --with-bz2 \
+       --with-lzo2
 %{__make}
 
 %install
@@ -50,6 +60,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_bindir}/{print_compress,fusecompress_print_compress}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -58,4 +70,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}_offline
+%attr(755,root,root) %{_bindir}/%{name}_print_compress
 %{_mandir}/man1/*.1*
This page took 0.776957 seconds and 4 git commands to generate.