File fusecompress.spec of Package fusecompress

#
# spec file for package fusecompress
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           fusecompress
Version:        2.6+git20150501
Release:        0
Summary:        FUSE-based filesystem with transparent compression
License:        GPL-2.0
Group:          System/Filesystems
# Use unreleased tarball because of boost fixes included 
# Source:       https://github.com/tex/fusecompress/archive/2.6.tar.gz
Source:         %name-%version.tar.xz
Url:            https://github.com/tex/fusecompress
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  boost-devel
BuildRequires:  file-devel
BuildRequires:  fuse-devel
BuildRequires:  gcc-c++
BuildRequires:  libbz2-devel
BuildRequires:  libtool
BuildRequires:  lzo-devel
BuildRequires:  pkg-config
BuildRequires:  xz-devel
BuildRequires:  zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Obsoletes:      FuseCompress < %version
Provides:       FuseCompress = %version-%release

%description
FuseCompress provides a mountable Linux filesystem which transparently
compresses its content.

Files stored in this filesystem are compressed on the fly and FUSE
allows to create a transparent interface between compressed files and
user applications.

This is the legacy C implementation of FuseCompress. It performs
slightly less well than the current one implemented in C++, but does
not exhibit flaws such as data corruption or files growing larger and
larger that make the current code (as of July 17 2008) unusable in a
production environment.

%prep
%setup -q
rm -rf src/boost/math
find -name '*.[ch]pp' |xargs chmod -x

%build
autoreconf -fi
%configure --with-boost-libdir=%{_libdir} --enable-crippled_boost
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc AUTHORS LICENSE NEWS README
%_bindir/%name
%_bindir/%{name}_offline
%_bindir/mount.fusecompress
%_bindir/print_compress
%_bindir/xattrs
%_mandir/man1/%name.1.*
%_mandir/man1/%{name}_offline.1.*

%changelog
openSUSE Build Service is sponsored by