Hello community, here is the log from the commit of package smillaenlarger for openSUSE:Factory checked in at 2018-11-12 09:45:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smillaenlarger (Old) and /work/SRC/openSUSE:Factory/.smillaenlarger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smillaenlarger" Mon Nov 12 09:45:38 2018 rev:4 rq:648283 version:0.9.0+git.2017.11.21 Changes: -------- --- /work/SRC/openSUSE:Factory/smillaenlarger/smillaenlarger.changes 2017-12-19 10:57:06.345352470 +0100 +++ /work/SRC/openSUSE:Factory/.smillaenlarger.new/smillaenlarger.changes 2018-11-12 09:46:43.256709655 +0100 @@ -1,0 +2,10 @@ +Sun Nov 11 10:52:36 UTC 2018 - Dmitriy Perlow <[email protected]> + +- 0.9.0+git.2017.11.21: + * Sources were switched to github.com/lupoDharkael/smilla-enlarger. + * Removed smillaenlarger-qt5.patch & smillaenlarger.desktop. + * Added smillaenlarger-0.9.0+git.2017.11.21_Qt5.11.patch + that resolves boo#1115056. +- `spec-cleaner` and general refactoring. + +------------------------------------------------------------------- Old: ---- SmillaEnlarger_0.9.0_source.zip smillaenlarger-qt5.patch smillaenlarger.desktop New: ---- smillaenlarger-0.9.0+git.2017.11.21.tar.xz smillaenlarger-0.9.0+git.2017.11.21_Qt5.11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smillaenlarger.spec ++++++ --- /var/tmp/diff_new_pack.LuL6no/_old 2018-11-12 09:46:43.912708661 +0100 +++ /var/tmp/diff_new_pack.LuL6no/_new 2018-11-12 09:46:43.916708655 +0100 @@ -1,7 +1,7 @@ # # spec file for package smillaenlarger # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,34 +17,34 @@ Name: smillaenlarger -Version: 0.9.0 +Version: 0.9.0+git.2017.11.21 Release: 0 Summary: A graphical tool to resize bitmaps in high quality -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Graphics/Bitmap Editors -Url: http://sourceforge.net/projects/imageenlarger/ -Source0: http://kent.dl.sourceforge.net/project/imageenlarger/imageenlarger/SmillaEnlarger%20Release%20%{version}/SmillaEnlarger_%{version}_source.zip -Source1: smillaenlarger.desktop +URL: https://github.com/lupoDharkael/smilla-enlarger +# git clone https://github.com/lupoDharkael/smilla-enlarger.git +# git archive --format=tar --prefix=smillaenlarger-{version}/ master | xz -z9 > smillaenlarger-{version}.tar.xz +Source0: smillaenlarger-%{version}.tar.xz +Patch1: smillaenlarger-0.9.0+git.2017.11.21_Qt5.11.patch BuildRequires: gcc-c++ -BuildRequires: unzip +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch0: smillaenlarger-qt5.patch %description SmillaEnlarger is a small graphical tool ( based on Qt ) to resize, especially magnify bitmaps in high quality. %prep -%setup -q -n SmillaEnlarger_%{version}_source/SmillaEnlargerSrc -%patch0 -p1 +%setup -q +%patch1 sed \ -i -e \ - 's|0.8.9|%{version}|g' \ - EnlargerDialog.cpp + 's|0.9.0|%{version}|g' \ + ImageEnlarger.pro %build %{_libdir}/qt5/bin/qmake \ @@ -52,32 +52,18 @@ QMAKE_STRIP="" \ QMAKE_CFLAGS+="%{optflags}" \ QMAKE_CXXFLAGS+="%{optflags} -fvisibility=hidden -fvisibility-inlines-hidden" -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%{__install} -m0755 -D SmillaEnlarger %{buildroot}%{_bindir}/smillaenlarger -%{__install} -m0644 -D smilla.png %{buildroot}%{_datadir}/pixmaps/smillaenlarger.png -%suse_update_desktop_file -i %{name} - -%post -%if 0%{?suse_version} >= 1140 -%desktop_database_post -%else -update-desktop-database &> /dev/null || : -%endif - -%postun -%if 0%{?suse_version} >= 1140 -%desktop_database_postun -%else -update-desktop-database &> /dev/null || : -%endif +install -m0755 -D smilla-enlarger %{buildroot}%{_bindir}/%{name} +install -m0644 -D img/smilla.png %{buildroot}%{_datadir}/pixmaps/smilla.png +%suse_update_desktop_file -i smilla %files -%defattr(-,root,root) -%doc docs/* help/* +%license LICENSE +%doc docs/*.md docs/*.txt help/*.html README.md %{_bindir}/%{name} -%{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%{_datadir}/applications/smilla.desktop +%{_datadir}/pixmaps/smilla.png %changelog ++++++ smillaenlarger-0.9.0+git.2017.11.21_Qt5.11.patch ++++++ --- src/Preferences.cpp.orig 2017-11-21 16:39:49.000000000 +0300 +++ src/Preferences.cpp 2018-11-11 14:53:08.505094014 +0300 @@ -21,6 +21,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. ---------------------------------------------------------------------- */ +#include <QButtonGroup> #include <QFileDialog> #include <QDir> #include <QSettings>
