diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-29 20:04:49 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-29 20:04:49 +0100 |
commit | 85514c305c395138078113497bca1328ecbec6af (patch) | |
tree | 7cbd49ef3fbce9abac4eb5b52c82a5f06944068e /redhat/tdeaccessibility | |
parent | a5d25fb0bb0b9b8ca8a5899e98c552e8f88524bc (diff) | |
download | tde-packaging-85514c305c395138078113497bca1328ecbec6af.tar.gz tde-packaging-85514c305c395138078113497bca1328ecbec6af.zip |
RPM Packaging: update tdeaccessibility
Diffstat (limited to 'redhat/tdeaccessibility')
-rw-r--r-- | redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec index 5a0c9f255..a26ec956c 100644 --- a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec @@ -388,6 +388,8 @@ Homepage: http://accessibility.kde.org/developer/kttsd %{tde_datadir}/apps/kttsd/ %{tde_datadir}/icons/hicolor/16x16/actions/female.png %{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/icons/hicolor/*/apps/kttsd.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png %{tde_datadir}/services/tdetexteditor_kttsd.desktop %{tde_datadir}/services/kttsd.desktop %if 0%{?with_akode} @@ -489,6 +491,9 @@ Provides: trinity-kdeaccessibility-devel = %{version}-%{release} %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +# Update icons for some control center modules +%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|" + %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" @@ -530,6 +535,14 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png %__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +mkdir -p "%{?buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,22,32,48,64,128}; do cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done +for i in {16,22,32,48,64,128}; do cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done +popd + # Updates applications categories for openSUSE %if 0%{?suse_version} %suse_update_desktop_file -r kmag Utility Accessibility |