summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-23 21:47:09 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-23 21:47:09 +0200
commit4a98b0c00b08d8020b97a72afb1842b73887ced3 (patch)
tree0380c5b9e72b1ac3a28e347c2dbcd40136d0fd9d /redhat
parent116e9d6a7bf002c31f4e3894b9cafd4e331298f3 (diff)
downloadtde-packaging-4a98b0c00b08d8020b97a72afb1842b73887ced3.tar.gz
tde-packaging-4a98b0c00b08d8020b97a72afb1842b73887ced3.zip
RPM Packaging: update tdegraphics
Diffstat (limited to 'redhat')
-rw-r--r--redhat/tdegraphics/tdegraphics-14.0.0.spec32
1 files changed, 17 insertions, 15 deletions
diff --git a/redhat/tdegraphics/tdegraphics-14.0.0.spec b/redhat/tdegraphics/tdegraphics-14.0.0.spec
index 7500a4359..0e6a36ee1 100644
--- a/redhat/tdegraphics/tdegraphics-14.0.0.spec
+++ b/redhat/tdegraphics/tdegraphics-14.0.0.spec
@@ -1346,27 +1346,29 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
+# Adds missing icons in 'hicolor' theme
%__mkdir_p "%{buildroot}%{tde_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps/"
for i in {16,32,48,64}; do
%__cp "$BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png" "%{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png";
done
+# Updates applications categories for openSUSE
%if 0%{?suse_version}
-%suse_update_desktop_file kpovmodeler Graphics 3DGraphics
-%suse_update_desktop_file kolourpaint Graphics RasterGraphics
-%suse_update_desktop_file tdeiconedit Graphics RasterGraphics
-%suse_update_desktop_file kview Graphics Viewer
-%suse_update_desktop_file kooka Graphics Scanning
-%suse_update_desktop_file -r kruler Utility DesktopUtility
-%suse_update_desktop_file -r ksnapshot Utility DesktopUtility
-%suse_update_desktop_file -r kcolorchooser Utility DesktopUtility
-%suse_update_desktop_file -r kcoloredit Utility DesktopUtility
-%suse_update_desktop_file -u kfax Office Viewer
-%suse_update_desktop_file kghostview Office Viewer
-%suse_update_desktop_file kdvi Office Viewer
-%suse_update_desktop_file kpdf Office Viewer
-%suse_update_desktop_file kfaxview Office Viewer
-%suse_update_desktop_file kamera
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility
+%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop
%endif