RHEL/Fedora:

- add '/sbin/ldconfig' to kpowersave postinstall
- fix HTML directory location for kile
pull/3/head
Francois Andriot 13 years ago
parent d468a69eef
commit 4d660f8b46

@ -472,7 +472,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_datadir}/config.kcfg/kile.kcfg %{_datadir}/config.kcfg/kile.kcfg
%{_datadir}/icons/hicolor/*/apps/kile.png %{_datadir}/icons/hicolor/*/apps/kile.png
%{_datadir}/icons/hicolor/scalable/apps/kile.svgz %{_datadir}/icons/hicolor/scalable/apps/kile.svgz
%{_docdir}/HTML/en/kile %{tde_docdir}/HTML/en/kile
%{_datadir}/mimelnk/text/x-kilepr.desktop %{_datadir}/mimelnk/text/x-kilepr.desktop
%{_datadir}/pixmaps/kile.xpm %{_datadir}/pixmaps/kile.xpm

@ -1,7 +1,7 @@
# Default version for this component # Default version for this component
%define kdecomp kpowersave %define kdecomp kpowersave
%define version 0.7.3 %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 TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -60,6 +60,7 @@ Current feature list:
* KNotify support * KNotify support
* online help * online help
* localisations for many languages * localisations for many languages
KPowersave supports schemes with following configurable specific KPowersave supports schemes with following configurable specific
settings for: settings for:
* screensaver * screensaver
@ -95,17 +96,19 @@ export PATH="%{_bindir}:${PATH}"
%post %post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || : touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun %postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || : touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/kpowersave %{_bindir}/kpowersave
%{_libdir}/libkdeinit_kpowersave.la %{_libdir}/libkdeinit_kpowersave.la
%{_libdir}/libkdeinit_kpowersave.so %{_libdir}/libkdeinit_kpowersave.so
@ -119,5 +122,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_datadir}/config/kpowersaverc %{_datadir}/config/kpowersaverc
%Changelog %Changelog
* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-2
- Add missing /sbin/ldconfig
- Add missing doc file
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-1 * Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16

Loading…
Cancel
Save