Hello community,

here is the log from the commit of package kvirc for openSUSE:Factory checked 
in at 2019-02-15 09:54:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvirc (Old)
 and      /work/SRC/openSUSE:Factory/.kvirc.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvirc"

Fri Feb 15 09:54:47 2019 rev:41 rq:667953 version:5.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvirc/kvirc.changes      2018-11-27 
10:46:10.411964770 +0100
+++ /work/SRC/openSUSE:Factory/.kvirc.new.28833/kvirc.changes   2019-02-15 
09:54:58.787767978 +0100
@@ -1,0 +2,15 @@
+Mon Jan 21 15:45:33 UTC 2019 - [email protected]
+
+- Update to 5.0.0
+  * Ported to Qt5 and KDE Frameworks5
+  * Too many changes to list here
+- Drop patches merged upstream:
+  * fix-processEvents.patch
+  * kvirc-gendoc-date.patch
+  * kvirc-cmake-timestamp.patch
+  * kvirc-no-uname.patch
+- Drop separate devel package and just delete libkvirc.so instead
+- Change package license to GPL-2.0-or-later AND (GPL-3.0-only OR
+  SUSE-LGPL-2.1-with-digia-exception-1.1)
+
+-------------------------------------------------------------------

Old:
----
  fix-processEvents.patch
  kvirc-4.2.0.tar.bz2
  kvirc-cmake-timestamp.patch
  kvirc-gendoc-date.patch
  kvirc-no-uname.patch

New:
----
  KVIrc-5.0.0.tar.bz2

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

Other differences:
------------------
++++++ kvirc.spec ++++++
--- /var/tmp/diff_new_pack.3W8Tw5/_old  2019-02-15 09:54:59.399767785 +0100
+++ /var/tmp/diff_new_pack.3W8Tw5/_new  2019-02-15 09:54:59.399767785 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kvirc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,118 +12,114 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           kvirc
-Version:        4.2.0
+Version:        5.0.0
 Release:        0
 Summary:        Graphical Front-End for IRC
-License:        SUSE-GPL-2.0+-with-openssl-exception
+License:        GPL-2.0-or-later AND (GPL-3.0-only OR 
SUSE-LGPL-2.1-with-digia-exception-1.1)
 Group:          Productivity/Networking/IRC
-Url:            http://www.kvirc.net/
-Source:         
ftp://ftp.kvirc.de/pub/kvirc/%{version}/source/kvirc-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM fix-processEvents.patch [email protected] -- fixes use of 
wrong operator when constructing the parameter to 
QApplication::processEvents(), and as a result also the build with gcc6
-Patch:          fix-processEvents.patch
-# PATCH-FIX-UPSTREAM
-Patch1:         kvirc-gendoc-date.patch
-# PATCH-FIX-UPSTREAM
-Patch2:         kvirc-cmake-timestamp.patch
-# PATCH-FIX-UPSTREAM
-Patch3:         kvirc-no-uname.patch
-%define         _realversion 4.0
+URL:            http://www.kvirc.net/
+Source:         
ftp://ftp.kvirc.net/pub/kvirc/%{version}/source/KVIrc-%{version}.tar.bz2
 BuildRequires:  audiofile-devel
+BuildRequires:  cmake >= 3.1.0
+BuildRequires:  doxygen
+BuildRequires:  enchant-devel
+BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes
-BuildRequires:  glibc-devel
-BuildRequires:  libkde4-devel
-%if 0%{?suse_version} > 1320
-#!BuildIgnore:  libopenssl-1_1_0-devel
-BuildRequires:  libopenssl-1_0_0-devel
-%else
+BuildRequires:  kf5-filesystem
+BuildRequires:  libX11-devel
 BuildRequires:  libopenssl-devel
-%endif
-BuildRequires:  libsamplerate-devel
+BuildRequires:  libtheora-devel
+BuildRequires:  perl
+BuildRequires:  phonon4qt5-devel
+BuildRequires:  pkgconfig
 BuildRequires:  python-devel
-# use external libraries if available.  This is the upstream recommended way 
to build the package
-BuildRequires:  libcryptopp-devel
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  subversion
+BuildRequires:  update-desktop-files
+BuildRequires:  zlib-devel
+BuildRequires:  cmake(KF5CoreAddons)
+BuildRequires:  cmake(KF5I18n)
+BuildRequires:  cmake(KF5Notifications)
+BuildRequires:  cmake(KF5Service)
+BuildRequires:  cmake(KF5WindowSystem)
+BuildRequires:  cmake(KF5XmlGui)
+BuildRequires:  cmake(Qt5DBus)
+BuildRequires:  cmake(Qt5Multimedia)
+BuildRequires:  cmake(Qt5MultimediaWidgets)
+BuildRequires:  cmake(Qt5Network)
+BuildRequires:  cmake(Qt5PrintSupport)
+BuildRequires:  cmake(Qt5Sql)
+BuildRequires:  cmake(Qt5Svg)
+BuildRequires:  cmake(Qt5WebKitWidgets)
+BuildRequires:  cmake(Qt5Widgets)
+BuildRequires:  cmake(Qt5X11Extras)
+BuildRequires:  cmake(Qt5Xml)
 %requires_eq    perl
-%kde4_runtime_requires
+Obsoletes:      %{name}-devel < %{version}
+%if 0%{?suse_version} < 1500
+# It does not build with the default compiler (GCC 4.8) on Leap 42.x
+BuildRequires:  gcc7-c++
+%endif
 
 %description
 IRC (Internet Relay Chat) client with an MDI interface; scripting,
 pop-up, alias, and event editor; DCC (SEND CHAT VOICE and RESUME);
 SOCKSV4 & V5 support; and more.
 
-%package devel
-Summary:        Graphical Front-End for IRC
-Group:          Development/Libraries/C and C++
-Requires:       kvirc = %{version}
-
-%description devel
-IRC (Internet Relay Chat) client with an MDI interface; scripting,
-pop-up, alias, and event editor; DCC (SEND CHAT VOICE and RESUME);
-SOCKSV4 & V5 support; and more. See documentation in
-/opt/kde/share/doc/HTML/de/kvirc/index.html.
-
 %prep
-%setup -q -n kvirc-%{version}
-%autopatch -p1
+%setup -q -n KVIrc-%{version}
 
 %build
-EXTRA_FLAGS="-DWANT_KDE4=ON \
-             -DWITH_NO_EMBEDDED_CODE=ON \
-             -DWANT_COEXISTENCE=OFF"
-%cmake_kde4 -d build -- $EXTRA_FLAGS
-make %{?_smp_mflags} VERBOSE=1
+%if 0%{?suse_version} < 1500
+# It does not build with the default compiler (GCC 4.8) on Leap 42.x
+export CC=gcc-7
+export CXX=g++-7
+%endif
+
+EXTRA_FLAGS="-UCMAKE_MODULE_LINKER_FLAGS \
+%if "%{?_lib}" == "lib64"
+-DLIB_SUFFIX=64 \
+%endif
+"
+
+%cmake_kf5 -d build -- $EXTRA_FLAGS
+%make_jobs
 
 %install
-pushd build
-%make_install
+%kf5_makeinstall -C build
 %suse_update_desktop_file kvirc Network IRCClient
-popd
 L="$PWD/%{name}.lang"
 echo -n >"$L"
-pushd "%{buildroot}%{_datadir}/%{name}"
+pushd "%{buildroot}%{_kf5_sharedir}/%{name}"
 find . -type f -name '*.mo' | while read f; do
 l="${f#./}"
 l="${l%%/*}"
-echo "%lang($l) %{_datadir}/%{name}/${f#./}" >> "$L"
+echo "%lang($l) %{_kf5_sharedir}/%{name}/${f#./}" >> "$L"
 done
 popd
 %fdupes %{buildroot}
 
-%post   -p /sbin/ldconfig
+rm %{buildroot}%{_libdir}/libkvilib.so
 
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
-
 %files -f %{name}.lang
-%defattr(-,root,root)
-%doc README ChangeLog
-%dir %{_kde4_mandir}/uk
-%dir %{_kde4_mandir}/uk/man1
-%exclude %{_kde4_bindir}/kvirc-config
-%{_kde4_bindir}/kvirc*
-%{_kde4_libdir}/libkvilib*.so.*
-%{_kde4_libdir}/kvirc/
-%{_datadir}/kvirc/
-%{_datadir}/mime/packages/kvirc.xml
-%{_datadir}/applications/kvirc*.desktop
-%{_kde4_iconsdir}/hicolor
-%{_datadir}/pixmaps/kvirc.png
-%{_kde4_mandir}/*/man?/kvirc.*
-%{_kde4_mandir}/man?/kvirc.*
-%{_kde4_appsdir}/kvirc/
-%{_kde4_servicesdir}/_irc*.protocol
-
-%files devel
-%defattr(-,root,root)
-%{_kde4_bindir}/kvirc-config
-%{_kde4_libdir}/libkvilib*.so
+%doc ChangeLog
+%license COPYING
+%{_kf5_applicationsdir}/kvirc.desktop
+%{_kf5_bindir}/kvirc
+%{_kf5_bindir}/kvirc-config
+%{_kf5_iconsdir}/hicolor/*/*/*
+%{_kf5_libdir}/kvirc/
+%{_kf5_libdir}/libkvilib.so.*
+%{_kf5_mandir}/*/man?/kvirc.*
+%{_kf5_mandir}/man?/kvirc.*
+%{_kf5_sharedir}/kvirc/
+%{_kf5_sharedir}/pixmaps/kvirc.png
 
 %changelog


Reply via email to