summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-09-05 20:15:43 +0200
committeralbator <albator@arcadia.vtf>2011-09-05 20:15:43 +0200
commit48f1832df5ee410ddfd05ab8b771bfdc6c2aa9e2 (patch)
tree7df6db1e7958a8071b80a609438fb04fe9664c52 /redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec
parentb3159810ceda9f0bbbaa6fce6865c05ac2eba379 (diff)
downloadtde-packaging-48f1832df5ee410ddfd05ab8b771bfdc6c2aa9e2.tar.gz
tde-packaging-48f1832df5ee410ddfd05ab8b771bfdc6c2aa9e2.zip
Update dependencies SPECS file with more version-independant macros
Diffstat (limited to 'redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec')
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec15
1 files changed, 10 insertions, 5 deletions
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 <francois.andriot@free.fr>
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}