[se-sandbox-runner] Initial import
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Fri Sep 6 13:52:40 UTC 2013
commit 37a908e937da813983428f1aa4ecbb2e21e30982
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Fri Sep 6 17:52:24 2013 +0400
Initial import
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
.gitignore | 1 +
se-sandbox-runner.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..edc317b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/se-sandbox-runner-1.3.2.tar.gz
diff --git a/se-sandbox-runner.spec b/se-sandbox-runner.spec
new file mode 100644
index 0000000..51da3b0
--- /dev/null
+++ b/se-sandbox-runner.spec
@@ -0,0 +1,83 @@
+%global cmake_build_dir build-cmake
+
+Name: se-sandbox-runner
+Version: 1.3.2
+Release: 2%{?dist}
+Summary: Qt wrapper for SELinux Sandbox
+Group: Applications/System
+License: GPLv2+
+Source0: https://github.com/F1ash/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+URL: https://github.com/F1ash/%{name}
+
+Requires: xdg-utils
+Requires: policycoreutils-sandbox
+Requires: hicolor-icon-theme oxygen-icon-theme
+BuildRequires: qt4-devel
+BuildRequires: desktop-file-utils
+BuildRequires: cmake
+
+%description
+Qt wrapper for SELinux Sandbox.
+This application runs and controls the configured jobs, running in a sandbox.
+Job settings are saved in the application's configuration.
+
+%prep
+%setup -q
+mkdir %{cmake_build_dir}
+
+%build
+pushd %{cmake_build_dir}
+ %cmake ..
+ make %{?_smp_mflags}
+popd
+
+%install
+pushd %{cmake_build_dir}
+ %make_install
+popd
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc README.md COPYING Changelog Licenses
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/256x256/apps/applications-safety.png
+
+%changelog
+* Fri Sep 6 2013 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 1.3.2-2
+- move desktop-file-validate to %%check section
+- use %%make_install tag instead of make install DESTDIR=%%{buildroot}
+- remove gcc-c++ from BR
+- %%global instead of %%define
+- remove qt4 from R
+- add hicolor-icon-theme as R
+
+* Mon Sep 2 2013 Fl at sh <kaperang07 at gmail.com> - 1.3.2-1
+- version updated
+
+* Sat Aug 24 2013 Fl at sh <kaperang07 at gmail.com> - 1.2.1-1
+- some fixes
+
+* Fri Aug 23 2013 Fl at sh <kaperang07 at gmail.com> - 1.2-2
+- fixed description;
+- release updated
+
+* Thu Aug 22 2013 Fl at sh <kaperang07 at gmail.com> - 1.2-1
+- version updated;
+
+* Sat Jul 20 2013 Fl at sh <kaperang07 at gmail.com> - 1.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..71d0676 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a20a1c1ec6017140fc23b5af670051c se-sandbox-runner-1.3.2.tar.gz
More information about the scm-commits
mailing list