Hello community,

here is the log from the commit of package kajongg for openSUSE:Factory checked 
in at 2017-05-16 14:34:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kajongg (Old)
 and      /work/SRC/openSUSE:Factory/.kajongg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kajongg"

Tue May 16 14:34:30 2017 rev:60 rq:490366 version:17.04.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kajongg/kajongg.changes  2017-03-16 
09:37:01.569060256 +0100
+++ /work/SRC/openSUSE:Factory/.kajongg.new/kajongg.changes     2017-05-16 
14:34:33.744427257 +0200
@@ -1,0 +2,32 @@
+Sun Apr 16 10:44:49 CEST 2017 - lbeltr...@kde.org
+
+- Update to 17.04.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04.0.php
+- Changes since 17.03.90:
+  * None
+
+-------------------------------------------------------------------
+Wed Apr 12 20:25:19 CEST 2017 - lbeltr...@kde.org
+
+- Update to 17.03.90
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04-rc.php
+- Changes since 17.03.80:
+  * None
+- Add patch to fix build:
+  * fix-i18n.patch
+
+-------------------------------------------------------------------
+Sat Mar 25 23:10:14 CET 2017 - lbeltr...@kde.org
+
+- Update to 17.03.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.03.80.php
+- Changes since 16.12.3:
+  * Too many changes to list here
+
+-------------------------------------------------------------------

Old:
----
  kajongg-16.12.3.tar.xz

New:
----
  fix-i18n.patch
  kajongg-17.04.0.tar.xz

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

Other differences:
------------------
++++++ kajongg.spec ++++++
--- /var/tmp/diff_new_pack.GzMEsf/_old  2017-05-16 14:34:35.080239587 +0200
+++ /var/tmp/diff_new_pack.GzMEsf/_new  2017-05-16 14:34:35.084239025 +0200
@@ -15,42 +15,66 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%bcond_without lang
 
 Name:           kajongg
-Version:        16.12.3
+Version:        17.04.0
 Release:        0
 %define kf5_version 5.26.0
-# Latest stable Applications (e.g. 16.08 in KA, but 16.12.3 in KUA)
+# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
 %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        4 Player Mahjongg game
 License:        GPL-2.0+
 Group:          Amusements/Games/Board/Puzzle
 Url:            http://www.kde.org
 Source0:        kajongg-%{version}.tar.xz
-BuildRequires:  libkdegames4-devel
-BuildRequires:  python-kde4-devel
-BuildRequires:  python-kdebase4
+# PATCH-FIX-UPSTREAM (I hope)
+Patch1:         fix-i18n.patch
+BuildRequires:  extra-cmake-modules
+BuildRequires:  cmake(Qt5Core)
+BuildRequires:  cmake(Qt5Gui)
+BuildRequires:  cmake(Qt5Svg)
+BuildRequires:  cmake(Qt5Widgets)
+BuildRequires:  cmake(KF5Config)
+BuildRequires:  cmake(KF5DocTools)
+BuildRequires:  cmake(KF5I18n)
+BuildRequires:  cmake(KF5KMahjongglib)
+BuildRequires:  cmake(KF5ConfigWidgets)
+BuildRequires:  python3-base >= 3.5.0
+BuildRequires:  python3-qt5-devel
+BuildRequires:  python3-Twisted >= 16.6.0
 BuildRequires:  xz
-Requires:       python-kde4
-Requires:       python-twisted
+BuildRequires:  update-desktop-files
+Requires:       python3-Twisted
+Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{kde4_runtime_requires}
+BuildArch:      noarch
 
 %description
 Kajongg is a version of the four player Mahjongg tile game.
 
+%if %{with lang}
+%lang_package
+%endif
+
 %prep
 %setup -q -n kajongg-%{version}
+%patch1 -p1
 
 %build
-  %cmake_kde4 -d build -- -DINSTALL_KAJONGG=TRUE
+  # Workaround for kde#376303
+  export PYTHONDONTWRITEBYTECODE=1
+  export DESTDIR=%{buildroot}
+  %cmake_kf5 -d build
   %make_jobs
 
 %install
-  cd build
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+  %make_install -C build
+  %if %{with lang}
+    %find_lang %{name} --with-man --all-name
+    %kf5_find_htmldocs
+  %endif
   %suse_update_desktop_file -r org.kde.kajongg         Game BoardGame
-  %kde_post_install
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -58,13 +82,18 @@
 %files
 %defattr(-,root,root)
 %doc COPYING COPYING.DOC README
-%{_kde4_bindir}/kajongg
-%{_kde4_bindir}/kajonggserver
-%{_kde4_applicationsdir}/org.kde.kajongg.desktop
-%{_kde4_htmldir}/en/kajongg/
-%{_kde4_iconsdir}/hicolor/*/apps/kajongg.*
-%{_kde4_iconsdir}/hicolor/*/actions/games-kajongg-law.*
-%{_kde4_appsdir}/kajongg/
+%{_bindir}/kajongg
+%{_bindir}/kajonggserver
+%{_kf5_applicationsdir}/org.kde.kajongg.desktop
+%{_kf5_htmldir}/en/kajongg/
+%{_kf5_iconsdir}/hicolor/*/apps/kajongg.*
+%{_kf5_iconsdir}/hicolor/*/actions/games-kajongg-law.*
+%{_kf5_appsdir}/kajongg/
 %{_datadir}/metainfo/
 
+%if %{with lang}
+%files lang -f %{name}.lang
+%doc COPYING*
+%endif
+
 %changelog

++++++ fix-i18n.patch ++++++
Author: Fabian Vogt <fab...@ritter-vogt.de>
Subject: Fix i18n call

The call to ki18n_install was autogenerated by a script, but
it requires I18n to be available.

---
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: kajongg-17.03.90/CMakeLists.txt
===================================================================
--- kajongg-17.03.90.orig/CMakeLists.txt
+++ kajongg-17.03.90/CMakeLists.txt
@@ -15,7 +15,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SO
 find_package(PythonInterp ${PYTHON_MIN_VERSION} REQUIRED)
 find_package(Twisted ${TWISTED_MIN_VERSION} REQUIRED)
 find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Gui Svg 
Widgets)
-find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Config DocTools)
+find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Config DocTools I18n)
 
 include(FeatureSummary)
 include(ECMPackageConfigHelpers)
++++++ kajongg-16.12.3.tar.xz -> kajongg-17.04.0.tar.xz ++++++
++++ 145219 lines of diff (skipped)


Reply via email to