From 48f1832df5ee410ddfd05ab8b771bfdc6c2aa9e2 Mon Sep 17 00:00:00 2001 From: albator Date: Mon, 5 Sep 2011 20:15:43 +0200 Subject: Update dependencies SPECS file with more version-independant macros --- redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec') diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec index e0c34fb5e..f1762a9d7 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec @@ -2,15 +2,22 @@ %if "%{?version}" == "" %define version 3.5.13 %endif +%define release 0 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt %endif +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +BuildRequires: qt3-devel >= 3.3.8d +Requires: qt3 >= 3.3.8d + + Name: dbus-tqt Version: %{?version} -Release: 0%{?dist}%{?_variant} +Release: %{?release}%{?dist}%{?_variant} License: GPL Summary: Dbus TQT Interface Vendor: Trinity Project @@ -19,17 +26,14 @@ Packager: Francois Andriot Prefix: %{_prefix} Source0: %{name}-%{version}.tar.gz -BuildRequires: qt3-devel >= 3.3.8d BuildRequires: gcc-c++ BuildRequires: dbus-qt-devel BuildRequires: tqtinterface-devel -BuildRequires: cmake >= 2.8 - -Requires: qt3 >= 3.3.8d %description Dbus TQT Interface + %package devel Requires: %{name} Summary: %{name} - Development files @@ -37,6 +41,7 @@ Summary: %{name} - Development files %description devel Development files for %{name} + %prep %setup -q -n dependencies/%{name} -- cgit v1.2.1