File encfs.spec of Package encfs
#
# spec file for package encfs
#
# Copyright (c) 2015 SUSE LINUX Products 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: encfs
BuildRequires: boost-devel
BuildRequires: fuse-devel
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: rlog-devel
BuildRequires: zlib-devel
Requires: fuse
Summary: Userspace Encrypted File System
License: GPL-2.0+ and GPL-3.0+
Group: System/Filesystems
Version: 1.8
Release: 0
Source: https://github.com/vgough/encfs/archive/v%{version}.tar.gz
Patch: configure-fix.patch
Url: https://vgough.github.io/encfs/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
EncFS provides an encrypted file system, layered on top of a normal
directory tree and encrypts individual files which are stored in the
hosting directory tree.
This has several advantages over the loopback encryption which
provided by the Linux kernel:
- No space is and has to be reserved, encrypted files only
take the space that they really occupy
- Backups: encrypted files can be individually backed-up on the host
filesystem
- Layering: Since it's hosted on a normal filesystem, encfs can be
used on filesystems which normally have no support encryption,
like NFS or other userspace filesystems.
EncFS is implemented as a userspace filesystem in an unprivileged
application using fuse (FUSE (Filesystem in USErspace)).
%prep
%setup
%patch -p1
%build
autoreconf -fiv
%configure --with-boost-libdir=%{_libdir}
%{__make} %{?_smp_flags}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,so}
%post
%{run_ldconfig}
%postun
%{run_ldconfig}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog DESIGN.md PERFORMANCE.md README* TRANSLATORS
%{_mandir}/man?/*
%{_bindir}/encfs*
%{_libdir}/libencfs.so.*
%changelog