summaryrefslogtreecommitdiffstats
path: root/redhat/tdeartwork
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-11-05 21:52:45 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-11-05 21:52:45 +0100
commit5575cbf42f2dbec7f1c72d51c6ae3e72f0f2df3a (patch)
treed63a758bb4002816c1e1fb950ccdd0b0ee3217e2 /redhat/tdeartwork
parent6b1abeaf00e16ca4943f447ce220cc04c5d71bf2 (diff)
downloadtde-packaging-5575cbf42f2dbec7f1c72d51c6ae3e72f0f2df3a.tar.gz
tde-packaging-5575cbf42f2dbec7f1c72d51c6ae3e72f0f2df3a.zip
RPM Packaging: update tdeartwork
Diffstat (limited to 'redhat/tdeartwork')
-rw-r--r--redhat/tdeartwork/tdeartwork-14.0.0.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/redhat/tdeartwork/tdeartwork-14.0.0.spec b/redhat/tdeartwork/tdeartwork-14.0.0.spec
index e3316de74..f6f0343b2 100644
--- a/redhat/tdeartwork/tdeartwork-14.0.0.spec
+++ b/redhat/tdeartwork/tdeartwork-14.0.0.spec
@@ -49,7 +49,7 @@ License: GPL-2.0+
License: GPLv2+
%endif
-#Vendor: Trinity Project
+#Vendor: Trinity Desktop
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
@@ -709,12 +709,12 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/geodesic.desktop
%endif
-%if 0%{?opensuse_bs} == 0 && 0%{?fedora} >= 20 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
%{tde_datadir}/applnk/System/ScreenSavers/projectiveplane.desktop
%{tde_datadir}/applnk/System/ScreenSavers/tessellimage.desktop
%endif
-%if 0%{?opensuse_bs} == 0 && 0%{?fedora} >= 20
+%if && 0%{?fedora} >= 20
%{tde_datadir}/applnk/System/ScreenSavers/winduprobot.desktop
%endif
@@ -796,6 +796,13 @@ chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage"
chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file"
%endif
+# Fix missing screensavers on Fedora 20
+%if 0%{?with_xscreensaver} && 0%{?fedora} >= 20
+touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/projectiveplane.desktop"
+touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/tessellimage.desktop"
+touch "%{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers/winduprobot.desktop"
+%endif
+
%clean
%__rm -rf %{buildroot}