Hello community,

here is the log from the commit of package scribus for openSUSE:Factory checked 
in at 2012-06-26 17:37:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scribus (Old)
 and      /work/SRC/openSUSE:Factory/.scribus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scribus", Maintainer is "kde-maintain...@suse.de"

Changes:
--------
--- /work/SRC/openSUSE:Factory/scribus/scribus.changes  2012-05-25 
16:19:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.scribus.new/scribus.changes     2012-06-26 
17:37:43.000000000 +0200
@@ -2 +2,8 @@
-Wed May 23 08:42:03 UTC 2012 - badshah@localhost
+Mon Jun 25 00:03:47 UTC 2012 - badshah...@gmail.com
+
+- Install hi-res icons in the hicolor icon directory for better
+  appearance on desktop menu, specifically on the gnome-shell; add
+  BuildRequires: hicolor-icon-theme for this purpose.
+
+-------------------------------------------------------------------
+Wed May 23 08:42:03 UTC 2012 - badshah...@gmail.com

New:
----
  scribus-icon128.png
  scribus-icon24.png
  scribus-icon256.png
  scribus-icon32.png
  scribus-icon64.png

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ scribus.spec ++++++
--- /var/tmp/diff_new_pack.gFeK6a/_old  2012-06-26 17:37:46.000000000 +0200
+++ /var/tmp/diff_new_pack.gFeK6a/_new  2012-06-26 17:37:46.000000000 +0200
@@ -24,7 +24,12 @@
 License:        GPL-2.0+
 Group:          Productivity/Publishing/Other
 Url:            http://www.scribus.net/
-Source:         
http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source0:        
http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source1:        %{name}-icon24.png
+Source2:        %{name}-icon32.png
+Source3:        %{name}-icon64.png
+Source4:        %{name}-icon128.png
+Source5:        %{name}-icon256.png
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  aspell
 BuildRequires:  aspell-devel
@@ -34,6 +39,7 @@
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
 BuildRequires:  fontconfig-devel
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  libQtWebKit-devel
 BuildRequires:  liblcms2-devel
 BuildRequires:  libpodofo-devel
@@ -118,10 +124,18 @@
 
 popd
 
+# install hi-res icons for better appearance on gnome-shell
+install -D -m 0644 %{S:1} 
%{buildroot}%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
+install -D -m 0644 %{S:2} 
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+install -D -m 0644 %{S:3} 
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
+install -D -m 0644 %{S:4} 
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
+install -D -m 0644 %{S:5} 
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
+
 %if 0%{?suse_version}
 %suse_update_desktop_file -r -i %{name} Qt Office Publishing WordProcessor 
-mkdir %{buildroot}%{_datadir}/pixmaps
-install -m 644 %{buildroot}%{_datadir}/%{name}/icons/%{name}.png 
%{buildroot}%{_datadir}/pixmaps/
+# hi-res icons are already installed in hicolor-icon-theme directory
+# mkdir %{buildroot}%{_datadir}/pixmaps
+# install -m 644 %{buildroot}%{_datadir}/%{name}/icons/%{name}.png 
%{buildroot}%{_datadir}/pixmaps/
 %endif
 
 %fdupes %{buildroot}%{_includedir}/%{name}/
@@ -137,12 +151,14 @@
   /usr/bin/update-mime-database /usr/share/mime > /dev/null
 fi
 %desktop_database_post
+%icon_theme_cache_post
 
 %postun
 if [ -f /usr/bin/update-mime-database ]; then
   /usr/bin/update-mime-database /usr/share/mime > /dev/null
 fi
 %desktop_database_postun
+%icon_theme_cache_postun
 
 %files
 %defattr(-,root,root)
@@ -154,13 +170,14 @@
 %{_datadir}/scribus
 %{_datadir}/doc/scribus
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/pixmaps/%{name}.png
+#%%{_datadir}/pixmaps/%%{name}.png
 # This should be owned by filesystem or man, but there are only scribus files:
 %lang(pl) %dir %{_mandir}/pl
 %lang(pl) %{_mandir}/pl/man1 
 %dir %{_datadir}/mimelnk
 %dir %{_datadir}/mimelnk/application
 %{_datadir}/mimelnk/application/vnd.scribus.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
 
 %files devel
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to