From 4373ede8c269f80b35e100bb50fa6b2306635cf6 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 25 Aug 2007 10:55:38 +0000 Subject: [PATCH] * Sat Aug 25 2007 Dan Walsh 2.0.25-3 - Add selinux-polgengui to desktop --- .cvsignore | 1 + policycoreutils.spec | 14 ++++++++++++-- selinux-polgengui.desktop | 11 +++++++++++ sources | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 selinux-polgengui.desktop diff --git a/.cvsignore b/.cvsignore index b7512dc..fbf189a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -156,3 +156,4 @@ policycoreutils-2.0.21.tgz policycoreutils-2.0.22.tgz policycoreutils-2.0.23.tgz policycoreutils-2.0.25.tgz +sepolgen-1.0.9.tgz diff --git a/policycoreutils.spec b/policycoreutils.spec index 95f198c..5ffda5c 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -2,11 +2,11 @@ %define libsepolver 2.0.6-1 %define libsemanagever 2.0.4-1 %define libselinuxver 2.0.23-3 -%define sepolgenver 1.0.8 +%define sepolgenver 1.0.9 Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.25 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -16,6 +16,7 @@ Source2: system-config-selinux.png Source3: system-config-selinux.desktop Source4: system-config-selinux.pam Source5: system-config-selinux.console +Source6: selinux-polgengui.desktop Patch: policycoreutils-rhat.patch Patch1: policycoreutils-po.patch #Patch2: policycoreutils-sepolgen.patch @@ -78,6 +79,11 @@ desktop-file-install --vendor fedora \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category X-Fedora \ %{SOURCE3} + +desktop-file-install --vendor fedora \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-category X-Fedora \ + %{SOURCE6} %find_lang %{name} %package newrole @@ -108,6 +114,7 @@ system-config-selinux is a utility for managing the SELinux environment %files gui %{_bindir}/system-config-selinux %{_datadir}/applications/fedora-system-config-selinux.desktop +%{_datadir}/applications/fedora-selinux-polgengui.desktop %dir %{_datadir}/system-config-selinux %dir %{_datadir}/system-config-selinux/templates %{_datadir}/system-config-selinux/*.py* @@ -193,6 +200,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Sat Aug 25 2007 Dan Walsh 2.0.25-3 +- Add selinux-polgengui to desktop + * Fri Aug 24 2007 Dan Walsh 2.0.25-2 - Cleanup spec diff --git a/selinux-polgengui.desktop b/selinux-polgengui.desktop new file mode 100644 index 0000000..01d2074 --- /dev/null +++ b/selinux-polgengui.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=SELinux Policy Generation Tool +GenericName=SELinux +Comment=Generate SELinux policy modules +StartupNotify=true +Icon=/usr/share/system-config-selinux/system-config-selinux.png +Exec=/usr/share/system-config-selinux/polgengui.py +Type=Application +Terminal=false +Categories=System;Security; +X-Desktop-File-Install-Version=0.2 diff --git a/sources b/sources index da91a8f..d5d93df 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -4d6e57c7fc396efbcf96b7accab4ba30 sepolgen-1.0.8.tgz 43c5df63e94b6e35d1f830b5b7ee6cfc policycoreutils-2.0.25.tgz +75f280f7000200c4b53b1c5006f57029 sepolgen-1.0.9.tgz