summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-04-20 21:24:26 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-04-20 21:24:26 +0200
commit07d8f15f3a8cf671ea485cecd1da5d51d23be84e (patch)
tree09ba0a4d9a48c5378693b796ab0f4424b5249902 /redhat
parent985dc0e053e528b7c9ecb44a5e4ed5b781eeb72a (diff)
downloadtde-packaging-07d8f15f3a8cf671ea485cecd1da5d51d23be84e.tar.gz
tde-packaging-07d8f15f3a8cf671ea485cecd1da5d51d23be84e.zip
RPM packaging: update koffice, tdebase, tdegraphics
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/koffice/koffice-14.0.0.spec3
-rw-r--r--redhat/applications/krename/krename-14.0.0.spec2
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec8
-rw-r--r--redhat/main/tdegraphics/tdegraphics-14.0.0.spec2
4 files changed, 8 insertions, 7 deletions
diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec
index 8b4fd5955..b9977cd98 100644
--- a/redhat/applications/koffice/koffice-14.0.0.spec
+++ b/redhat/applications/koffice/koffice-14.0.0.spec
@@ -120,6 +120,9 @@ BuildRequires: libpaper-devel
# RUBY support
%if 0%{?with_ruby}
BuildRequires: ruby ruby-devel >= 1.8.1
+%if 0%{?fedora} >= 19
+BuildRequires: rubypick
+%endif
%endif
# FREETYPE support
diff --git a/redhat/applications/krename/krename-14.0.0.spec b/redhat/applications/krename/krename-14.0.0.spec
index bee98b406..50ec0f733 100644
--- a/redhat/applications/krename/krename-14.0.0.spec
+++ b/redhat/applications/krename/krename-14.0.0.spec
@@ -36,7 +36,7 @@ Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 3.0.14
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: A TDE batch file renaming utility.
+Summary: A TDE batch file renaming utility
Group: Applications/Utilities
URL: http://www.trinitydesktop.org/
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index b0e44ad5e..46ab3ce31 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -2188,9 +2188,6 @@ already. Most users won't need this.
%{tdm_datadir}/themes/
%{tde_datadir}/config/%{tdm}
%dir %{_sysconfdir}/trinity/%{tdm}
-%if 0%{?with_selinux_policy}
-%exclude %{?_sysconfdir}/trinity/%{tdm}/tdm.pp
-%endif
%config(noreplace) %{_sysconfdir}/trinity/%{tdm}/*
%{tde_tdedocdir}/HTML/en/%{tdm}/
%if 0%{?suse_version} == 0
@@ -2262,12 +2259,13 @@ fi
%if 0%{?mgaversion} || 0%{?mdkversion}
%make_session
%endif
+
+# SELINUX context for tdm
%if 0%{?with_selinux_policy}
/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
%endif
-# SELINUX context for tdm
-%if 0%{?fedora} == 21
+%if 0%{?fedora} == 21 || 0%{?rhel} >= 7
if ! grep -q "%{tde_bindir}/tdm" "/etc/selinux/targeted/contexts/files/file_contexts.local" ; then
echo "%{tde_bindir}/tdm -- system_u:object_r:xdm_exec_t" >>"/etc/selinux/targeted/contexts/files/file_contexts.local"
restorecon "%{tde_bindir}/tdm"
diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
index 569774e8d..f22cec9c0 100644
--- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
+++ b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
@@ -193,7 +193,7 @@ BuildRequires: libdrm-devel
# OPENEXR support
BuildRequires: OpenEXR-devel
-# poppler
+# POPPLER support
%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version}
BuildRequires: poppler-devel >= 0.12
#BuildRequires: poppler-qt-devel >= 0.12