summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok/amarok-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-06-29 20:17:57 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-06-29 20:17:57 +0200
commit2835777e9ae7bde053e0da2f083ee020f26ea04a (patch)
tree8695f4161ce1d52053a016a69712dcd8cea97d4d /redhat/applications/amarok/amarok-14.0.0.spec
parentd3c1f8ab667376639b6ff83e4eff50cd861fe5d2 (diff)
downloadtde-packaging-2835777e9ae7bde053e0da2f083ee020f26ea04a.tar.gz
tde-packaging-2835777e9ae7bde053e0da2f083ee020f26ea04a.zip
RPM Packaging: massive update spec files
Diffstat (limited to 'redhat/applications/amarok/amarok-14.0.0.spec')
-rw-r--r--redhat/applications/amarok/amarok-14.0.0.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/redhat/applications/amarok/amarok-14.0.0.spec b/redhat/applications/amarok/amarok-14.0.0.spec
index ae7735a4e..3d88d4962 100644
--- a/redhat/applications/amarok/amarok-14.0.0.spec
+++ b/redhat/applications/amarok/amarok-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package amarok (version R14.0.0)
+# spec file for package amarok (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 14.0.0
+%endif
%define tde_pkg amarok
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@@ -419,6 +421,13 @@ use any of xmms' visualisation plugins with Amarok.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+# Fix some Ruby stuff
+if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )" &>/dev/null; then
+ %__sed -i "amarok/src/mediadevice/daap/ConfigureChecks.cmake" \
+ -e "s|Config::|RbConfig::|g" \
+ -e "s|Config\.|RbConfig\.|g"
+fi
+
%build
unset QTDIR QTINC QTLIB