summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kima
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2012-08-02 11:14:37 +0200
committerFrancois Andriot <[email protected]>2012-08-02 11:14:37 +0200
commit14b5a10d92e8fc60d481aba0b9f690c851ed8b71 (patch)
treea36f2ee1621a277cd3cf95b11e10d65dc499d97f /redhat/applications/kima
parent6548b413944f5b913bd9e1f3f9552cc0e362eb03 (diff)
downloadtde-packaging-14b5a10d92e8fc60d481aba0b9f690c851ed8b71.tar.gz
tde-packaging-14b5a10d92e8fc60d481aba0b9f690c851ed8b71.zip
RHEL/Fedora: small updates for some applications
Diffstat (limited to 'redhat/applications/kima')
-rw-r--r--redhat/applications/kima/trinity-kima.spec21
1 files changed, 5 insertions, 16 deletions
diff --git a/redhat/applications/kima/trinity-kima.spec b/redhat/applications/kima/trinity-kima.spec
index 9403f857c..8c1e6e3b7 100644
--- a/redhat/applications/kima/trinity-kima.spec
+++ b/redhat/applications/kima/trinity-kima.spec
@@ -1,12 +1,10 @@
# Default version for this component
%define kdecomp kima
-%define version 0.7.3.2
-%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"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -18,8 +16,8 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{kdecomp}
Summary: kicker monitoring applet [Trinity]
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
+Version: 0.7.3.2
+Release: 2%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -51,7 +49,7 @@ panel.
# 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 \
+%__sed -i "admin/acinclude.m4.in" \
-e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
@@ -86,22 +84,13 @@ export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-
%files -f %{kdecomp}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{tde_libdir}/libkima.la
%{tde_libdir}/libkima.so
%{_datadir}/apps/kicker/applets/kima.desktop
-%{tde_docdir}/HTML/en/kima/common
-%{tde_docdir}/HTML/en/kima/index.cache.bz2
-%{tde_docdir}/HTML/en/kima/index.docbook
+%{tde_docdir}/HTML/en/kima/
%Changelog