summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kio-locate/trinity-kio-locate.spec
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-07 01:06:08 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-07 01:06:08 +0200
commit9750a057f2f36c5b88a5bc53c0a051b605dac061 (patch)
tree4f205d3ed4ecf8d2df665b566674d12372363c7f /redhat/applications/kio-locate/trinity-kio-locate.spec
parent6bb431be79e8f75c26bbf0f81749fa7738965f65 (diff)
downloadtde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.tar.gz
tde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.zip
RHEL/Fedora: massive updates for Fedora 17 (TDE 3.5.13 entire build)
Diffstat (limited to 'redhat/applications/kio-locate/trinity-kio-locate.spec')
-rw-r--r--redhat/applications/kio-locate/trinity-kio-locate.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/redhat/applications/kio-locate/trinity-kio-locate.spec b/redhat/applications/kio-locate/trinity-kio-locate.spec
index 7f43664d0..8c0677730 100644
--- a/redhat/applications/kio-locate/trinity-kio-locate.spec
+++ b/redhat/applications/kio-locate/trinity-kio-locate.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
@@ -54,11 +54,11 @@ as a directory.
%prep
%setup -q -n applications/%{kdecomp}
-%patch1 -p1
+%patch1 -p1 -b .install
# Ugly hack to modify TQT include directory inside SCONS files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i admin/kde.py \
+%__sed -i "admin/kde.py" \
-e "s|/usr/include/tqt|%{_includedir}/tqt|g"
@@ -85,6 +85,7 @@ scons install DESTDIR=%{buildroot}
%doc AUTHORS ChangeLog COPYING TODO
%{tde_libdir}/kio_locate.la
%{tde_libdir}/kio_locate.so
+%{tde_docdir}/HTML/en/kio-locate/common
%{tde_docdir}/HTML/en/kio-locate/index.cache.bz2
%{tde_docdir}/HTML/en/kio-locate/index.docbook
%{tde_docdir}/HTML/en/kio-locate/screenshot.png