summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ktechlab/trinity-ktechlab.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/ktechlab/trinity-ktechlab.spec')
-rw-r--r--redhat/applications/ktechlab/trinity-ktechlab.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/redhat/applications/ktechlab/trinity-ktechlab.spec b/redhat/applications/ktechlab/trinity-ktechlab.spec
index 5e5cf5673..f6b421450 100644
--- a/redhat/applications/ktechlab/trinity-ktechlab.spec
+++ b/redhat/applications/ktechlab/trinity-ktechlab.spec
@@ -6,7 +6,7 @@
# 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
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -32,6 +32,8 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
+
+# [ktechlab] Fix list of icons to install [Bug #990]
Patch0: ktechlab-3.5.13-duplicate_icons.patch
BuildRequires: tqtinterface-devel
@@ -56,11 +58,11 @@ Homepage: http://ktechlab.org/
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
- -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
@@ -117,3 +119,4 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+- Fix list of icons to install [Bug #990]