From 4d660f8b46b5ab5cdb2c6e125a9d842b355f83f8 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sat, 26 Nov 2011 16:37:54 +0100 Subject: RHEL/Fedora: - add '/sbin/ldconfig' to kpowersave postinstall - fix HTML directory location for kile --- redhat/applications/kile/trinity-kile.spec | 2 +- redhat/applications/kpowersave/trinity-kpowersave.spec | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'redhat/applications') diff --git a/redhat/applications/kile/trinity-kile.spec b/redhat/applications/kile/trinity-kile.spec index a012fd69e..f3defbc8e 100644 --- a/redhat/applications/kile/trinity-kile.spec +++ b/redhat/applications/kile/trinity-kile.spec @@ -472,7 +472,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %{_datadir}/config.kcfg/kile.kcfg %{_datadir}/icons/hicolor/*/apps/kile.png %{_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{_docdir}/HTML/en/kile +%{tde_docdir}/HTML/en/kile %{_datadir}/mimelnk/text/x-kilepr.desktop %{_datadir}/pixmaps/kile.xpm diff --git a/redhat/applications/kpowersave/trinity-kpowersave.spec b/redhat/applications/kpowersave/trinity-kpowersave.spec index c69f96f5e..7ae8ec505 100644 --- a/redhat/applications/kpowersave/trinity-kpowersave.spec +++ b/redhat/applications/kpowersave/trinity-kpowersave.spec @@ -1,7 +1,7 @@ # Default version for this component %define kdecomp kpowersave %define version 0.7.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" @@ -60,6 +60,7 @@ Current feature list: * KNotify support * online help * localisations for many languages + KPowersave supports schemes with following configurable specific settings for: * screensaver @@ -95,17 +96,19 @@ export PATH="%{_bindir}:${PATH}" %post +/sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %postun +/sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %files %defattr(-,root,root,-) -%doc AUTHORS COPYING +%doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/kpowersave %{_libdir}/libkdeinit_kpowersave.la %{_libdir}/libkdeinit_kpowersave.so @@ -119,5 +122,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %{_datadir}/config/kpowersaverc %Changelog +* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 +- Add missing /sbin/ldconfig +- Add missing doc file + * Sat Nov 19 2011 Francois Andriot - 0.7.3-1 - Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- cgit v1.2.1