summaryrefslogtreecommitdiffstats
path: root/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-09-06 18:59:37 +0200
committeralbator <albator@arcadia.vtf>2011-09-06 18:59:37 +0200
commitf14a4cc47a9364e56b0fe7db659499b33cb951ae (patch)
tree9e72a9f1d0f107a5f8244c4a3417f0a8abb2b6df /redhat/kdelibs/trinity-kdelibs-3.5.13.spec
parentcefafdaf87f83138d87a4c8136be3f791a1ed308 (diff)
downloadtde-packaging-f14a4cc47a9364e56b0fe7db659499b33cb951ae.tar.gz
tde-packaging-f14a4cc47a9364e56b0fe7db659499b33cb951ae.zip
Small updates for kdelibs & kdesdk
Diffstat (limited to 'redhat/kdelibs/trinity-kdelibs-3.5.13.spec')
-rwxr-xr-xredhat/kdelibs/trinity-kdelibs-3.5.13.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
index efa1ae90a..569f1942d 100755
--- a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
+++ b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
@@ -2,6 +2,7 @@
%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"
@@ -9,10 +10,15 @@
%define _docdir %{_prefix}/share/doc
%endif
+# TDE 3.5.13 specific variables
+BuildRequires: cmake >= 2.8
+%define tde_docdir %{_docdir}/kde
+%define tde_libdir %{_libdir}/trinity
+
Name: trinity-kdelibs
Version: %{version}
-Release: 0%{?dist}%{?_variant}
+Release: %{?release}%{?dist}%{?_variant}
License: GPL
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
@@ -21,7 +27,6 @@ Summary: Trinity KDE Libraries
Source0: kdelibs-%{version}.tar.gz
Prefix: %{_prefix}
-BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
@@ -66,6 +71,7 @@ format for easy browsing
%prep
%setup -q -n kdelibs
+
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
@@ -94,6 +100,7 @@ cd build
%__make %{?_smp_mflags}
+
%install
%__rm -rf %{?buildroot}
%__mkdir_p %{?buildroot}