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.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/redhat/applications/ktechlab/trinity-ktechlab.spec b/redhat/applications/ktechlab/trinity-ktechlab.spec
index b93b6d73a..5e5cf5673 100644
--- a/redhat/applications/ktechlab/trinity-ktechlab.spec
+++ b/redhat/applications/ktechlab/trinity-ktechlab.spec
@@ -1,7 +1,7 @@
# Default version for this component
%define kdecomp ktechlab
%define version 0.3
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -55,8 +55,9 @@ 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"
+%__sed -i admin/acinclude.m4.in \
+ -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"
@@ -102,7 +103,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_datadir}/apps/katepart/syntax/microbe.xml
%{_datadir}/apps/ktechlab
%{_datadir}/config.kcfg/ktechlab.kcfg
-%{_docdir}/HTML/en/ktechlab/
+%{tde_docdir}/HTML/en/ktechlab/
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/mimelnk/application/x-circuit.desktop
%{_datadir}/mimelnk/application/x-flowcode.desktop
@@ -111,5 +112,8 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%Changelog
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-2
+- Fix HTML directory location
+
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16