diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-06-18 19:33:34 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-06-18 19:33:34 +0200 |
commit | ca6bbdcf85658a61f8c0a6a8132310bb53809c2c (patch) | |
tree | 1f663ba6e3b49913fc0c5854bed867f3c1730632 /redhat/tdebase/tdebase-3.5.13.2.spec | |
parent | 470510a717da8d95508202f27e28b23c88f5d7e7 (diff) | |
download | tde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.tar.gz tde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.zip |
RPM Packaging: update 3.5.13.2 for RHEL7
Diffstat (limited to 'redhat/tdebase/tdebase-3.5.13.2.spec')
-rw-r--r-- | redhat/tdebase/tdebase-3.5.13.2.spec | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/redhat/tdebase/tdebase-3.5.13.2.spec b/redhat/tdebase/tdebase-3.5.13.2.spec index d2664a156..83e9502a9 100644 --- a/redhat/tdebase/tdebase-3.5.13.2.spec +++ b/redhat/tdebase/tdebase-3.5.13.2.spec @@ -65,7 +65,7 @@ Source5: pamd.kscreensaver-trinity%{?dist} Source6: suse-displaymanagers-tdm # Fedora 18: use SYSTEMD for TDM startup -%if 0%{?fedora} >= 18 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 Source7: tdm.service%{?dist} %endif @@ -246,6 +246,17 @@ Requires: redhat-indexhtml %define tde_aboutpage /usr/share/doc/HTML/index.html %endif +# RHEL 7 Theme +%if 0%{?rhel} == 7 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/day.jpg +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 7 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + # Mageia 2 Theme %if 0%{?mgaversion} == 2 Requires: mageia-theme-Default @@ -433,7 +444,7 @@ BuildRequires: OpenEXR-devel %endif # XSCREENSAVER support -# Disabled on RHEL4 +# Disabled on RHEL4, RHEL >= 7 %if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} %define with_xscreensaver 1 %if 0%{?rhel} == 5 @@ -2146,7 +2157,7 @@ already. Most users won't need this. %if 0%{?suse_version} >= 1210 /usr/lib/X11/displaymanagers/tdm %endif -%if 0%{?fedora} >= 18 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 /usr/lib/systemd/system/tdm.service %endif %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} @@ -3615,7 +3626,7 @@ EOF %endif # Fedora 18: no more SYSV init script, we have to use systemd. -%if 0%{?fedora} >= 18 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 %__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" %endif |