File cryfs.spec of Package cryfs

# spec file for package cryfs
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2007-2011 Klaas Freitag <>
# 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

Name:           cryfs
Version:        0.9.9
Release:        0
Summary:        CryFS encryption
License:        LGPL-3.0
Group:          System/Filesystems
Source:         %{name}-%{version}.tar.xz

BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  python

%if 0%{?suse_version} < 1500
BuildRequires:  boost-devel => 1.56.0
BuildRequires:	libboost_chrono-devel
BuildRequires:	libboost_filesystem-devel
BuildRequires:	libboost_program_options-devel
BuildRequires:	libboost_system-devel
BuildRequires:	libboost_thread-devel

BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(fuse)
# BuildRequires:  pkgconfig(libopenssl)
BuildRequires:  libopenssl-devel
BuildRequires:  libcryptopp-devel


CryFS encrypts your files, so you can safely store them anywhere.
It works well together with cloud services like Dropbox,
iCloud, OneDrive and others.

%setup -c -q

mkdir build
cd build
cmake .. \
	-DCMAKE_CXX_FLAGS="%{optflags} -fPIC" \
	-DCMAKE_C_FLAGS="%{optflags} -fPIC" \


rm -rf %{buildroot}

rm -rf %{buildroot}

%doc ChangeLog.txt
%license LICENSE
openSUSE Build Service is sponsored by