summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebindings/tdebindings-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdebindings/tdebindings-14.0.0.spec')
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index 9b2c9af11..5b02d362b 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package tdebindings (version R14.0.0)
+# spec file for package tdebindings (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 14.0.0
+%endif
%define tde_pkg tdebindings
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@@ -119,7 +121,7 @@ BuildRequires: mozilla-xulrunner20-devel
BuildRequires: openssl-devel
# GTK1 support
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 5
%define with_gtk1 1
BuildRequires: glib-devel
BuildRequires: gtk+-devel
@@ -211,10 +213,10 @@ BuildRequires: java-devel >= 1.4.2
%if 0%{?suse_version} >= 1320
BuildRequires: java-1_8_0-openjdk-devel
%endif
-%if 0%{?fedora} >= 21
+%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5
BuildRequires: java-1.8.0-openjdk-devel
%endif
-%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} >= 3 || 0%{?rhel} >= 7
+%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} >= 7
BuildRequires: java-1.7.0-openjdk-devel
%endif
%if 0%{?rhel} == 5 || 0%{?rhel} == 6