Hello community, here is the log from the commit of package skanlite for openSUSE:Factory checked in at 2016-08-18 09:16:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/skanlite (Old) and /work/SRC/openSUSE:Factory/.skanlite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "skanlite" Changes: -------- --- /work/SRC/openSUSE:Factory/skanlite/skanlite.changes 2016-01-23 01:12:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.skanlite.new/skanlite.changes 2016-08-18 09:16:50.000000000 +0200 @@ -1,0 +2,14 @@ +Thu Aug 4 22:09:26 UTC 2016 - [email protected] + +- Update to version 2.0: + * Port to Kf5. +- Added lang subpackage. +- Merged doc subpackage with the main package in order to have the + english help files in the main package. Obsolete the doc + subpackage. +- Added build requirements pkgconfig(Qt5Gui) and + pkgconfig(Qt5Widgets). +- Added a patch "fix_translations_install.patch" to fix the + installation of translation (mo) files. + +------------------------------------------------------------------- Old: ---- skanlite-1.1git.tar.xz New: ---- fix_translations_install.patch skanlite-2.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ skanlite.spec ++++++ --- /var/tmp/diff_new_pack.3pSSe3/_old 2016-08-18 09:16:51.000000000 +0200 +++ /var/tmp/diff_new_pack.3pSSe3/_new 2016-08-18 09:16:51.000000000 +0200 @@ -17,14 +17,15 @@ Name: skanlite -Version: 1.1git +Version: 2.0 Release: 0 Summary: Image Scanner Application License: LGPL-2.1+ Group: Hardware/Scanner -Url: http://kde-apps.org/content/show.php?content=109803 -#Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz -Source0: %{name}-%{version}.tar.xz +Url: https://www.kde.org/applications/graphics/skanlite/ +Source0: http://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM fix_translations_install.patch [email protected] -- Fix installation of translations (mo files) +Patch0: fix_translations_install.patch BuildRequires: extra-cmake-modules BuildRequires: kcoreaddons-devel BuildRequires: kdoctools-devel @@ -35,23 +36,23 @@ BuildRequires: libksane-devel BuildRequires: libpng-devel BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Test) -Recommends: %{name}-doc = %{version} +BuildRequires: pkgconfig(Qt5Widgets) +Recommends: %{name}-lang = %{version} +Obsoletes: %{name}-doc < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Skanlite is an image scanner application for KDE 4. +Skanlite is an image scanner application for KDE. -%package doc -Summary: Documentation for skanlite -Group: Documentation/HTML -Requires: %{name} = %{version} - -%description doc -This package provides the documentation for skanlite. +%lang_package %prep -%setup -q -n %{name} +%setup -q +%patch0 +# Needed by patch0 +find po/ -name CMakeLists.txt | xargs rm -rf %build %cmake_kf5 -d build @@ -59,15 +60,20 @@ %install %kf5_makeinstall -C build +%find_lang %{name} --all-name +# Fix rpmlint warning "script-without-shebang" +chmod 644 %{buildroot}%{_kf5_applicationsdir}/org.kde.skanlite.desktop %files %defattr(-,root,root,-) %doc src/COPYING src/TODO %{_kf5_applicationsdir}/org.kde.skanlite.desktop -%{_bindir}/skanlite +%{_kf5_bindir}/skanlite +%doc %{_kf5_htmldir}/en/ -%files doc -%defattr(-,root,root,-) -%doc %lang(en) %{_kf5_htmldir}/en/skanlite/ +%files lang -f %{name}.lang +%defattr(-,root,root) +%doc %{_kf5_htmldir} +%exclude %{_kf5_htmldir}/en/ %changelog ++++++ fix_translations_install.patch ++++++ --- CMakeLists.txt.orig 2016-01-26 23:45:30.000000000 +0200 +++ CMakeLists.txt 2016-08-05 00:29:55.249240127 +0300 @@ -62,5 +62,7 @@ add_subdirectory(autotests) add_subdirectory(tests) find_package(Gettext REQUIRED) -add_subdirectory( po ) add_subdirectory( doc-translations ) + +find_package(KF5I18n CONFIG REQUIRED) +ki18n_install(po) ++++++ skanlite-1.1git.tar.xz -> skanlite-2.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/skanlite/skanlite-1.1git.tar.xz /work/SRC/openSUSE:Factory/.skanlite.new/skanlite-2.0.tar.xz differ: char 26, line 1
