Hello community, here is the log from the commit of package flamerobin for openSUSE:Factory checked in at 2015-07-05 18:03:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/flamerobin (Old) and /work/SRC/openSUSE:Factory/.flamerobin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flamerobin" Changes: -------- --- /work/SRC/openSUSE:Factory/flamerobin/flamerobin.changes 2012-06-06 18:02:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.flamerobin.new/flamerobin.changes 2015-07-05 18:03:17.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 3 13:13:36 UTC 2015 - [email protected] + +- Cleanup spec file with spec-clener +- Update desktop file scriplet dependencies + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ flamerobin.spec ++++++ --- /var/tmp/diff_new_pack.aPRsjr/_old 2015-07-05 18:03:18.000000000 +0200 +++ /var/tmp/diff_new_pack.aPRsjr/_new 2015-07-05 18:03:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package flamerobin # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,25 @@ # -Summary: Graphical client for Firebird -License: MIT and LGPL-2.1+ -Group: Productivity/Databases/Tools - +%define _use_internal_dependency_generator 0 +%define __find_requires %wx_requires Name: flamerobin Version: 0.9.2 Release: 0 +Summary: Graphical client for Firebird +License: MIT and LGPL-2.1+ +Group: Productivity/Databases/Tools +Url: http://www.flamerobin.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz Patch0: flamerobin-0.9.2-wxWindowListNode.patch -Url: http://www.flamerobin.org/ BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libfbclient2-devel >= 2.0.0.12748 BuildRequires: update-desktop-files BuildRequires: wxWidgets-devel >= 2.8 +Requires(post): update-desktop-files +Requires(postun): update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define _use_internal_dependency_generator 0 -%define __find_requires %wx_requires %description FlameRobin is a database administration tool for Firebird DBMS based on wxgtk @@ -44,23 +45,26 @@ %patch0 %build -export CFLAGS="$RPM_OPT_FLAGS -fpermissive" +export CFLAGS="%{optflags} -fpermissive" export CXXFLAGS="$CFLAGS" %configure make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}/%{_datadir}/pixmaps/%{name}.png cp -f ./res/%{name}.xpm %{buildroot}/%{_datadir}/%{name}/%{name}.xpm sed "s@Categories=Development;Database;GTK@Categories=System;Database;@" -i %{buildroot}/%{_datadir}/applications/%{name}.desktop -sed "s@Icon=/usr/share/pixmaps/flamerobin.png@Icon=%{_datadir}/%{name}/%{name}.xpm@" -i %{buildroot}/%{_datadir}/applications/%{name}.desktop +sed "s@Icon=%{_datadir}/pixmaps/flamerobin.png@Icon=%{_datadir}/%{name}/%{name}.xpm@" -i %{buildroot}/%{_datadir}/applications/%{name}.desktop mv %{buildroot}%{_datadir}/applications/%{name}.desktop $RPM_SOURCE_DIR/%{name}.desktop %suse_update_desktop_file -i -n %{name} System Database -rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs +rm -rf %{buildroot}%{_datadir}/%{name}/docs + +%post +%desktop_database_post -%clean -rm -rf %{buildroot} +%postun +%desktop_database_postun %files %defattr(-,root,root)
