From 972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 30 Aug 2015 12:27:30 +0200 Subject: RPM packaging: massive update SPEC files --- redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec | 8 ++++++-- redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec | 7 +------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'redhat/applications/gtk-qt-engine') diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec index cfb763a30..786a319e5 100644 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec @@ -38,7 +38,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 0.8 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: Theme engine using Qt for GTK+ 2.x and Trinity Group: Applications/Utilities URL: http://www.trinitydesktop.org/ @@ -74,9 +74,13 @@ BuildRequires: libtool # GTK2 support %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} BuildRequires: gtk2-devel -%else +%endif %if 0%{?mgaversion} >= 5 BuildRequires: %{_lib}gtk+2.0-devel +%endif +%if 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: %{_lib}gtk+2.0_0-devel %else BuildRequires: gtk+2.0-devel %endif diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec index cde2e6341..b4b2749c6 100644 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec @@ -2,11 +2,6 @@ %define tde_pkg gtk-qt-engine %define tde_version 3.5.13.2 -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - # TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share @@ -27,7 +22,7 @@ Name: trinity-%{tde_pkg} Summary: theme engine using Qt for GTK+ 2.x and Trinity Version: 0.8 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} License: GPLv2+ Group: Applications/Utilities -- cgit v1.2.1