Hello community,

here is the log from the commit of package imagewriter for openSUSE:Factory 
checked in at 2014-01-07 06:53:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/imagewriter (Old)
 and      /work/SRC/openSUSE:Factory/.imagewriter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "imagewriter"

Changes:
--------
--- /work/SRC/openSUSE:Factory/imagewriter/imagewriter.changes  2012-11-14 
16:38:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.imagewriter.new/imagewriter.changes     
2014-01-07 06:53:46.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Dec 20 17:47:01 UTC 2013 - [email protected]
+
+- Add missing .desktop and icon cache update macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ imagewriter.spec ++++++
--- /var/tmp/diff_new_pack.TH5h8s/_old  2014-01-07 06:53:47.000000000 +0100
+++ /var/tmp/diff_new_pack.TH5h8s/_new  2014-01-07 06:53:47.000000000 +0100
@@ -1,13 +1,12 @@
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# needsrootforbuild
-Url:            https://github.com/mbarringer/imagewriter
+Url:            https://github.com/openSUSE/imagewriter
 Name:           imagewriter
 BuildRequires:  gcc-c++
 
@@ -57,7 +56,7 @@
     %define definedbackend USEUDISKS2
 %endif
 
-Summary:        SUSE Imagewriter
+Summary:        Utility for writing disk images to USB keys
 Version:        1.10
 Release:        0
 Group:          Hardware/Other
@@ -65,37 +64,42 @@
 Source:         imagewriter-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{breq} %{backend}
+BuildRequires:  hicolor-icon-theme
+Requires:       xdg-utils
+
 %description
-A graphical utility for writing raw disk images & hybrid isos to USB keys
+A graphical utility for writing raw disk images & hybrid ISOs to USB keys
 
 %prep
 %setup 
 
 %build
-%{qmake} PREFIX=$RPM_BUILD_ROOT/%{_prefix} DEFINES=%{definedbackend} 
imagewriter.pro
-make buildroot=$RPM_BUILD_ROOT CFLAGS="$RPM_OPT_FLAGS -DKIOSKHACK"
+%{qmake} PREFIX=%{buildroot}/%{_prefix} DEFINES=%{definedbackend} 
imagewriter.pro
+make buildroot=%{buildroot} CFLAGS="%{optflags} -DKIOSKHACK"
 
 %install
-# build
 # I don't know why 'make install' ignores the binary when built in OBS
-install -d $RPM_BUILD_ROOT/usr/bin
-install -m 755 -p imagewriter $RPM_BUILD_ROOT/%{_bindir}
+install -d %{buildroot}/usr/bin
+install -m 755 -p imagewriter %{buildroot}/%{_bindir}
 make install
 %if 0%{?suse_version}
     %suse_update_desktop_file imagewriter
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%if 0%{?suse_version} >= 1140
+%post
+%desktop_database_post
+%icon_theme_cache_post
+
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
+%endif
 
 %files
 %defattr(-,root,root)
 %{_bindir}/imagewriter
-%{_prefix}/share/applications/imagewriter.desktop
-#%{_prefix}/share/icons/hicolor/*/apps/imagewriter.png
-%dir %{_datadir}/icons/hicolor/*/apps/
-%dir %{_datadir}/icons/hicolor/*/
-%dir %{_datadir}/icons/hicolor/
+%{_datadir}/applications/imagewriter.desktop
 %{_datadir}/icons/hicolor/*/apps/imagewriter.*
 %doc COPYING
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to