diff options
Diffstat (limited to 'redhat/main')
18 files changed, 0 insertions, 3203 deletions
diff --git a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec index 9cc4a76b8..7a1433f1a 100644 --- a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec @@ -209,20 +209,6 @@ This package is part of Trinity, as a component of the TDE accessibility module. %{tde_datadir}/icons/locolor/*/apps/kmag.png %{tde_tdedocdir}/HTML/en/kmag/ -%post -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - ########## %package -n trinity-kmousetool @@ -244,18 +230,6 @@ This package is part of Trinity, as a component of the TDE accessibility module. %{tde_datadir}/icons/hicolor/*/apps/kmousetool.png %{tde_tdedocdir}/HTML/en/kmousetool/ -%post -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - ########## %package -n trinity-kmouth @@ -283,18 +257,6 @@ This package is part of Trinity, as a component of the TDE accessibility module. %{tde_datadir}/icons/locolor/*/apps/kmouth.png %{tde_tdedocdir}/HTML/en/kmouth/ -%post -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - ########## %package -n trinity-ksayit @@ -321,22 +283,6 @@ This package is part of Trinity, as a component of the TDE accessibility module. %{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop %{tde_tdedocdir}/HTML/en/ksayit/ -%post -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kttsd @@ -419,22 +365,6 @@ Homepage: http://accessibility.kde.org/developer/kttsd %{tde_datadir}/servicetypes/kttsd_synthplugin.desktop %{tde_tdedocdir}/HTML/en/kttsd/ -%post -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kttsd-contrib-plugins @@ -486,12 +416,6 @@ programs. %{tde_libdir}/libKTTSD_Lib.so %{tde_tdeincludedir}/ksayit_fxplugin.h -%post devel -/sbin/ldconfig ||: - -%postun devel -/sbin/ldconfig ||: - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec index a25e713cf..5d546fb8e 100644 --- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec +++ b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec @@ -190,20 +190,6 @@ America and Europe. %{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png %{tde_tdedocdir}/HTML/en/atlantikdesigner/ -%post -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kaddressbook-plugins @@ -399,18 +385,6 @@ controls XMMS, install the xmms-kde-trinity package. %{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png %{tde_tdedocdir}/HTML/en/kicker-applets/ -%post -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %package -n trinity-knewsticker-scripts @@ -597,18 +571,6 @@ graphical disk usage viewer and image conversions and transformations. %{tde_tdelibdir}/libadblock.so %{tde_tdedocdir}/HTML/en/konq-plugins/ -%post -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %package -n trinity-ksig @@ -634,20 +596,6 @@ signatures in external mail clients such as KMail. %{tde_datadir}/icons/hicolor/*/apps/ksig.png %{tde_tdedocdir}/HTML/en/ksig/ -%post -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-noatun-plugins @@ -705,18 +653,6 @@ of user interfaces, playlists and visualisation plugins. %{tde_datadir}/apps/noatun/* %{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png -%post -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec index 956f776e6..668e97ccb 100644 --- a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec +++ b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec @@ -150,20 +150,6 @@ It is a graphical user interface to cron, the UNIX system scheduler. %{tde_datadir}/icons/hicolor/*/apps/kcron.png %{tde_tdedocdir}/HTML/en/kcron/ -%post -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kdat @@ -191,20 +177,6 @@ Main features are: %{tde_datadir}/icons/locolor/*/apps/kdat.png %{tde_tdedocdir}/HTML/en/kdat/ -%post -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package kfile-plugins @@ -248,18 +220,6 @@ can be used to manage network devices and settings for each device. %{tde_tdelibdir}/kcm_knetworkconfmodule.la %{tde_tdedocdir}/HTML/en/knetworkconf/ -%post -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - ########## %package -n trinity-kpackage @@ -281,20 +241,6 @@ install/remove them. %{tde_datadir}/icons/hicolor/*/apps/kpackage.png %{tde_tdedocdir}/HTML/en/kpackage/ -%post -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksysv @@ -318,20 +264,6 @@ drag and drop GUI. %{tde_datadir}/mimelnk/text/x-ksysv-log.desktop %{tde_tdedocdir}/HTML/en/ksysv/ -%post -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kuser @@ -369,20 +301,6 @@ A user/group administration tool for TDE. %config(noreplace) /etc/security/console.apps/kuser %endif -%post -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?with_lilo} diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec index 312ebdc61..f9e26f461 100644 --- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec +++ b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec @@ -278,18 +278,6 @@ This package is part of Trinity, and a component of the TDE artwork module. %{tde_datadir}/icons/locolor/index.theme %{tde_datadir}/icons/locolor/*/*/*.png -%post theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - -%postun theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - ########## %package theme-window diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index 7b7ebe452..b30439963 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -806,18 +806,6 @@ Such as the desktop right-click-"Create New" list %{tde_datadir}/sounds/pop.wav %{tde_datadir}/templates/ -%post runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-kappfinder @@ -837,20 +825,6 @@ creates menu entries for them. %{tde_datadir}/apps/kappfinder %{tde_datadir}/icons/hicolor/*/apps/kappfinder.png -%post -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package -n trinity-libkateinterfaces @@ -864,12 +838,6 @@ This package contains the kateinterface library. %defattr(-,root,root,-) %{tde_libdir}/libkateinterfaces.so.* -%post -n trinity-libkateinterfaces -/sbin/ldconfig || : - -%postun -n trinity-libkateinterfaces -/sbin/ldconfig || : - ########## %package -n trinity-kate @@ -915,22 +883,6 @@ Some random features: %{tde_datadir}/servicetypes/kateplugin.desktop %{tde_tdedocdir}/HTML/en/kate/ -%post -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - ########## %package -n trinity-kate-devel @@ -949,12 +901,6 @@ This package contains the development files fare Kate. %{tde_libdir}/libkateinterfaces.so %{tde_libdir}/libkateinterfaces.la -%post -n trinity-kate-devel -/sbin/ldconfig || : - -%postun -n trinity-kate-devel -/sbin/ldconfig || : - ########## %package -n trinity-kwrite @@ -980,20 +926,6 @@ Kwrite is an advanced text editor for TDE. %{tde_tdedocdir}/HTML/en/kwrite/ -%post -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package -n trinity-kcontrol @@ -1296,14 +1228,6 @@ plugdev group. %{tde_tdedocdir}/HTML/en/tderandrtray/ %endif -%post -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package -n trinity-kcontrol-devel @@ -1319,12 +1243,6 @@ Requires: trinity-kcontrol = %{version}-%{release} %{tde_libdir}/libtdefontinst.la %{tde_libdir}/libtdefontinst.so -%post -n trinity-kcontrol-devel -/sbin/ldconfig || : - -%postun -n trinity-kcontrol-devel -/sbin/ldconfig || : - ########## %package bin @@ -1453,8 +1371,6 @@ TDE applications, particularly those in the TDE base module. %endif %post bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : # Sets permissions on setuid files (openSUSE specific) %if 0%{?suse_version} %{?with_tsak:%set_permissions %{tde_bindir}/%{tdm}tsak} @@ -1462,10 +1378,6 @@ update-desktop-database %{tde_appdir} 2> /dev/null || : %{?with_kbdledsync:%set_permissions %{tde_bindir}/tdekbdledsync} %endif -%postun bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package bin-devel @@ -1486,12 +1398,6 @@ the TDE base module %{tde_libdir}/libkhotkeys_shared.la %{tde_libdir}/libkhotkeys_shared.so -%post bin-devel -/sbin/ldconfig || : - -%postun bin-devel -/sbin/ldconfig || : - ########## %package data @@ -1774,11 +1680,6 @@ needed for a basic TDE desktop installation. %exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ %post data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - %if "%{distribution}" == "Mandriva Linux" # Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) # First, we read the "product" key in /etc/product.id @@ -1795,12 +1696,6 @@ if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920 fi %endif -%postun data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package tdeio-plugins @@ -1968,12 +1863,6 @@ group. %{tde_tdelibdir}/media_propsdlgplugin.so %{tde_datadir}/services/media_propsdlgplugin.desktop -%post tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package -n trinity-tdepasswd @@ -2026,12 +1915,6 @@ system passwords. %{_datadir}/faces/Teddybear.png %{_datadir}/faces/Turtle.png -%post -n trinity-tdepasswd -update-desktop-database %{tde_tdeappdir} 2> /dev/null || : - -%postun -n trinity-tdepasswd -update-desktop-database %{tde_tdeappdir} 2> /dev/null || : - ########## %package -n trinity-tdeprint @@ -2093,22 +1976,6 @@ Installation of smbclient will make you able to use smb shared printers. %{tde_tdedocdir}/HTML/en/tdeprintfax/ %{tde_tdedocdir}/HTML/en/kjobviewer/ -%post -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-kdesktop @@ -2148,20 +2015,6 @@ the TDE desktop. %{tde_datadir}/config.kcfg/kwebdesktop.kcfg %{tde_datadir}/icons/crystalsvg/*/apps/error.png -%post -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-kdesktop-devel @@ -2402,20 +2255,6 @@ workstations. %{tde_datadir}/servicetypes/findpart.desktop %{tde_tdedocdir}/HTML/en/kfind/ -%post -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-khelpcenter @@ -2449,22 +2288,6 @@ documentation. %{tde_datadir}/services/khelpcenter.desktop %{tde_tdedocdir}/HTML/en/khelpcenter/ -%post -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-kicker @@ -2582,22 +2405,6 @@ functionality. %{tde_datadir}/oxygen/scalable/mgabutton.svg %endif -%post -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-kicker-devel @@ -2624,12 +2431,6 @@ This package contains the development files for kicker. %{tde_libdir}/libtaskmanager.la %{tde_libdir}/libtaskmanager.so -%post -n trinity-kicker-devel -/sbin/ldconfig || : - -%postun -n trinity-kicker-devel -/sbin/ldconfig || : - ########## %package -n trinity-klipper @@ -2663,22 +2464,6 @@ web browser if the clipboard contains a URL. %{tde_datadir}/icons/hicolor/*/apps/klipper.* %{tde_tdedocdir}/HTML/en/klipper/ -%post -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-kmenuedit @@ -2708,14 +2493,6 @@ structure. %{tde_datadir}/apps/kmenuedit/ %{tde_tdedocdir}/HTML/en/kmenuedit/ -%post -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - ########## %package -n trinity-konqueror @@ -2850,12 +2627,6 @@ ever launching another application. %{tde_tdedocdir}/HTML/en/keditbookmarks/ %post -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : if [ $1 -eq 1 ]; then update-alternatives --install \ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ @@ -2864,14 +2635,6 @@ if [ $1 -eq 1 ]; then 10 || : fi -%postun -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - %preun -n trinity-konqueror if [ $1 -eq 0 ]; then update-alternatives --remove \ @@ -2896,12 +2659,6 @@ This package contains the development files for konqueror. %{tde_libdir}/libkonqsidebarplugin.la %{tde_libdir}/libkonqsidebarplugin.so -%post -n trinity-konqueror-devel -/sbin/ldconfig || : - -%postun -n trinity-konqueror-devel -/sbin/ldconfig || : - ########## %package -n trinity-konqueror-nsplugins @@ -2923,12 +2680,6 @@ This package includes support for Netscape plugins in Konqueror. %{tde_tdeappdir}/tdehtml_plugins.desktop %{tde_datadir}/apps/plugin/nspluginpart.rc -%post -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - ########## %package -n trinity-konsole @@ -2982,22 +2733,6 @@ Using Konsole, a user can open: %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ %config %{_sysconfdir}/fonts/conf.d/99-konsole.conf -%post -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-kpager @@ -3018,20 +2753,6 @@ applications. It is used to switch between applications or desktops. %{tde_datadir}/icons/hicolor/*/apps/kpager.png %{tde_tdedocdir}/HTML/en/kpager/ -%post -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-kpersonalizer @@ -3053,20 +2774,6 @@ automatically started. KPersonalizer can also be called later. %{tde_datadir}/apps/kpersonalizer/ %{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png -%post -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-ksmserver @@ -3103,13 +2810,11 @@ TDE will start, but many good defaults will not be set. %{tde_datadir}/apps/ksmserver/ %post -n trinity-ksmserver -/sbin/ldconfig || : %if 0%{?mdkversion} || 0%{?mgaversion} fndSession %endif %postun -n trinity-ksmserver -/sbin/ldconfig || : %if 0%{?mdkversion} || 0%{?mgaversion} fndSession %endif @@ -3150,14 +2855,6 @@ a TDE session is launched. %{tde_datadir}/servicetypes/ksplashplugins.desktop %{tde_tdedocdir}/HTML/en/ksplashml/ -%post -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - ########## %package -n trinity-ksplash-devel @@ -3174,12 +2871,6 @@ This package contains the development files for ksplash. %{tde_libdir}/libksplashthemes.la %{tde_libdir}/libksplashthemes.so -%post -n trinity-ksplash-devel -/sbin/ldconfig || : - -%postun -n trinity-ksplash-devel -/sbin/ldconfig || : - ########## %package -n trinity-ksysguard @@ -3206,22 +2897,6 @@ computer. %{tde_datadir}/mimelnk/application/x-ksysguard.desktop %{tde_tdedocdir}/HTML/en/ksysguard/ -%post -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-ksysguard-devel @@ -3238,12 +2913,6 @@ This package contains the development files for ksysguard. %{tde_libdir}/libksgrd.la %{tde_libdir}/libksgrd.so -%post -n trinity-ksysguard-devel -/sbin/ldconfig || : - -%postun -n trinity-ksysguard-devel -/sbin/ldconfig || : - ########## %package -n trinity-ksysguardd @@ -3280,20 +2949,6 @@ ktip provides many useful tips on using TDE when you log in. %{tde_datadir}/autostart/ktip.desktop %{tde_datadir}/icons/hicolor/*/apps/ktip.* -%post -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - ########## %package -n trinity-twin @@ -3347,22 +3002,6 @@ This package contains the default X window manager for TDE. %{tde_datadir}/icons/crystalsvg/*/apps/twin.png %{tde_tdedocdir}/HTML/en/kompmgr/ -%post -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-twin-devel @@ -3385,12 +3024,6 @@ This package contains the development files for twin. %{tde_libdir}/libtdecorations.la %{tde_libdir}/libtdecorations.so -%post -n trinity-twin-devel -/sbin/ldconfig || : - -%postun -n trinity-twin-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkonq @@ -3420,12 +3053,6 @@ Konqueror and the kdesktop package. %{tde_datadir}/services/kded/favicons.desktop %{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop -%post -n trinity-libkonq -/sbin/ldconfig || : - -%postun -n trinity-libkonq -/sbin/ldconfig || : - ########## %package libtqt3-integration @@ -3472,12 +3099,6 @@ Konqueror libraries. %{tde_libdir}/libkonq.la %{tde_libdir}/libkonq.so -%post -n trinity-libkonq-devel -/sbin/ldconfig || : - -%postun -n trinity-libkonq-devel -/sbin/ldconfig || : - ########## %package tdeio-smb-plugin diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec index 24209e459..2e9abc9de 100644 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec @@ -353,12 +353,6 @@ This package is part of the official TDE bindings module. %{tde_libdir}/libjavadcop.la %{tde_libdir}/libjavadcop.so -%post -n trinity-libdcop3-jni -/sbin/ldconfig || : - -%postun -n trinity-libdcop3-jni -/sbin/ldconfig || : - ########## %package -n trinity-libqt3-java @@ -404,12 +398,6 @@ This package is part of the official TDE bindings module. %{tde_libdir}/jni/libqtjava.so.* %doc qtjava/ChangeLog -%post -n trinity-libqt3-jni -/sbin/ldconfig || : - -%postun -n trinity-libqt3-jni -/sbin/ldconfig || : - ########## %package -n trinity-libqt3-jni-devel @@ -504,12 +492,6 @@ This package is part of the official TDE bindings module. %defattr(-,root,root,-) %{tde_libdir}/libsmoketqt.so.* -%post -n trinity-libsmoketqt -/sbin/ldconfig || : - -%postun -n trinity-libsmoketqt -/sbin/ldconfig || : - ########## %package -n trinity-libsmoketqt-devel @@ -537,12 +519,6 @@ This package is part of the official TDE bindings module. %{tde_libdir}/libsmoketqt.so %{tde_libdir}/libsmoketqt.la -%post -n trinity-libsmoketqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmoketqt-devel -/sbin/ldconfig || : - ########## %package -n trinity-libsmoketde @@ -563,12 +539,6 @@ This package is part of the official TDE bindings module. %defattr(-,root,root,-) %{tde_libdir}/libsmoketde.so.* -%post -n trinity-libsmoketde -/sbin/ldconfig || : - -%postun -n trinity-libsmoketde -/sbin/ldconfig || : - ########## %package -n trinity-libsmoketde-devel @@ -595,12 +565,6 @@ This package is part of the official TDE bindings module. %{tde_libdir}/libsmoketde.so %{tde_libdir}/libsmoketde.la -%post -n trinity-libsmoketde-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmoketde-devel -/sbin/ldconfig || : - ########## %package -n perl-dcop @@ -695,18 +659,6 @@ This package is part of the official TDE bindings module. %{tde_datadir}/services/javascript.desktop %doc kjsembed/docs/ChangeLog -%post -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - ########## %package -n trinity-libkjsembed-devel @@ -732,12 +684,6 @@ This package is part of the official TDE bindings module. %{tde_libdir}/libkjsembed.la %{tde_docdir}/trinity-libkjsembed-devel/ -%post -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -%postun -n trinity-libkjsembed-devel -/sbin/ldconfig || : - ########## %package -n trinity-kjscmd @@ -758,12 +704,6 @@ This package is part of the official TDE bindings module. %{tde_tdelibdir}/libjsconsoleplugin.la %{tde_tdelibdir}/libjsconsoleplugin.so -%post -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -%postun -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - ########## %package -n trinity-juic @@ -814,12 +754,6 @@ This package is part of the official TDE bindings module. %{ruby_arch}/korundum.so* %doc korundum/ChangeLog -%post -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - ########## %package -n trinity-libqt0-ruby @@ -851,12 +785,6 @@ This package is part of the official TDE bindings module. %{ruby_arch}/tqui.la %doc qtruby/ChangeLog -%post -n trinity-libqt0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libqt0-ruby -/sbin/ldconfig || : - ########## %if 0 @@ -895,12 +823,6 @@ xpart_notepad is a small XPart editor. Use it to understand how to use XPart. %{tde_datadir}/services/xp_notepad.desktop %doc xparts/xpart_notepad/README -%post -n trinity-xpart-notepad -/sbin/ldconfig || : - -%postun -n trinity-xpart-notepad -/sbin/ldconfig || : - ########## %if 0%{?with_gtk1} @@ -916,11 +838,6 @@ This package contains the xparts library for GTK. %{tde_libdir}/libgtkxparts.so.* %{tde_libdir}/libgtkxparts.la -%post -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -%postun -n trinity-libgtkxparts1 -/sbin/ldconfig || : %endif ########## @@ -940,12 +857,6 @@ This package contains the xparts library for TDE. %{tde_libdir}/libtdexparts.so.* %{tde_libdir}/libtdexparts.la -%post -n trinity-libtdexparts -/sbin/ldconfig || : - -%postun -n trinity-libtdexparts -/sbin/ldconfig || : - ########## %package -n trinity-libxparts-devel @@ -967,12 +878,6 @@ This package contains the development files for Xparts library. %endif %{tde_libdir}/libtdexparts.so -%post -n trinity-libxparts-devel -/sbin/ldconfig || : - -%postun -n trinity-libxparts-devel -/sbin/ldconfig || : - ########## %package xparts-extras @@ -1009,12 +914,6 @@ This package contains the DCOP bindings for C. %defattr(-,root,root,-) %{tde_libdir}/libdcopc.so.* -%post -n trinity-libdcop-c -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c -/sbin/ldconfig || : - ########### %package -n trinity-libdcop-c-devel @@ -1031,12 +930,6 @@ This package contains the development files for DCOP bindings for C. %{tde_libdir}/libdcopc.la %{tde_tdeincludedir}/dcopc/ -%post -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c-devel -/sbin/ldconfig || : - ########## %package devel diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec index 41785bb3e..26d8ede69 100644 --- a/redhat/main/tdeedu/tdeedu-14.0.0.spec +++ b/redhat/main/tdeedu/tdeedu-14.0.0.spec @@ -212,20 +212,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz %{tde_tdedocdir}/HTML/en/blinken/ -%post -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kalzium @@ -262,20 +248,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz %{tde_tdedocdir}/HTML/en/kalzium/ -%post -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kalzium-data @@ -328,20 +300,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz %{tde_tdedocdir}/HTML/en/kanagram/ -%post -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kbruch @@ -367,20 +325,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png %{tde_tdedocdir}/HTML/en/kbruch/ -%post -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-keduca @@ -410,20 +354,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/services/keduca_part.desktop %{tde_tdedocdir}/HTML/en/keduca/ -%post -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kgeography @@ -450,20 +380,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/*/apps/kgeography.png %{tde_tdedocdir}/HTML/en/kgeography -%post -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kgeography-data @@ -514,20 +430,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz %{tde_tdedocdir}/HTML/en/khangman/ -%post -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kig @@ -588,20 +490,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_confdir}/magic/cabri.magic.mgc %{tde_confdir}/magic/drgeo.magic.mgc -%post -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kiten @@ -628,20 +516,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/*/apps/kiten.png %{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz -%post -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klatin @@ -676,20 +550,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz %{tde_tdedocdir}/HTML/en/klatin/ -%post -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klettres @@ -719,20 +579,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz %{tde_tdedocdir}/HTML/en/klettres/ -%post -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klettres-data @@ -789,20 +635,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/services/kmplot_part.desktop %{tde_tdedocdir}/HTML/en/kmplot/ -%post -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kpercentage @@ -829,20 +661,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz %{tde_tdedocdir}/HTML/en/kpercentage/ -%post -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kstars @@ -877,20 +695,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz %{tde_tdedocdir}/HTML/en/kstars/ -%post -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kstars-data @@ -939,20 +743,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz %{tde_tdedocdir}/HTML/en/ktouch/ -%post -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kturtle @@ -990,20 +780,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/*/apps/kturtle.png %{tde_tdedocdir}/HTML/en/kturtle/ -%post -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kverbos @@ -1033,20 +809,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz %{tde_tdedocdir}/HTML/en/kverbos/ -%post -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kvoctrain @@ -1089,22 +851,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png %{tde_tdedocdir}/HTML/en/kvoctrain/ -%post -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kwordquiz @@ -1137,20 +883,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/mimelnk/application/x-kwordquiz.desktop %{tde_tdedocdir}/HTML/en/kwordquiz/ -%post -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-libtdeedu3 @@ -1171,12 +903,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_libdir}/libtdeeduplot.so.* %{tde_libdir}/libtdeeduui.so.* -%post -n trinity-libtdeedu3 -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu3 -/sbin/ldconfig || : - ########## %package -n trinity-libtdeedu-devel @@ -1205,13 +931,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_libdir}/libtdeeduplot.la %{tde_libdir}/libtdeeduplot.so -%post -n trinity-libtdeedu-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu-devel -/sbin/ldconfig || : - - ########## %package -n trinity-libkiten1 @@ -1243,20 +962,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_datadir}/icons/locolor/16x16/actions/edit_add.png %{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png -%post -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - ########## %package -n trinity-libkiten-devel @@ -1282,12 +987,6 @@ This package is part of Trinity, as a component of the TDE education module. %{tde_libdir}/libkiten.la %{tde_libdir}/libkiten.so -%post -n trinity-libkiten-devel -/sbin/ldconfig || : - -%postun -n trinity-libkiten-devel -/sbin/ldconfig || : - ########## %package -n trinity-indi @@ -1350,12 +1049,6 @@ This package contains the development files for tdeedu. %{tde_libdir}/libkvoctraincore.la %{tde_libdir}/libkvoctraincore.so -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdegames/tdegames-14.0.0.spec b/redhat/main/tdegames/tdegames-14.0.0.spec index b8e352099..2d97952c0 100644 --- a/redhat/main/tdegames/tdegames-14.0.0.spec +++ b/redhat/main/tdegames/tdegames-14.0.0.spec @@ -177,20 +177,6 @@ This package is part of TDE, and a component of the TDE games module. %{tde_datadir}/icons/crystalsvg/*/actions/roll.png %{tde_datadir}/icons/crystalsvg/*/actions/highscore.png -%post -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - ########## %package -n trinity-libtdegames-devel @@ -255,22 +241,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/apps/atlantik/ %{tde_tdedocdir}/HTML/en/atlantik/ -%post -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-atlantik-devel @@ -295,12 +265,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_libdir}/libatlantikui.so %{tde_libdir}/libatlantikui.la -%post -n trinity-atlantik-devel -/sbin/ldconfig || : - -%postun -n trinity-atlantik-devel -/sbin/ldconfig || : - ########## %package -n trinity-kasteroids @@ -326,20 +290,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/kasteroids.kcfg %{tde_tdedocdir}/HTML/en/kasteroids/ -%post -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-katomic @@ -362,20 +312,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/katomic %{tde_tdedocdir}/HTML/en/katomic/ -%post -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kbackgammon @@ -400,20 +336,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png %{tde_tdedocdir}/HTML/en/kbackgammon/ -%post -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kbattleship @@ -437,20 +359,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kbattleship %{tde_tdedocdir}/HTML/en/kbattleship/ -%post -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kblackbox @@ -475,20 +383,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kblackbox %{tde_tdedocdir}/HTML/en/kblackbox/ -%post -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kbounce @@ -523,20 +417,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kbounce %{tde_tdedocdir}/HTML/en/kbounce/ -%post -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kenolaba @@ -563,20 +443,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kenolaba %{tde_tdedocdir}/HTML/en/kenolaba/ -%post -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kfouleggs @@ -600,20 +466,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png %{tde_tdedocdir}/HTML/en/kfouleggs/ -%post -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kgoldrunner @@ -646,20 +498,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kgoldrunner %{tde_tdedocdir}/HTML/en/kgoldrunner/ -%post -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kjumpingcube @@ -685,20 +523,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/kjumpingcube.kcfg %{tde_tdedocdir}/HTML/en/kjumpingcube/ -%post -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klickety @@ -720,20 +544,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/apps/klickety/ %{tde_tdedocdir}/HTML/en/klickety/ -%post -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klines @@ -764,20 +574,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/icons/hicolor/*/apps/klines.png %{tde_tdedocdir}/HTML/en/klines/ -%post -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kmahjongg @@ -800,20 +596,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/kmahjongg.kcfg %{tde_tdedocdir}/HTML/en/kmahjongg/ -%post -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kmines @@ -840,20 +622,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kmines %{tde_tdedocdir}/HTML/en/kmines/ -%post -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-knetwalk @@ -876,20 +644,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_tdeappdir}/knetwalk.desktop %{tde_tdedocdir}/HTML/en/knetwalk/ -%post -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kolf @@ -920,22 +674,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_tdedocdir}/HTML/en/kolf/ %{tde_confdir}/magic/kolf.magic.mgc -%post -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kolf-devel @@ -955,12 +693,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_libdir}/libkolf.la %{tde_libdir}/libkolf.so -%post -n trinity-kolf-devel -/sbin/ldconfig || : - -%postun -n trinity-kolf-devel -/sbin/ldconfig || : - ########## %package -n trinity-konquest @@ -982,20 +714,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/konquest %{tde_tdedocdir}/HTML/en/konquest/ -%post -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kpat @@ -1016,20 +734,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kpat %{tde_tdedocdir}/HTML/en/kpat/ -%post -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kpoker @@ -1050,20 +754,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kpoker %{tde_tdedocdir}/HTML/en/kpoker/ -%post -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kreversi @@ -1093,20 +783,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/icons/hicolor/*/apps/kreversi.png %{tde_tdedocdir}/HTML/en/kreversi/ -%post -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksame @@ -1129,20 +805,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_tdeappdir}/ksame.desktop %{tde_tdedocdir}/HTML/en/ksame/ -%post -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kshisen @@ -1166,20 +828,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/kshisen %{tde_tdedocdir}/HTML/en/kshisen/ -%post -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksirtet @@ -1207,20 +855,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/ksirtet.kcfg %{tde_tdedocdir}/HTML/en/ksirtet/ -%post -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksmiletris @@ -1242,20 +876,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/ksmiletris %{tde_tdedocdir}/HTML/en/ksmiletris/ -%post -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksnake @@ -1277,20 +897,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/ksnake %{tde_tdedocdir}/HTML/en/ksnake/ -%post -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksokoban @@ -1326,20 +932,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_bindir}/ksokoban %{tde_tdedocdir}/HTML/en/ksokoban/ -%post -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kspaceduel @@ -1365,20 +957,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/kspaceduel.kcfg %{tde_tdedocdir}/HTML/en/kspaceduel/ -%post -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ktron @@ -1400,20 +978,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/config.kcfg/ktron.kcfg %{tde_tdedocdir}/HTML/en/ktron/ -%post -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ktuberling @@ -1448,20 +1012,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_datadir}/mimelnk/application/x-tuberling.desktop %{tde_tdedocdir}/HTML/en/ktuberling/ -%post -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-twin4 @@ -1492,20 +1042,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_tdeappdir}/twin4.desktop %{tde_tdedocdir}/HTML/en/twin4/ -%post -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-lskat @@ -1533,20 +1069,6 @@ This package is part of Trinity, and a component of the TDE games module. %{tde_tdeappdir}/lskat.desktop %{tde_tdedocdir}/HTML/en/lskat/ -%post -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec index 6f6ebb357..3a95c4b0f 100644 --- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec +++ b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec @@ -293,20 +293,6 @@ Group: Hardware/Camera This is a digital camera io_slave for TDE which uses gphoto2 and libgpio to allow access to your camera's pictures with the URL camera:/ -%post -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - %files -n trinity-kamera %defattr(-,root,root,-) %{tde_tdelibdir}/kcm_kamera.la @@ -345,20 +331,6 @@ picker. %{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png %{tde_tdedocdir}/HTML/en/kcoloredit/ -%post -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package kfile-plugins @@ -451,20 +423,6 @@ This program and KPart allow the user to display *.DVI files from TeX. %{tde_datadir}/services/kdvimultipage.desktop %{tde_tdedocdir}/HTML/en/kdvi/ -%post -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kfax @@ -484,20 +442,6 @@ A fax viewer for Trinity, supporting the display of raw and tiffed fax images %{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz %{tde_tdedocdir}/HTML/en/kfax/ -%post -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kfaxview @@ -524,22 +468,6 @@ kfax application once it reproduces all of kfax's features. %{tde_datadir}/services/kfaxmultipage_tiff.desktop %{tde_tdedocdir}/HTML/en/kfaxview/ -%post -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - ########## %package -n trinity-kgamma @@ -563,20 +491,6 @@ Homepage: http://kgamma.berlios.de/index2.php %{tde_datadir}/icons/hicolor/*/apps/kgamma.png %{tde_tdedocdir}/HTML/en/kgamma/ -%post -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kghostview @@ -607,22 +521,6 @@ online. %{tde_datadir}/services/kghostview_part.desktop %{tde_tdedocdir}/HTML/en/kghostview/ -%post -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - ########## %package -n trinity-tdeiconedit @@ -643,20 +541,6 @@ TDEIconedit allows you easily to create and edit icons. %{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png %{tde_tdedocdir}/HTML/en/tdeiconedit/ -%post -n trinity-tdeiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdeiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?build_kmrml} @@ -692,14 +576,6 @@ MRML server. %{tde_datadir}/services/mrml.protocol %{tde_datadir}/services/mrml_part.desktop -%post -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - %endif ########## @@ -732,20 +608,6 @@ Homepage: http://kolourpaint.sourceforge.net %{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz %{tde_tdedocdir}/HTML/en/kolourpaint/ -%post -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kooka @@ -776,12 +638,6 @@ Homepage: http://kooka.kde.org/ %{tde_datadir}/icons/hicolor/*/apps/kooka.png %{tde_tdedocdir}/HTML/en/kooka/ -%post -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kpdf @@ -807,20 +663,6 @@ application. %{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz %{tde_datadir}/services/kpdf_part.desktop -%post -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kpovmodeler @@ -854,22 +696,6 @@ Homepage: http://www.kpovmodeler.org %{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* %doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ -%post -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - ########## %package -n trinity-kruler @@ -888,20 +714,6 @@ Kruler is a screen ruler (using pixels) and color measurement tool for KDE. %{tde_datadir}/icons/hicolor/*/apps/kruler.png %{tde_tdedocdir}/HTML/en/kruler/ -%post -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksnapshot @@ -921,20 +733,6 @@ The images can then be saved in a variety of formats. %{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz %{tde_tdedocdir}/HTML/en/ksnapshot/ -%post -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksvg @@ -966,12 +764,6 @@ application. %{tde_datadir}/services/svgthumbnail.desktop %{tde_datadir}/servicetypes/ksvgrenderer.desktop -%post -n trinity-ksvg -/sbin/ldconfig || : - -%postun -n trinity-ksvg -/sbin/ldconfig || : - ########## %package -n trinity-kview @@ -1028,22 +820,6 @@ as well. %{tde_datadir}/servicetypes/kimageviewercanvas.desktop %{tde_tdedocdir}/HTML/en/kview/ -%post -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - ########## %package -n trinity-kviewshell @@ -1080,20 +856,6 @@ DjVu images. %{tde_datadir}/services/djvumultipage.desktop %{tde_datadir}/servicetypes/tdemultipage.desktop -%post -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - ########## %package -n trinity-libkscan @@ -1114,20 +876,6 @@ It provides an easy-to-use library, which allows you to access your scanner %{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png %{tde_datadir}/services/scanservice.desktop -%post -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - ########## %package -n trinity-libkscan-devel @@ -1143,12 +891,6 @@ This package contains development files for Trinity's scanner library. %{tde_libdir}/libkscan.la %{tde_libdir}/libkscan.so -%post -n trinity-libkscan-devel -/sbin/ldconfig || : - -%postun -n trinity-libkscan-devel -/sbin/ldconfig || : - ########## %package -n trinity-libpoppler-tqt @@ -1167,12 +909,6 @@ This library is used by the Trinity graphics file plugins for PDF support. %defattr(-,root,root,-) %{tde_libdir}/libpoppler-tqt.so.* -%post -n trinity-libpoppler-tqt -/sbin/ldconfig || : - -%postun -n trinity-libpoppler-tqt -/sbin/ldconfig || : - ########## %package -n trinity-libpoppler-tqt-devel @@ -1197,12 +933,6 @@ This package contains the development files needed to compile applications again %{tde_libdir}/libpoppler-tqt.so %{tde_libdir}/pkgconfig/poppler-tqt.pc -%post -n trinity-libpoppler-tqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libpoppler-tqt-devel -/sbin/ldconfig || : - ########## %package devel @@ -1250,12 +980,6 @@ applications against tdegraphics libraries. # cmake %{tde_datadir}/cmake/* -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.spec b/redhat/main/tdelibs/tdelibs-14.0.0.spec index f47de8429..cfa5db46d 100644 --- a/redhat/main/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/main/tdelibs/tdelibs-14.0.0.spec @@ -548,8 +548,6 @@ if [ -d "%{tde_datadir}/locale/all_languages" ]; then fi %post -/sbin/ldconfig || : - %if 0%{?suse_version} # Sets permissions on setuid files (openSUSE specific) %set_permissions %{tde_bindir}/kgrantpty @@ -557,9 +555,6 @@ fi %set_permissions %{tde_bindir}/start_tdeinit %endif -%postun -/sbin/ldconfig || : - ########## %package devel @@ -598,12 +593,6 @@ applications for TDE. %{tde_datadir}/cmake/tdelibs.cmake %{tde_libdir}/pkgconfig/tdelibs.pc -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec index 568e0c838..64da81560 100644 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec @@ -410,22 +410,6 @@ This is the analog Realtime synthesizer's graphical design tool. %{tde_datadir}/mimelnk/application/x-artsbuilder.desktop %{tde_tdedocdir}/HTML/en/artsbuilder/ -%post -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-juk @@ -460,20 +444,6 @@ Some of JuK's features include: %{tde_datadir}/icons/hicolor/*/apps/juk.png %{tde_tdedocdir}/HTML/en/juk/ -%post -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kaboodle @@ -500,20 +470,6 @@ for TDE. It uses the aRts framework for playing media files. %{tde_datadir}/services/kaboodleengine.desktop %{tde_tdedocdir}/HTML/en/kaboodle/ -%post -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kaudiocreator @@ -544,20 +500,6 @@ searches CDDB to retrieve the information of the disk. %{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png %{tde_tdedocdir}/HTML/en/kaudiocreator/ -%post -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package kfile-plugins @@ -660,14 +602,6 @@ Konqueror and the audiocd:/ URL. %{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ %{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png -%post tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdemid @@ -693,22 +627,6 @@ This package provides a MIDI and karaoke player for TDE. %{tde_datadir}/servicetypes/audiomidi.desktop %{tde_tdedocdir}/HTML/en/tdemid/ -%post -n trinity-tdemid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdemid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kmix @@ -740,22 +658,6 @@ This package includes TDE's dockable sound mixer applet. %{tde_datadir}/services/kmixctrl_restore.desktop %{tde_tdedocdir}/HTML/en/kmix/ -%post -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-krec @@ -794,22 +696,6 @@ This is a sound recording utility for Trinity. %{tde_datadir}/servicetypes/krec_exportitem.desktop %{tde_tdedocdir}/HTML/en/krec/ -%post -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kscd @@ -832,20 +718,6 @@ This is Trinity's audio CD player. %{tde_datadir}/mimelnk/text/xmcd.desktop %{tde_tdedocdir}/HTML/en/kscd/ -%post -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?with_akode} @@ -871,11 +743,6 @@ This package contains akode plugins for aRts. # Requires MAD support %{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} -%post -n trinity-libarts-akode -/sbin/ldconfig - -%postun -n trinity-libarts-akode -/sbin/ldconfig %endif ########## @@ -895,12 +762,6 @@ This package contains audiofile plugins for aRts. %{tde_libdir}/mcop/audiofilearts.mcopclass %{tde_libdir}/mcop/audiofilearts.mcoptype -%post -n trinity-libarts-audiofile -/sbin/ldconfig - -%postun -n trinity-libarts-audiofile -/sbin/ldconfig - ########## %if 0%{?with_mpeg} @@ -928,11 +789,6 @@ This is the arts (TDE Sound daemon) plugin. %{tde_libdir}/mcop/SplayPlayObject.mcopclass %{tde_libdir}/mcop/WAVPlayObject.mcopclass -%post -n trinity-libarts-mpeglib -/sbin/ldconfig - -%postun -n trinity-libarts-mpeglib -/sbin/ldconfig %endif ########## @@ -959,11 +815,6 @@ multimedia engine though aRts. %{tde_datadir}/apps/videothumbnail/sprocket-small.png %{tde_datadir}/services/videothumbnail.desktop -%post -n trinity-libarts-xine -/sbin/ldconfig - -%postun -n trinity-libarts-xine -/sbin/ldconfig %endif ########## @@ -988,14 +839,6 @@ databases, for TDE applications. %{tde_datadir}/config.kcfg/libkcddb.kcfg %{tde_tdedocdir}/HTML/en/kcontrol/cddb/ -%post -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?with_mpeg} @@ -1024,12 +867,6 @@ and WAV playback %{tde_libdir}/libyafcore.so %{tde_libdir}/libyafxplayer.so -%post -n trinity-mpeglib -/sbin/ldconfig - -%postun -n trinity-mpeglib -/sbin/ldconfig - %endif ########## @@ -1117,22 +954,6 @@ formats supported by your installation of aRts (including aRts plugins). %{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop %{tde_tdedocdir}/HTML/en/noatun/ -%post -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package devel @@ -1203,12 +1024,6 @@ noatun plugins. %{tde_libdir}/libyafxplayer.la %endif -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec index 8acda57b7..f0e37582b 100644 --- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec +++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec @@ -316,12 +316,6 @@ DCOP is the TDE interprocess communication protocol. %{tde_bindir}/rssservice %{tde_datadir}/services/rssservice.desktop -%post -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -%postun -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - ########## %package devel @@ -357,12 +351,6 @@ development-related files for the TDE network module. %{tde_libdir}/librss.la %{tde_libdir}/librss.so -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - ########## %package filesharing @@ -393,18 +381,6 @@ NFS and Samba. %{tde_tdedocdir}/HTML/en/kcontrol/fileshare/ %{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/ -%post filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-kdict @@ -430,18 +406,6 @@ basic as well as advanced queries. %{tde_datadir}/icons/hicolor/*/apps/kdict.* %{tde_tdedocdir}/HTML/en/kdict -%post -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package tdefile-plugins @@ -464,12 +428,6 @@ dialog in konqueror and other file-handling applications. %{tde_tdelibdir}/tdefile_torrent.so %{tde_datadir}/services/tdefile_torrent.desktop -%post tdefile-plugins -update-desktop-database 2> /dev/null || : - -%postun tdefile-plugins -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-kget @@ -507,18 +465,6 @@ applications and Netscape. %{tde_datadir}/sounds/KGet_Started.ogg %{tde_tdedocdir}/HTML/en/kget -%post -n trinity-kget -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kget -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-knewsticker @@ -550,18 +496,6 @@ good news sources which provide such files. %{tde_datadir}/services/kntsrcfilepropsdlg.desktop %{tde_tdedocdir}/HTML/en/knewsticker -%post -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-kopete @@ -756,20 +690,6 @@ Support for more IM protocols can be added through a plugin system. %{tde_datadir}/config.kcfg/smpppdcs.kcfg -%post -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -%postun -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - ########## %package -n trinity-kopete-nowlistening @@ -813,18 +733,6 @@ designed to be used for sharing files with friends. %{tde_datadir}/services/kpfpropertiesdialogplugin.desktop %{tde_tdedocdir}/HTML/en/kpf -%post -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-kppp @@ -879,21 +787,11 @@ track of the time spent online for you. %endif %post -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : %if 0%{?suse_version} # Sets permissions on setuid files (openSUSE specific) %set_permissions %{tde_bindir}/kppp %endif -%postun -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-krdc @@ -920,18 +818,6 @@ Servers using RDP. %{tde_tdedocdir}/HTML/en/tdeioslave/rdp/ %{tde_tdedocdir}/HTML/en/tdeioslave/vnc/ -%post -n trinity-krdc -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krdc -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-krfb @@ -967,18 +853,6 @@ task. %{tde_datadir}/servicetypes/kinetdmodule.desktop %{tde_tdedocdir}/HTML/en/krfb/ -%post -n trinity-krfb -for f in crystalsvg hicolor locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krfb -for f in crystalsvg hicolor locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-ksirc @@ -1004,21 +878,6 @@ recommended package libio-socket-ssl-perl. %{tde_datadir}/icons/hicolor/*/apps/ksirc.* %{tde_tdedocdir}/HTML/??/ksirc/ -%post -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - - -%postun -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - ########## %package -n trinity-ktalkd @@ -1047,18 +906,6 @@ and shouldn't be run on a multi-user machine. %{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd %{tde_tdedocdir}/HTML/en/ktalkd -%post -n trinity-ktalkd -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-ktalkd -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - ########## %if "%{?_with_wifi:1}" == "1" @@ -1087,18 +934,6 @@ wavelan card that uses the wireless extensions interface. %{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz %{tde_tdedocdir}/HTML/en/kwifimanager/ %{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/ - -%post -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : %endif ########## @@ -1117,12 +952,6 @@ automatically when needed. %{tde_libdir}/librss.so.* %{tde_datadir}/cmake/librss.cmake -%post -n trinity-librss -/sbin/ldconfig - -%postun -n trinity-librss -/sbin/ldconfig - ########## %package -n trinity-lisa @@ -1155,12 +984,6 @@ but relying only on the TCP/IP protocol. %{tde_bindir}/lisa %{tde_bindir}/reslisa -%post -n trinity-lisa -update-desktop-database 2> /dev/null || : - -%postun -n trinity-lisa -update-desktop-database 2> /dev/null || : - ########## %package -n trinity-kdnssd @@ -1189,12 +1012,6 @@ A tdeioslave and tded module that provide Zeroconf support. Try %{tde_tdelibdir}/kded_dnssdwatcher.so %{tde_tdelibdir}/kded_dnssdwatcher.la -%post -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdepim/tdepim-14.0.0.spec b/redhat/main/tdepim/tdepim-14.0.0.spec index a42fa71e0..185f11f12 100644 --- a/redhat/main/tdepim/tdepim-14.0.0.spec +++ b/redhat/main/tdepim/tdepim-14.0.0.spec @@ -305,22 +305,6 @@ thousands of internet feeds in a quick, efficient, and familiar way. %{tde_tdedocdir}/HTML/en/akregator/ %{tde_tdedocdir}/HTML/en/tdeioslave/feed/ -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-akregator-devel @@ -337,12 +321,6 @@ Requires: trinity-akregator = %{version}-%{release} %{tde_libdir}/libakregatorprivate.la %{tde_libdir}/libakregatorprivate.so -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - ########## %package -n trinity-kaddressbook @@ -397,22 +375,6 @@ LDAP servers, and SQL databases. %{tde_tdeincludedir}/kaddressbook/ %{tde_tdeincludedir}/tdeabc/ -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kaddressbook-devel @@ -430,12 +392,6 @@ Requires: trinity-kaddressbook = %{version}-%{release} %{tde_libdir}/libkaddressbook.la %{tde_libdir}/libkaddressbook.so -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - ########## %package -n trinity-kalarm @@ -472,20 +428,6 @@ TDE-based, but will also run on other desktops. %{tde_datadir}/icons/hicolor/*/apps/kalarm.png %{tde_tdedocdir}/HTML/en/kalarm/ -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kandy @@ -512,20 +454,6 @@ Kandy is aimed at mobile phones with integrated (GSM) modems. %{tde_datadir}/config.kcfg/kandy.kcfg %{tde_tdedocdir}/HTML/en/kandy/ -%post -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-karm @@ -551,22 +479,6 @@ time they spend on various tasks. %{tde_datadir}/services/kontact/karmplugin.desktop %{tde_tdedocdir}/HTML/en/karm/ -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-karm-devel @@ -581,12 +493,6 @@ Group: Development/Libraries/Other %{tde_libdir}/libkarm.so %{tde_libdir}/libkarm.la -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - ########## %package kfile-plugins @@ -763,12 +669,6 @@ tracking feature plans. %{tde_tdelibdir}/tdeabc_xmlrpc.la %{tde_tdelibdir}/tdeabc_xmlrpc.so -%post tderesources -/sbin/ldconfig || : - -%postun tderesources -/sbin/ldconfig || : - ########## %package tderesources-devel @@ -837,12 +737,6 @@ Provides: trinity-tdepim-kresources-devel = %{version}-%{release} %{tde_libdir}/libknotesscalix.so %{tde_tdeincludedir}/kpimprefs.h -%post tderesources-devel -/sbin/ldconfig || : - -%postun tderesources-devel -/sbin/ldconfig || : - ########## %package wizards @@ -884,12 +778,6 @@ Kolab, and SUSE Linux Openexchange servers. %{tde_datadir}/config.kcfg/scalix.kcfg %{tde_datadir}/config.kcfg/slox.kcfg -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?with_kitchensync} @@ -915,15 +803,6 @@ development (?). Kitchensync uses opensync. %{tde_tdeappdir}/kitchensync.desktop %{tde_datadir}/icons/hicolor/*/apps/kitchensync.png -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - ########## %package -n trinity-kleopatra @@ -965,20 +844,6 @@ keybox and for retrieving certificates from LDAP servers. %{tde_tdedocdir}/HTML/en/kwatchgnupg/ %{tde_datadir}/icons/hicolor/*/apps/kleopatra.png -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %package -n trinity-kmail @@ -1077,22 +942,6 @@ mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. %{tde_libdir}/libkmailprivate.la %{tde_tdedocdir}/HTML/en/kmail/ -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kmail-devel @@ -1108,12 +957,6 @@ Group: Development/Libraries/Other %{tde_tdeincludedir}/kmail/ %{tde_tdeincludedir}/kmail*.h -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - ########## %package -n trinity-kmailcvt @@ -1132,18 +975,6 @@ include Outlook Express, Evolution, and plain mbox. %{tde_datadir}/apps/kmailcvt %{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %package -n trinity-knode @@ -1173,22 +1004,6 @@ signatures. %{tde_datadir}/services/kontact/knodeplugin.desktop %{tde_tdedocdir}/HTML/en/knode/ -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-knode-devel @@ -1204,12 +1019,6 @@ Requires: trinity-knode = %{version}-%{release} %{tde_libdir}/libknodecommon.la %{tde_libdir}/libknodecommon.so -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - ########## %package -n trinity-knotes @@ -1239,22 +1048,6 @@ program. The program supports printing and mailing your notes. %{tde_datadir}/services/kontact/knotesplugin.desktop %{tde_tdedocdir}/HTML/en/knotes/ -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-knotes-devel @@ -1273,12 +1066,6 @@ Requires: %{name}-tderesources-devel = %{version}-%{release} %{tde_tdeincludedir}/KNotesAppIface.h %{tde_tdeincludedir}/KNotesIface.h -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - ########## %package -n trinity-kode @@ -1296,12 +1083,6 @@ described by RelaxNG schemes. %{tde_bindir}/kxml_compiler %{tde_libdir}/libkode.so.* -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - ########## %package -n trinity-kode-devel @@ -1317,12 +1098,6 @@ Requires: trinity-kode = %{version}-%{release} %{tde_libdir}/libkode.la %{tde_libdir}/libkode.so -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - ########## %package -n trinity-konsolekalendar @@ -1341,20 +1116,6 @@ frontend to manage your calendars. %{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png %{tde_tdedocdir}/HTML/en/konsolekalendar/ -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kontact @@ -1413,22 +1174,6 @@ scheduling, address book and other PIM functionality. %{tde_datadir}/servicetypes/kontactplugin.desktop %{tde_tdedocdir}/HTML/en/kontact/ -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kontact-devel @@ -1447,12 +1192,6 @@ Requires: trinity-kontact = %{version}-%{release} %{tde_libdir}/libkpinterfaces.so %{tde_tdeincludedir}/kontact/ -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - ########## %package -n trinity-korganizer @@ -1513,22 +1252,6 @@ installed. %{tde_tdedocdir}/HTML/en/korganizer/ %{tde_tdedocdir}/HTML/en/tdeioslave/webcal/ -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-korganizer-devel @@ -1554,12 +1277,6 @@ Requires: trinity-korganizer = %{version}-%{release} %{tde_libdir}/libkorganizer_eventviewer.la %{tde_libdir}/libkorganizer_eventviewer.so -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - ########## %package -n trinity-korn @@ -1587,22 +1304,6 @@ Korn run a program once you click on the docked icon in Kicker. %{tde_datadir}/icons/hicolor/*/apps/korn.png %{tde_tdedocdir}/HTML/en/korn/ -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ktnef @@ -1624,20 +1325,6 @@ mail servers and embed the mail properties as well as the actual attachments. %{tde_datadir}/mimelnk/application/ms-tnef.desktop %{tde_tdedocdir}/HTML/en/ktnef/ -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-libindex @@ -1654,12 +1341,6 @@ This is the runtime package for programs that use the libindex library. %defattr(-,root,root,-) %{tde_libdir}/libindex.so.* -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - ########## %package -n trinity-libindex-devel @@ -1681,12 +1362,6 @@ library. %{tde_libdir}/libindex.la %{tde_libdir}/libindex.so -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkcal @@ -1723,12 +1398,6 @@ This is the runtime package for programs that use the libkcal-trinity library. %{tde_datadir}/services/tderesources/kcal/remote.desktop %{tde_datadir}/services/tderesources/kcal_manager.desktop -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - ########## %package -n trinity-libkcal-devel @@ -1756,12 +1425,6 @@ library. %{tde_libdir}/libkholidays.la %{tde_libdir}/libkholidays.so -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - ########## %package -n trinity-libtdepim @@ -1790,20 +1453,6 @@ This is the runtime package for programs that use the trinity-libtdepim library. %{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png %{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - ########## %package -n trinity-libtdepim-devel @@ -1825,12 +1474,6 @@ library. %{tde_libdir}/libtdepim.la %{tde_libdir}/libtdepim.so -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkgantt @@ -1845,12 +1488,6 @@ This is the runtime package for programs that use the libkgantt-trinity library. %{tde_libdir}/libkgantt.so.* %{tde_datadir}/apps/kgantt -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - ########## %package -n trinity-libkgantt-devel @@ -1869,12 +1506,6 @@ library. %{tde_libdir}/libkgantt.la %{tde_libdir}/libkgantt.so -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkleopatra @@ -1901,20 +1532,6 @@ This is the runtime package for programs that use the libkleopatra-trinity libra %{tde_datadir}/icons/crystalsvg/*/apps/gpg.png %{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - ########## %package -n trinity-libkleopatra-devel @@ -1944,12 +1561,6 @@ libkleopatra-trinity library. %{tde_libdir}/libqgpgme.la %{tde_libdir}/libqgpgme.so -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkmime @@ -1965,12 +1576,6 @@ an object tree. %defattr(-,root,root,-) %{tde_libdir}/libkmime.so.* -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - ########## %package -n trinity-libkmime-devel @@ -1986,12 +1591,6 @@ Requires: trinity-libkmime = %{version}-%{release} %{tde_libdir}/libkmime.la %{tde_libdir}/libkmime.so -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkpimexchange @@ -2008,12 +1607,6 @@ library. %{tde_tdelibdir}/resourcecalendarexchange.so %{tde_libdir}/libkpimexchange.so.* -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - ########## %package -n trinity-libkpimexchange-devel @@ -2035,12 +1628,6 @@ libkpimexchange-trinity library. %{tde_libdir}/libkpimexchange.la %{tde_libdir}/libkpimexchange.so -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - ########## %package -n trinity-libkpimidentities @@ -2058,12 +1645,6 @@ library. %defattr(-,root,root,-) %{tde_libdir}/libkpimidentities.so.* -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - ########## %package -n trinity-libkpimidentities-devel @@ -2079,12 +1660,6 @@ Requires: trinity-libkpimidentities = %{version}-%{release} %{tde_libdir}/libkpimidentities.la %{tde_libdir}/libkpimidentities.so -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - ########## %package -n trinity-libksieve @@ -2099,12 +1674,6 @@ This is the runtime package for programs that use the libksieve-trinity library. %{tde_libdir}/libksieve.so.* %{tde_tdedocdir}/HTML/en/tdeioslave/sieve/ -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - ########## %package -n trinity-libksieve-devel @@ -2123,12 +1692,6 @@ library. %{tde_libdir}/libksieve.la %{tde_libdir}/libksieve.so -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - ########## %package -n trinity-libktnef @@ -2147,12 +1710,6 @@ This is the runtime library for packages using the ktnef-trinity library. %defattr(-,root,root,-) %{tde_libdir}/libktnef.so.* -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - ########## %package -n trinity-libktnef-devel @@ -2176,12 +1733,6 @@ ktnef-trinity library. %{tde_libdir}/libktnef.la %{tde_libdir}/libktnef.so -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - ########## %package -n trinity-libmimelib @@ -2197,12 +1748,6 @@ This is the runtime package for programs that use the libmimelib-trinity library %defattr(-,root,root,-) %{tde_libdir}/libmimelib.so.* -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - ########## %package -n trinity-libmimelib-devel @@ -2222,12 +1767,6 @@ libmimelib library. %{tde_libdir}/libmimelib.la %{tde_libdir}/libmimelib.so -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - ########## %package -n trinity-kmobile @@ -2262,20 +1801,6 @@ dialing calls, phonebook, and phone status monitoring. %{tde_libdir}/libkmobiledevice.so %{tde_tdedocdir}/HTML/en/kmobile/ -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec index 4c358d15c..03c879941 100644 --- a/redhat/main/tdesdk/tdesdk-14.0.0.spec +++ b/redhat/main/tdesdk/tdesdk-14.0.0.spec @@ -218,22 +218,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_mandir}/man1/cervisia.1* %{tde_tdedocdir}/HTML/en/cervisia/ -%post -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kapptemplate @@ -378,22 +362,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/servicetypes/kbabeldict_module.desktop %{tde_datadir}/servicetypes/kbabelfilter.desktop -%post -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kbabel-devel @@ -424,12 +392,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_libdir}/libkbabeldictplugin.la %{tde_libdir}/libkbabeldictplugin.so -%post -n trinity-kbabel-devel -/sbin/ldconfig || : - -%postun -n trinity-kbabel-devel -/sbin/ldconfig || : - ########## %package -n trinity-kbugbuster @@ -456,20 +418,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/services/tderesources/kcal/bugzilla.desktop %{tde_tdedocdir}/HTML/en/kbugbuster/ -%post -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdecachegrind @@ -497,20 +445,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop %{tde_tdedocdir}/HTML/en/tdecachegrind/ -%post -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdecachegrind-converters @@ -600,12 +534,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_libdir}/libkstartperf.la %{tde_bindir}/kstartperf -%post misc -/sbin/ldconfig || : - -%postun misc -/sbin/ldconfig || : - ########## %package scripts @@ -761,22 +689,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz %{tde_tdedocdir}/HTML/en/kompare/ -%post -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kspy @@ -801,12 +713,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_libdir}/libkspy.la %{tde_libdir}/libkspy.so.* -%post -n trinity-kspy -/sbin/ldconfig || : - -%postun -n trinity-kspy -/sbin/ldconfig || : - ########## %package -n trinity-kuiviewer @@ -838,18 +744,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/services/kuiviewer_part.desktop %{tde_tdedocdir}/HTML/en/kuiviewer/ -%post -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - ########## %package -n trinity-libcvsservice0 @@ -880,12 +774,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_tdelibdir}/cvsservice.so %{tde_datadir}/services/cvsservice.desktop -%post -n trinity-libcvsservice0 -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice0 -/sbin/ldconfig || : - ########## %package -n trinity-libcvsservice-devel @@ -915,12 +803,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_libdir}/libtdeinit_cvsservice.la %{tde_datadir}/cmake/cervisia.cmake -%post -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice-devel -/sbin/ldconfig || : - ########## %package -n trinity-poxml @@ -977,20 +859,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/mimelnk/application/x-umbrello.desktop %{tde_tdedocdir}/HTML/en/umbrello/ -%post -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?build_kioslave} @@ -1039,11 +907,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz %post tdeio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - for proto in svn+file svn+http svn+https svn+ssh svn; do update-alternatives --install \ %{tde_datadir}/services/${proto}.protocol \ @@ -1052,12 +915,6 @@ for proto in svn+file svn+http svn+https svn+ssh svn; do 10 done -%postun tdeio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - %preun tdeio-plugins if [ $1 -eq 0 ]; then for proto in svn+file svn+http svn+https svn+ssh svn; do @@ -1096,12 +953,6 @@ This package is part of Trinity, and a component of the TDE SDK module. %{tde_libdir}/libtdeunittestgui.la %{tde_libdir}/libtdeunittestgui.so.* -%post -n trinity-tdeunittest -/sbin/ldconfig || : - -%postun -n trinity-tdeunittest -/sbin/ldconfig || : - ########## %package devel diff --git a/redhat/main/tdetoys/tdetoys-14.0.0.spec b/redhat/main/tdetoys/tdetoys-14.0.0.spec index 3621bdd3c..07b8de16b 100644 --- a/redhat/main/tdetoys/tdetoys-14.0.0.spec +++ b/redhat/main/tdetoys/tdetoys-14.0.0.spec @@ -155,16 +155,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/amor/ %doc AUTHORS COPYING README -%post -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-eyesapplet @@ -229,14 +219,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/kmoon/ %doc AUTHORS COPYING README -%post -n trinity-kmoon -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - ########## %package -n trinity-kodo @@ -259,16 +241,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/kodo/ %doc AUTHORS COPYING README -%post -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kteatime @@ -298,16 +270,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/kteatime/ %doc AUTHORS COPYING README -%post -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ktux @@ -327,14 +289,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_datadir}/icons/hicolor/*/apps/ktux.png %doc AUTHORS COPYING README -%post -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - ########## %package -n trinity-kweather @@ -378,16 +332,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/kweather/ %doc AUTHORS COPYING README -%post -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kworldclock @@ -420,16 +364,6 @@ This package is part of Trinity, and a component of the TDE toys module. %{tde_tdedocdir}/HTML/en/kworldclock/ %doc AUTHORS COPYING README -%post -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec index 0ccf49caa..5dd981dcd 100644 --- a/redhat/main/tdeutils/tdeutils-14.0.0.spec +++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec @@ -247,22 +247,6 @@ package. %{tde_datadir}/services/ark_part.desktop %{tde_tdedocdir}/HTML/en/ark/ -%post -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kcalc @@ -292,22 +276,6 @@ It provides: %{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz %{tde_tdedocdir}/HTML/en/kcalc/ -%post -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kcharselect @@ -330,20 +298,6 @@ This package contains kcharselect, a character set selector for TDE. %{tde_datadir}/icons/hicolor/*/apps/kcharselect.png %{tde_tdedocdir}/HTML/en/kcharselect/ -%post -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdelirc @@ -385,22 +339,6 @@ This is a frontend for the LIRC suite to use infrared devices with TDE. %{tde_tdedocdir}/HTML/en/irkick/ %{tde_tdedocdir}/HTML/en/kcmlirc/ -%post -n trinity-tdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdessh @@ -451,20 +389,6 @@ in a file manager. %{tde_tdedocdir}/HTML/en/kdf/ %{tde_tdedocdir}/HTML/en/kcontrol/storagedevices/ -%post -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kedit @@ -491,22 +415,6 @@ reasonably fast start. %{tde_datadir}/icons/hicolor/*/apps/kedit.png %{tde_tdedocdir}/HTML/en/kedit/ -%post -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kfloppy @@ -526,20 +434,6 @@ to format 3.5" and 5.25" floppy disks. %{tde_datadir}/icons/hicolor/*/apps/kfloppy.png %{tde_tdedocdir}/HTML/en/kfloppy/ -%post -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kgpg @@ -575,20 +469,6 @@ Features: %{tde_datadir}/icons/hicolor/*/apps/kgpg.png %{tde_tdedocdir}/HTML/en/kgpg/ -%post -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-khexedit @@ -616,22 +496,6 @@ support and other powerful features. %{tde_datadir}/services/khexedit2part.desktop %{tde_tdedocdir}/HTML/en/khexedit/ -%post -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kjots @@ -651,20 +515,6 @@ program included in the tkgoodstuff package. %{tde_datadir}/icons/hicolor/*/apps/kjots.png %{tde_tdedocdir}/HTML/en/kjots/ -%post -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %if 0%{?build_klaptopdaemon} @@ -719,22 +569,6 @@ power management, for laptops, from within TDE. %config %{tde_confdir}/kcmlaptoprc -%post -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - %endif ########## @@ -763,12 +597,6 @@ with special keys. %dir %{tde_datadir}/servicetypes/kmilo %{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop -%post -n trinity-kmilo -/sbin/ldconfig - -%postun -n trinity-kmilo -/sbin/ldconfig - ########## %package -n trinity-kmilo-legacy @@ -831,22 +659,6 @@ with TDE. It let you draw your regular expression in an unambiguous way. %{tde_datadir}/services/kregexpeditorgui.desktop %{tde_tdedocdir}/HTML/en/KRegExpEditor/ -%post -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-ksim @@ -871,20 +683,6 @@ connections, power, etc. %{tde_datadir}/icons/crystalsvg/*/apps/ksim.png %{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png -%post -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - ########## %package -n trinity-ktimer @@ -903,20 +701,6 @@ command execution. %{tde_datadir}/icons/hicolor/*/apps/ktimer.png %{tde_tdedocdir}/HTML/en/ktimer/ -%post -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-tdewalletmanager @@ -945,20 +729,6 @@ keeps a master password to all wallets. %{tde_datadir}/services/tdewalletmanager_show.desktop %{tde_tdedocdir}/HTML/en/tdewallet/ -%post -n trinity-tdewalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdewalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-superkaramba @@ -989,18 +759,6 @@ Here are just some examples of the things that can be done: %{tde_datadir}/mimelnk/application/x-superkaramba.desktop %{tde_tdedocdir}/HTML/en/superkaramba/ -%post -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - ########## %package -n trinity-tdefilereplace @@ -1066,12 +824,6 @@ This package contains the development files for tdeutils. %{tde_libdir}/libkhexeditcommon.so %{tde_datadir}/cmake/libksimcore.cmake -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec index e713da462..626a84e44 100644 --- a/redhat/main/tdevelop/tdevelop-14.0.0.spec +++ b/redhat/main/tdevelop/tdevelop-14.0.0.spec @@ -506,20 +506,6 @@ individual needs. %{tde_datadir}/services/kdevvisualboyadvance.desktop %{tde_tdedocdir}/HTML/en/kdevdesigner/ -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package devel @@ -539,12 +525,6 @@ This package contains the development files for tdevelop. %{tde_libdir}/lib*.la %{tde_includedir}/* -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - ########## %package libs @@ -595,12 +575,6 @@ This package contains the libraries needed for the tdevelop programs. %{tde_libdir}/libprofileengine.so.0 %{tde_libdir}/libprofileengine.so.0.0.0 -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec index 2a003f3f9..557931db4 100644 --- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec +++ b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec @@ -164,21 +164,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_datadir}/servicetypes/quantadebugger.desktop %{tde_tdedocdir}/HTML/en/quanta/ -%post -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - - ########## %package -n trinity-quanta-data @@ -223,20 +208,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_datadir}/services/kimagemapeditorpart.desktop %{tde_tdedocdir}/HTML/en/kimagemapeditor/ -%post -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-klinkstatus @@ -267,20 +238,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_datadir}/services/klinkstatus_part.desktop %{tde_tdedocdir}/HTML/en/klinkstatus/ -%post -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kommander @@ -333,22 +290,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_datadir}/apps/tdevappwizard/ %{tde_datadir}/services/kommander_part.desktop -%post -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package -n trinity-kommander-devel @@ -378,12 +319,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_tdeincludedir}/kommander* %{tde_tdeincludedir}/specials.h -%post -n trinity-kommander-devel -/sbin/ldconfig || : - -%postun -n trinity-kommander-devel -/sbin/ldconfig || : - ########## %if 0%{?build_kxsldbg} @@ -428,20 +363,6 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_datadir}/icons/locolor/*/apps/kxsldbg.png %{tde_datadir}/services/kxsldbg_part.desktop -%post -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - %endif ########## |