summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqtinterface
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 17:42:48 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 17:42:48 -0500
commitbaed758af333e84845c82b0ac438f1a8ed49afc0 (patch)
tree41f543a8557ea4b01c2c0f37940495966bb098d8 /redhat/dependencies/tqtinterface
parent4dd12b757689fde246b6e7608d2d44b9bb147a60 (diff)
parent93915c7dddafd2f8e81bb0d9859d41d1e2c0e175 (diff)
downloadtde-packaging-baed758af333e84845c82b0ac438f1a8ed49afc0.tar.gz
tde-packaging-baed758af333e84845c82b0ac438f1a8ed49afc0.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/dependencies/tqtinterface')
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec29
1 files changed, 22 insertions, 7 deletions
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
index 6f781b4ca..1f7430170 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -1,7 +1,7 @@
#
# spec file for package tqtinterface
#
-# Copyright (c) 2014 François Andriot <francois.andriot@free.fr>
+# Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,13 +15,28 @@
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
#
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
# TDE variables
%define tde_version 14.0.0
+%define tde_pkg tdeaddons
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
-%define cmake_modules_dir %{_datadir}/cmake/Modules
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+# 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
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt4 %{_lib}tqt4
@@ -222,18 +237,18 @@ fi
%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
+%__rm -rf "%{?buildroot}"
+%__make install DESTDIR="%{?buildroot}" -C build
# Install 'cmake' modules for development use
-%__mkdir_p %{?buildroot}%{cmake_modules_dir}
+%__mkdir_p "%{?buildroot}%{cmake_modules_dir}"
for i in cmake/modules/*.cmake; do
- %__install -m 644 $i %{?buildroot}%{cmake_modules_dir}
+ %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}"
done
%clean
-%__rm -rf %{?buildroot}
+%__rm -rf "%{?buildroot}"
%changelog