From 14b5a10d92e8fc60d481aba0b9f690c851ed8b71 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 2 Aug 2012 11:14:37 +0200 Subject: RHEL/Fedora: small updates for some applications --- redhat/applications/kima/trinity-kima.spec | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'redhat/applications/kima') 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 -- cgit v1.2.1