summaryrefslogtreecommitdiffstats
path: root/redhat/applications/knights
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2011-11-26 10:39:45 +0100
committerFrancois Andriot <francois.andriot@free.fr>2011-11-26 10:39:45 +0100
commite2bd7a7c7d6839d050e69fde803e0816c1aa8d6b (patch)
tree52c653fdbac0a6e32e2e24badf1eafedc217ae83 /redhat/applications/knights
parent7d8386fd488689270894fcb6c4f7a058c59bb623 (diff)
downloadtde-packaging-e2bd7a7c7d6839d050e69fde803e0816c1aa8d6b.tar.gz
tde-packaging-e2bd7a7c7d6839d050e69fde803e0816c1aa8d6b.zip
RHEL/Fedora: fix gwenview, k9copy, knights HTML directory location
Diffstat (limited to 'redhat/applications/knights')
-rw-r--r--redhat/applications/knights/trinity-knights.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/redhat/applications/knights/trinity-knights.spec b/redhat/applications/knights/trinity-knights.spec
index 2dbbdc1a4..f1b53b788 100644
--- a/redhat/applications/knights/trinity-knights.spec
+++ b/redhat/applications/knights/trinity-knights.spec
@@ -1,7 +1,7 @@
# Default version for this component
%define kdecomp knights
%define version 0.6
-%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"
@@ -61,8 +61,9 @@ Here's a quick list of Knights' key features:
# 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"
@@ -105,11 +106,14 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_bindir}/knights
%{_datadir}/applnk/Games/Board/knights.desktop
%{_datadir}/apps/knights
-%{_docdir}/HTML/*/knights
+%{tde_docdir}/HTML/*/knights
%{_datadir}/icons/*/*/*/*.png
%{_datadir}/mimelnk/application/pgn.desktop
%Changelog
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-2
+- Fix HTML directory location
+
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16