From 1a22294339a2c69f3c1173d63750209da132b514 Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphgro(a)fedoraproject.org>
Date: Tue, 28 Feb 2017 22:33:13 +0100
Subject: initial import, rhbz#1402590
---
.gitignore | 1 +
ecryptfs-simple.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 74 insertions(+)
create mode 100644 ecryptfs-simple.spec
diff --git a/.gitignore b/.gitignore
index e69de29..2538953 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ecryptfs-simple.2016.11.16.1.tar.xz
diff --git a/ecryptfs-simple.spec b/ecryptfs-simple.spec
new file mode 100644
index 0000000..a88d7ee
--- /dev/null
+++ b/ecryptfs-simple.spec
@@ -0,0 +1,72 @@
+#
+# Spec file for package ecryptfs-simple
+#
+# Copyright © 2016 Francis Banyikwa <mhogomchungu(a)gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <
http://www.gnu.org/licenses/>.
+
+Name: ecryptfs-simple
+Version: 2016.11.16.1
+Release: 2%{?dist}
+Summary: A CLI front end to ecryptfs that works with normal user account
+# included ecryptfs-simple.c is clearly GPLv2 only (no ... or later clause).
+License: GPLv2
+URL:
https://github.com/mhogomchungu/%{name}
+Source: %{url}/releases/download/2016.11.16.1/%{name}.%{version}.tar.xz
+
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: libgcrypt-devel
+BuildRequires: ecryptfs-utils-devel
+BuildRequires: libmount-devel
+
+BuildRequires: keyutils-libs-devel
+
+%description
+%{summary}.
+
+
+%prep
+%setup -qn%{name}.%{version}
+
+%build
+mkdir %{_target_platform}
+pushd %{_target_platform}
+%cmake ..
+popd
+%make_build -C %{_target_platform}
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+
+%files
+%{_bindir}/%{name}
+%doc CHANGELOG README.md
+%license COPYING
+
+
+%changelog
+* Thu Feb 26 2017 Raphael Groner <projects.rg(a)smart.ms> - 2016.11.16.1-2
+- remove useless _hardened_build macro
+- fix needed BR for gcc
+- use make install/fast
+- remove chmod scriptlet
+- use GPLv2
+
+* Wed Dec 07 2016 Raphael Groner <projects.rg(a)smart.ms> - 2016.11.16.1-1
+- adopt for Fedora
+
+* Mon Nov 14 2016 Francis Banyikwa <mhogomchungu(a)gmail.com> - 2016-0
+- initial
diff --git a/sources b/sources
index e69de29..84d3036 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ecryptfs-simple.2016.11.16.1.tar.xz) =
ccb96cce3042e96c09bd1c457ebf83ee39ef09e6b627a65bd7833cd59c19a23dee3c42c1a4976d18860c0a2e90ad58203be3a0448e6703578bb9241cd0bdc5cc
--
cgit v1.1
https://src.fedoraproject.org/cgit/ecryptfs-simple.git/commit/?h=master&a...