summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-12-31 10:48:02 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-12-31 10:48:02 +0100
commit1474dc6a1b2785e5eaea8861ba0a16b21961d5d3 (patch)
tree88e872c97b03d4321e12cf54a48c3e691edca7c3
parent0248fa3ee0dc071ae1ede6b3c7c372ad3f37f2f5 (diff)
downloadtde-packaging-1474dc6a1b2785e5eaea8861ba0a16b21961d5d3.tar.gz
tde-packaging-1474dc6a1b2785e5eaea8861ba0a16b21961d5d3.zip
RPM packaging: update tdebase
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec28
1 files changed, 26 insertions, 2 deletions
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index 94a8e9fd5..48875cae7 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -394,17 +394,41 @@ BuildRequires: OpenEXR-devel
%endif
# XSCREENSAVER support
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?with_xscreensaver}
+# RHEL 4: disabled
+# RHEL 6: available in EPEL
+# RHEL 7: available in NUX
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?suse_version} || 0%{?with_xscreensaver}
%define with_xscreensaver 1
-%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version}
+
+%if 0%{?fedora} || 0%{?rhel} >= 5
BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extras
+%if 0%{?fedora}
+BuildRequires: xscreensaver-extras-base
+%endif
+BuildRequires: xscreensaver-gl-base
+BuildRequires: xscreensaver-gl-extras
%endif
+
+%if 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
BuildRequires: %{_lib}xscrnsaver-devel
%else
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
%endif
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extrusion
+BuildRequires: xscreensaver-gl
%endif
%endif