summaryrefslogtreecommitdiffstats
path: root/redhat/kdeartwork
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-05 11:51:11 +0100
committeralbator <albator@arcadia.vtf>2011-11-05 11:51:11 +0100
commit1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765 (patch)
tree7ad3b7f721831fc2a02c3c84399362dcb9d96e96 /redhat/kdeartwork
parent43240f192dbdd0c0d267bc7c4a96f123704f0e2b (diff)
downloadtde-packaging-1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765.tar.gz
tde-packaging-1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765.zip
Redhat 32 Bits small fixes
Diffstat (limited to 'redhat/kdeartwork')
-rw-r--r--redhat/kdeartwork/trinity-kdeartwork-3.5.13.spec24
1 files changed, 18 insertions, 6 deletions
diff --git a/redhat/kdeartwork/trinity-kdeartwork-3.5.13.spec b/redhat/kdeartwork/trinity-kdeartwork-3.5.13.spec
index 3603f7378..89944666b 100644
--- a/redhat/kdeartwork/trinity-kdeartwork-3.5.13.spec
+++ b/redhat/kdeartwork/trinity-kdeartwork-3.5.13.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -39,14 +39,17 @@ Source: kdeartwork-%{version}.tar.gz
# FIXME: this should go in kde-settings -- Rex
Source1: webcollagerc
-BuildRequires: gettext
BuildRequires: trinity-kdebase-devel
-BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel
-%if 0%{?rhel} > 5 || 0%{?fedora} >= 15
+
+BuildRequires: gettext
+BuildRequires: esound-devel
+%if 0%{?fedora}
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: nas-devel
BuildRequires: xscreensaver
-%else
-BuildRequires: gnome-screensaver
+%define with_xscreensaver 1
%endif
+
%if "%{?with_libart}" == "1"
BuildRequires: libart_lgpl-devel
%endif
@@ -78,7 +81,11 @@ export LD_LIBRARY_PATH="%{_libdir}"
%__mkdir build
cd build
%cmake \
+%if 0%{?with_xscreensaver}
-DWITH_XSCREENSAVER=ON \
+%else
+ -DWITH_XSCREENSAVER=OFF \
+%endif
%if "%{?with_libart}" == "1"
-DWITH_LIBART=ON \
%else
@@ -166,7 +173,9 @@ done
%{_datadir}/sounds/*
%{_datadir}/wallpapers/*
%{_datadir}/emoticons/*
+%if 0%{?with_xscreensaver}
%{_bindir}/kxs*
+%endif
%files icons
%defattr(-,root,root,-)
@@ -180,6 +189,9 @@ done
%changelog
+* Fri Nov 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Updates BuildRequires
+
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15