Hello community,

here is the log from the commit of package libktorrent for openSUSE:Factory 
checked in at 2016-04-22 16:16:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libktorrent (Old)
 and      /work/SRC/openSUSE:Factory/.libktorrent.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libktorrent"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libktorrent/libktorrent.changes  2013-01-22 
22:22:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libktorrent.new/libktorrent.changes     
2016-04-22 16:16:57.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Apr 16 11:33:32 UTC 2016 - [email protected]
+
+- Update to version 2.0
+  * Ported to Qt5/KF5
+  * QHttp-based tracker communication was dropped in favour of KIO-based one
+  * Optimize queue data structures shown up be callgrind
+  * fix issues found by Coverity static analyzer
+
+-------------------------------------------------------------------

Old:
----
  libktorrent-1.3.1.tar.bz2

New:
----
  libktorrent-2.0.tar.xz

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

Other differences:
------------------
++++++ libktorrent.spec ++++++
--- /var/tmp/diff_new_pack.VwfEJq/_old  2016-04-22 16:16:58.000000000 +0200
+++ /var/tmp/diff_new_pack.VwfEJq/_new  2016-04-22 16:16:58.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libktorrent
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,21 +16,32 @@
 #
 
 
+%define ktor_ver 5.0
+
 Name:           libktorrent
-Version:        1.3.1
+Version:        2.0
 Release:        0
-%define sonum   5
+%define sonum   6
 Summary:        Torrent Downloading Library
 License:        GPL-2.0+
 Group:          Productivity/Networking/File-Sharing
 Url:            http://ktorrent.org/
-Source0:        http://ktorrent.org/downloads/4.3.1/%{name}-%{version}.tar.bz2
+Source0:        
http://download.kde.org/stable/ktorrent/%{ktor_ver}/%{name}-%{version}.tar.xz
 BuildRequires:  boost-devel
 BuildRequires:  doxygen
+BuildRequires:  extra-cmake-modules
 BuildRequires:  gmp-devel
+BuildRequires:  karchive-devel
+BuildRequires:  kdelibs4support-devel
+BuildRequires:  ki18n-devel
+BuildRequires:  kio-devel
 BuildRequires:  libgcrypt-devel
-BuildRequires:  libkde4-devel
-BuildRequires:  libqca2-devel
+BuildRequires:  libqca-qt5-devel
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Network)
+BuildRequires:  pkgconfig(Qt5Test)
+BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -39,7 +50,10 @@
 %package devel
 Summary:        Development files for libktorrent
 Group:          Development/Libraries/C and C++
+Requires:       boost-devel
+Requires:       gmp-devel
 Requires:       libktorrent%{sonum} = %{version}
+Requires:       libqca-qt5-devel
 
 %description devel
 This package includes the necessary files for development using libktorrent.
@@ -59,21 +73,11 @@
 %setup -q -n %{name}-%{version}
 
 %build
-%cmake_kde4 -d build
+%cmake_kf5 -d build
 %make_jobs
 
 %install
-cd build
-%kde4_makeinstall
-cd ..
-
-# Remove unneeded locales
-%if 0%{?suse_version} && 0%{?suse_version} < 1140
- rm -rf %{buildroot}%{_datadir}/locale/ast/
- rm -rf %{buildroot}%{_datadir}/locale/hne/
- rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavian/
- rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavianlatin/
-%endif
+%kf5_makeinstall -C build
 
 %find_lang %{name}
 
@@ -86,14 +90,14 @@
 
 %files devel
 %defattr(-,root,root,-)
-%{_kde4_includedir}/libktorrent/
-%{_kde4_libdir}/libktorrent.so
-%{_kde4_appsdir}/cmake/modules/FindKTorrent.cmake
+%{_includedir}/libktorrent/
+%{_libdir}/libktorrent.so
+%{_libdir}/cmake/LibKTorrent/
 
 %files -n libktorrent%{sonum}
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog RoadMap
-%{_kde4_libdir}/libktorrent.so.%{sonum}*
+%{_libdir}/libktorrent.so.%{sonum}*
 
 %files -n libktorrent%{sonum}-lang -f %{name}.lang
 %defattr(-,root,root,-)


Reply via email to