KDE Applications 17.08.80 beta

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kget?expand=0&rev=45
This commit is contained in:
Luca Beltrame 2017-03-26 07:18:59 +00:00 committed by Git OBS Bridge
parent d3aaefcbb6
commit a36706318e
6 changed files with 240 additions and 98 deletions

26
0001-QTBUG-57796.patch Normal file
View File

@ -0,0 +1,26 @@
From 3cfe31701ac8ee8444e03db2ecae527c7d1927ef Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Fri, 23 Dec 2016 21:01:43 +0100
Subject: [PATCH] QTBUG-57796
Signed-off-by: Fabian Vogt <fabian@ritter-vogt.de>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 868efe1..71f235f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,7 +217,7 @@ if (Gpgmepp_FOUND)
endif()
-set_target_properties(kgetcore PROPERTIES VERSION 5.0.0 SOVERSION 5 )
+set_target_properties(kgetcore PROPERTIES VERSION 5.0.0 SOVERSION 5 AUTOMOC_MOC_OPTIONS "-D__GNUC__=6")
install(TARGETS kgetcore ${INSTALL_TARGETS_DEFAULT_ARGS})
--
2.10.2

84
fix-qca-qt5.diff Normal file
View File

@ -0,0 +1,84 @@
commit a3cca346809f174b992123fb7a58cd62f3436aec
Author: Raymond Wooninck <tittiatcoke@gmail.com>
Date: Tue Jan 13 11:28:16 2015 +0100
Change to use the qt5 branch of Qca
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3f458d..828761f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_P
find_package(Sqlite QUIET)
set_package_properties(SQLITE_FOUND PROPERTIES DESCRIPTION "SQLite is a Binary-Database" TYPE RECOMMENDED PURPOSE "Needed for the SQLite-Backend of the KGet-History")
-find_package(Qca 2.1.0)
+find_package(Qca-qt5 2.1.0)
set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
URL "http://delta.affinix.com/qca"
TYPE REQUIRED)
@@ -71,7 +71,7 @@ if(CMAKE_BUILD_TYPE MATCHES debugfull)
add_definitions(-DDEBUG)
endif(CMAKE_BUILD_TYPE MATCHES debugfull)
-if (Qca_FOUND)
+if (Qca-qt5_FOUND)
add_definitions(-DHAVE_QCA2)
MESSAGE(STATUS "QCA found")
endif()
@@ -181,8 +181,8 @@ if (SQLITE_FOUND)
target_link_libraries(kgetcore ${QT_QTSQL_LIBRARY})
endif (SQLITE_FOUND)
-if (Qca_FOUND)
- target_link_libraries(kgetcore qca)
+if (Qca-qt5_FOUND)
+ target_link_libraries(kgetcore qca-qt5)
endif ()
if (KF5QGpgme_FOUND)
commit 22737e6dd01abb62cd2f6ac3eb9c7ae96bc948f4
Author: Raymond Wooninck <tittiatcoke@gmail.com>
Date: Tue Jan 13 11:53:56 2015 +0100
Fix QGpgme detection due to upstream changes
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 828761f..2c93564 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,9 +47,8 @@ set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
TYPE REQUIRED)
-find_package(KF5QGpgme)
find_package(KF5Gpgmepp)
-set_package_properties(KF5QGpgme_FOUND PROPERTIES DESCRIPTION "The QGpgME library" TYPE RECOMMENDED PURPOSE "QGpgME is required to have signature verifying support in KGet.")
+set_package_properties(KF5Gpgmepp_FOUND PROPERTIES DESCRIPTION "The GpgMEPP library" TYPE RECOMMENDED PURPOSE "GpgMEPP is required to have signature verifying support in KGet.")
find_package(KTorrent QUIET)
set_package_properties(LIBKTORRENT_FOUND PROPERTIES DESCRIPTION "Backend Library of KTorrent" TYPE RECOMMENDED PURPOSE "Needed to build KGet bittorrent support.")
@@ -76,12 +75,11 @@ if (Qca-qt5_FOUND)
MESSAGE(STATUS "QCA found")
endif()
-if(KF5QGpgme_FOUND)
+if(KF5Gpgmepp_FOUND)
find_package(Boost REQUIRED)
add_definitions(-DHAVE_QGPGME)
include_directories(
${Boost_INCLUDE_DIRS}
- ${QGPGME_INCLUDE_DIR}
)
endif()
@@ -185,7 +183,7 @@ if (Qca-qt5_FOUND)
target_link_libraries(kgetcore qca-qt5)
endif ()
-if (KF5QGpgme_FOUND)
+if (KF5Gpgmepp_FOUND)
target_link_libraries(kgetcore KF5::QGpgme KF5::Gpgmepp)
kde_enable_exceptions()
endif()

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b22b9b6851792ee35951f2153ac7326e961c8e5acbc28dfe7ad3d43359d1641
size 1082008

3
kget-17.03.80.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233f60390e1581dce818060a3dfdfb55d0e47e50294bd845301741447360409b
size 1081924

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Mar 25 23:10:56 CET 2017 - lbeltrame@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:
* Fix terminology: "by KDE", not "for KDE"
-------------------------------------------------------------------
Thu Mar 9 12:45:17 CET 2017 - lbeltrame@kde.org
@ -25,14 +35,14 @@ Wed Feb 1 11:39:35 UTC 2017 - adam.majer@suse.de
Sat Jan 14 09:09:25 UTC 2017 - lbeltrame@kde.org
- - Update to KDE Applications 16.12.1
* KDE Applications 16.12.1
* KDE Applications 16.12.1
* https://www.kde.org/announcements/announce-applications-16.12.1.php
-------------------------------------------------------------------
Tue Dec 13 20:08:51 UTC 2016 - tittiatcoke@gmail.com
- Update to KDE Applications 16.12.0
* KDE Applications 16.12.0
* KDE Applications 16.12.0
* https://www.kde.org/announcements/announce-applications-16.12.0.php
@ -133,7 +143,7 @@ Mon Apr 11 06:40:37 UTC 2016 - tittiatcoke@gmail.com
Sun Mar 13 15:43:42 UTC 2016 - tittiatcoke@gmail.com
- Update to KDE Applications 15.12.3
* KDE Applications 15.12.3
* KDE Applications 15.12.3
* https://www.kde.org/announcements/announce-applications-15.12.3.php
* boo#970855
@ -142,7 +152,7 @@ Sun Mar 13 15:43:42 UTC 2016 - tittiatcoke@gmail.com
Sat Feb 13 08:10:48 UTC 2016 - tittiatcoke@gmail.com
- Update to KDE Applications 15.12.2
* KDE Applications 15.12.2
* KDE Applications 15.12.2
* https://www.kde.org/announcements/announce-applications-15.12.2.php
* boo#966605
@ -151,11 +161,11 @@ Sat Feb 13 08:10:48 UTC 2016 - tittiatcoke@gmail.com
Sat Jan 9 18:19:33 UTC 2016 - tittiatcoke@gmail.com
- Update to KDE Applications 15.12.1
* KDE Applications 15.12.1
* KDE Applications 15.12.1
* https://www.kde.org/announcements/announce-applications-15.12.1.php
* boo#961265
- Drop the BuildRequires on kdebase4-workspace. In a Plasma5
- Drop the BuildRequires on kdebase4-workspace. In a Plasma5
environment it would be impossible to shutdown the system through
KDE4.
@ -163,7 +173,7 @@ Sat Jan 9 18:19:33 UTC 2016 - tittiatcoke@gmail.com
Sun Dec 13 13:18:49 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.12.0
* KDE Applications 15.12.0
* KDE Applications 15.12.0
* https://www.kde.org/announcements/announce-applications-15.12.0.php
* boo#958887
@ -172,7 +182,7 @@ Sun Dec 13 13:18:49 UTC 2015 - tittiatcoke@gmail.com
Tue Nov 10 20:08:04 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.08.3
* KDE Applications 15.08.3
* KDE Applications 15.08.3
* https://www.kde.org/announcements/announce-applications-15.08.3.php
* boo#954531
@ -181,7 +191,7 @@ Tue Nov 10 20:08:04 UTC 2015 - tittiatcoke@gmail.com
Sun Oct 11 13:30:59 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.08.2
* KDE Applications 15.08.2
* KDE Applications 15.08.2
* https://www.kde.org/announcements/announce-applications-15.08.2.php
@ -189,7 +199,7 @@ Sun Oct 11 13:30:59 UTC 2015 - tittiatcoke@gmail.com
Sun Sep 13 19:14:27 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.08.1
* KDE Applications 15.08.1
* KDE Applications 15.08.1
* https://www.kde.org/announcements/announce-applications-15.08.1.php
@ -341,7 +351,7 @@ Fri May 9 17:11:09 UTC 2014 - tittiatcoke@gmail.com
-------------------------------------------------------------------
Mon Apr 28 08:19:25 UTC 2014 - tittiatcoke@gmail.com
- Remove some leftover nepomuk buildrequire. This is no longer
- Remove some leftover nepomuk buildrequire. This is no longer
needed.
-------------------------------------------------------------------
@ -508,7 +518,7 @@ Sat May 4 17:17:07 UTC 2013 - tittiatcoke@gmail.com
* Bugfix release
* See http://www.kde.org/announcements/announce-4.10.3.php
* resolves bnc#818500
- Added fix_v4l_deprecations.patch, fixes usage of interfaces deprecated
- Added fix_v4l_deprecations.patch, fixes usage of interfaces deprecated
with 3.9 kernel
-------------------------------------------------------------------
@ -525,49 +535,49 @@ Tue Mar 12 21:21:50 UTC 2013 - seife+obs@b1-systems.com
Sat Mar 2 16:00:45 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.10.1
* Contains bug fixes. See http://www.kde.org/announcements/
for more information
* Contains bug fixes. See http://www.kde.org/announcements/
for more information
-------------------------------------------------------------------
Thu Jan 31 18:11:42 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.10.0
* This is the final release for 4.10. Contains bugfixes
* This is the final release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Thu Jan 17 08:32:44 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.9.98
* This is the third RC release for 4.10. Contains bugfixes
* This is the third RC release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Thu Jan 3 21:33:54 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.9.97
* This is the second RC release for 4.10. Contains bugfixes
* This is the second RC release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Wed Dec 19 19:06:24 UTC 2012 - tittiatcoke@gmail.com
- Update to 4.9.95
* This is the first RC release for 4.10. Contains bugfixes
* This is the first RC release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Sat Dec 1 20:29:22 UTC 2012 - tittiatcoke@gmail.com
- Update to 4.9.90
* This is the second Beta release for 4.10. Contains bugfixes
* This is the second Beta release for 4.10. Contains bugfixes
-------------------------------------------------------------------
Sat Nov 24 13:12:40 UTC 2012 - tittiatcoke@gmail.com
- Update to 4.9.80
* See http://www.kde.org/announcements/announce-4.10-beta1.php
* See http://www.kde.org/announcements/announce-4.10-beta1.php
-------------------------------------------------------------------
Wed Nov 7 07:43:50 UTC 2012 - tittiatcoke@gmail.com
- Add explicit buildrequire for libmediastreamer1 for kopete to
- Add explicit buildrequire for libmediastreamer1 for kopete to
avoid "Have Choice for" for packages depending on Kopete and to
prevent that the user has to make a choice what to install
@ -585,7 +595,7 @@ Wed Oct 10 20:56:18 UTC 2012 - mailaender@opensuse.org
-------------------------------------------------------------------
Sat Oct 6 07:04:46 UTC 2012 - tittiatcoke@gmail.com
- Disable the OTR plugin for openSUSE Factory atm due to
- Disable the OTR plugin for openSUSE Factory atm due to
incompatibility with the newer libotr version
-------------------------------------------------------------------
@ -599,7 +609,7 @@ Wed Sep 5 12:03:21 UTC 2012 - dmueller@suse.com
- update to 4.9.1
* see http://kde.org/announcements/4.9.1/ for details
-------------------------------------------------------------------
Mon Jul 30 16:51:52 UTC 2012 - dmueller@suse.com
@ -610,7 +620,7 @@ Mon Jul 30 16:51:52 UTC 2012 - dmueller@suse.com
-------------------------------------------------------------------
Mon Jun 4 11:43:43 UTC 2012 - idonmez@suse.com
- Fix build with new glibc
- Fix build with new glibc
-------------------------------------------------------------------
Fri Jun 1 13:53:35 UTC 2012 - dmueller@suse.com
@ -652,7 +662,7 @@ Wed Jan 18 21:04:46 CET 2012 - dmueller@suse.de
- update to 4.8.0
* first stable release of KDE 4.8 (only critical fixes over 4.7.98)
* see http://kde.org/announcements/4.8/ for details
-------------------------------------------------------------------
Tue Jan 10 18:45:00 CET 2012 - dmueller@suse.de
@ -660,7 +670,7 @@ Tue Jan 10 18:45:00 CET 2012 - dmueller@suse.de
- update to 4.7.98
* RC2+ milestone release of KDE 4.8
* see http://kde.org/announcements/4.8/ for details
-------------------------------------------------------------------
Wed Dec 7 11:30:35 UTC 2011 - coolo@suse.com
@ -676,7 +686,7 @@ Fri Dec 2 01:58:39 CET 2011 - dmueller@suse.de
-------------------------------------------------------------------
Fri Nov 11 12:41:48 UTC 2011 - idonmez@suse.com
- Depend on kwebkitpart instead of kwebkitpart-devel
- Depend on kwebkitpart instead of kwebkitpart-devel
-------------------------------------------------------------------
Wed Nov 2 20:22:17 CET 2011 - dmueller@suse.de
@ -690,7 +700,7 @@ Sun Oct 2 17:10:25 CEST 2011 - dmueller@suse.de
- update to 4.7.2
* see http://kde.org/announcements/changelogs/changelog4_7_1to4_7_2.php for details
-------------------------------------------------------------------
-------------------------------------------------------------------
Sat Sep 17 21:04:19 UTC 2011 - toddrme2178@gmail.com
- Removed base package (fix for RPMLINT warning)
@ -713,12 +723,12 @@ Fri Jul 22 20:20:08 CEST 2011 - dmueller@suse.de
- update to 4.7.0
* Small fixes over KDE 4.7 RC2
* see http://kde.org/announcements/4.7 for details
-------------------------------------------------------------------
Thu Jul 21 12:55:51 UTC 2011 - idonmez@novell.com
- Update to 4.6.95
- Update to 4.6.95
-------------------------------------------------------------------
Fri Jul 1 11:20:56 CEST 2011 - dmueller@suse.de
@ -726,7 +736,7 @@ Fri Jul 1 11:20:56 CEST 2011 - dmueller@suse.de
- update to 4.6.5
* Bugfixes over KDE 4.6.5
* see http://kde.org/announcements/changelogs/changelog4_6_4to4_6_5.php for details
-------------------------------------------------------------------
Fri Jun 3 15:38:07 CEST 2011 - dmueller@suse.de
@ -734,7 +744,7 @@ Fri Jun 3 15:38:07 CEST 2011 - dmueller@suse.de
- update to 4.6.4
* Bugfixes over KDE 4.6.3
* see http://kde.org/announcements/changelogs/changelog4_6_3to4_6_4.php for details
-------------------------------------------------------------------
Thu Apr 28 16:15:39 CEST 2011 - dmueller@suse.de
@ -742,7 +752,7 @@ Thu Apr 28 16:15:39 CEST 2011 - dmueller@suse.de
- update to 4.6.3
* Bugfixes over KDE 4.6.2
* see http://kde.org/announcements/changelogs/changelog4_6_2to4_6_3.php for details
-------------------------------------------------------------------
Fri Apr 1 15:17:06 CEST 2011 - dmueller@suse.de
@ -750,7 +760,7 @@ Fri Apr 1 15:17:06 CEST 2011 - dmueller@suse.de
- update to 4.6.2
* Bugfixes over KDE 4.6.1
* see http://kde.org/announcements/changelogs/changelog4_6_1to4_6_2.php for details
-------------------------------------------------------------------
Tue Mar 8 14:09:39 CET 2011 - dmueller@suse.de
@ -758,14 +768,14 @@ Tue Mar 8 14:09:39 CET 2011 - dmueller@suse.de
- update to 4.6.1
* Bugfixes over KDE 4.6.0
* see http://kde.org/announcements/changelogs/changelog4_6_0to4_6_1.php for details
-------------------------------------------------------------------
Wed Jan 19 23:39:37 CET 2011 - dmueller@suse.de
- update to 4.6.0
* For highlights, see http://kde.org/announcements/4.6
-------------------------------------------------------------------
Tue Jan 4 18:07:56 CET 2011 - dmueller@suse.de
@ -773,7 +783,7 @@ Tue Jan 4 18:07:56 CET 2011 - dmueller@suse.de
- update to 4.5.95
* KDE 4.6 RC2
* no upstream changelog available.
-------------------------------------------------------------------
Wed Dec 22 11:39:28 CET 2010 - dmueller@suse.de
@ -781,7 +791,7 @@ Wed Dec 22 11:39:28 CET 2010 - dmueller@suse.de
- update to 4.5.90
* KDE 4.6 RC1
* no upstream changelog available.
-------------------------------------------------------------------
Fri Dec 8 19:18:53 UCT 2010 - toddrme2178@gmail.com
@ -789,7 +799,7 @@ Fri Dec 8 19:18:53 UCT 2010 - toddrme2178@gmail.com
- Add optional dependencies
* KDE4Workspace -- Allows 'shutdown after downloads completed' in kget
* libkonq -- Needed to build actions and open with options in the context menu of a transfer
* mediastreamer -- Required to enable voice clips support in WLM plugin and
* mediastreamer -- Required to enable voice clips support in WLM plugin and
needed to build Google Talk libjingle audio call support in Kopete.
* Expat -- Needed to build Google Talk libjingle support
- Removed build tests for unsupported openSUSE versions (11.0 and earlier)
@ -801,7 +811,7 @@ Fri Dec 3 17:14:33 CET 2010 - dmueller@suse.de
* KDE 4.6 Beta2
* Final Beta before RC, various fixes from Beta1
* no upstream changelog available.
-------------------------------------------------------------------
Mon Nov 22 12:55:54 UTC 2010 - coolo@novell.com
@ -820,7 +830,7 @@ Fri Nov 19 17:19:02 CET 2010 - dmueller@suse.de
- update to 4.5.80
* KDE 4.6 Beta1
* no upstream changelog available.
-------------------------------------------------------------------
Thu Oct 28 22:13:00 CEST 2010 - dmueller@suse.de
@ -844,7 +854,7 @@ Thu Jul 29 16:55:11 CEST 2010 - dmueller@suse.de
- update to 4.5.0
* KDE 4.5.0 final (version bump over RC3)
-------------------------------------------------------------------
Sat Jul 24 00:03:49 CEST 2010 - dmueller@suse.de
@ -852,7 +862,7 @@ Sat Jul 24 00:03:49 CEST 2010 - dmueller@suse.de
- update to 4.4.95
* KDE 4.5 RC3 (not announced)
* critical fixes for 4.5.0 release
-------------------------------------------------------------------
Wed Jul 21 11:58:28 UTC 2010 - llunak@novell.com
@ -1155,7 +1165,7 @@ Sat Sep 27 10:00:07 CEST 2008 - wstephenson@suse.de
* fix bnc#396381 kopete crashes on adding groupwise contacts
* fix bnc#336059 kopete crashes in GW::UserDetailsManager
* fix bnc#403147 kopete shows '0' in place of contact name for
off-contact-list incoming messages
off-contact-list incoming messages
-------------------------------------------------------------------
Thu Sep 25 18:59:47 CEST 2008 - dmueller@suse.de
@ -1269,7 +1279,7 @@ Sun May 11 18:16:04 CEST 2008 - wstephenson@suse.de
Fri May 9 17:18:04 CEST 2008 - dmueller@suse.de
- 4_0_BRANCH.diff update:
* new translations, various groupwise fixes
* new translations, various groupwise fixes
-------------------------------------------------------------------
Fri May 9 17:00:16 CEST 2008 - wstephenson@suse.de
@ -1375,12 +1385,12 @@ Wed Nov 7 10:41:45 CET 2007 - dmueller@suse.de
-------------------------------------------------------------------
Mon Nov 5 18:20:00 CET 2007 - dmueller@suse.de
- fix directory ownership
- fix directory ownership
-------------------------------------------------------------------
Mon Nov 5 10:05:17 CET 2007 - dmueller@suse.de
- suppress desktop icon errors for now
- suppress desktop icon errors for now
-------------------------------------------------------------------
Thu Nov 1 12:21:23 CET 2007 - dmueller@suse.de
@ -1395,17 +1405,17 @@ Fri Oct 26 13:34:38 CEST 2007 - dmueller@suse.de
-------------------------------------------------------------------
Tue Oct 23 10:45:44 CEST 2007 - dmueller@suse.de
- remove reference to uninstalled icon file
- remove reference to uninstalled icon file
-------------------------------------------------------------------
Thu Oct 18 10:48:22 CEST 2007 - dmueller@suse.de
- udpate to 3.94.1
- udpate to 3.94.1
-------------------------------------------------------------------
Tue Oct 9 23:35:14 CEST 2007 - dmueller@suse.de
- update to KDE 4.0 beta3
- update to KDE 4.0 beta3
-------------------------------------------------------------------
Tue Oct 2 16:13:31 CEST 2007 - stbinner@suse.de
@ -1421,7 +1431,7 @@ Wed Sep 26 14:54:14 CEST 2007 - stbinner@suse.de
Mon Sep 24 15:39:38 CEST 2007 - stbinner@suse.de
- two krfb fixes from upstream (#325543):
* don't crash after deleting the first invitation in the list
* don't crash after deleting the first invitation in the list
if there are more than one
* be able to connect to the VNC server right after the invitation
has been created; don't wait until the dialog has been closed
@ -1429,7 +1439,7 @@ Mon Sep 24 15:39:38 CEST 2007 - stbinner@suse.de
-------------------------------------------------------------------
Mon Sep 17 22:22:01 CEST 2007 - dmueller@suse.de
- fix threading issues in krdc (#310766)
- fix threading issues in krdc (#310766)
-------------------------------------------------------------------
Fri Sep 14 18:55:38 CEST 2007 - stbinner@suse.de
@ -1469,7 +1479,7 @@ Thu Aug 9 10:13:32 CEST 2007 - stbinner@suse.de
-------------------------------------------------------------------
Mon Aug 6 15:03:00 CEST 2007 - dmueller@suse.de
- fix build
- fix build
-------------------------------------------------------------------
Sun Jul 29 04:34:42 CEST 2007 - stbinner@suse.de

104
kget.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package kget
#
# Copyright (c) 2015 SUSE LINUX 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
@ -17,76 +17,98 @@
Name: kget
Version: 16.12.3
Version: 17.03.80
Release: 0
%define kf5_version 5.26.0
# 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}')}
# It can only build on the same platforms as Qt Webengine
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
Summary: Download Manager
License: GPL-2.0+
Group: Productivity/Networking/Other
Source0: %{name}-%{version}.tar.xz
# Patch0: fix-qca-qt5.diff
# PATCH-FIX-OPENSUSE moc-gnuc.patch fabian@ritter-vogt.de -- QTBUG-57796
Patch1: 0001-QTBUG-57796.patch
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: extra-cmake-modules
BuildRequires: gpgme-devel
BuildRequires: libkdepimlibs4-devel
BuildRequires: libkonq-devel
BuildRequires: libktorrent-devel
BuildRequires: libqca2-devel
BuildRequires: kcmutils-devel
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdelibs4support-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: knotifications-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kwallet-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: libgpgmepp-devel
BuildRequires: libqca-qt5-devel
BuildRequires: libqgpgme-devel
BuildRequires: pkgconfig
BuildRequires: solid-devel
BuildRequires: sqlite-devel
# It can only build on the same platforms as Qt Webengine
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
Obsoletes: kget5 < %{version}
Provides: kget5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
An advanced download manager for KDE
%prep
%setup -q
# %patch0 -p1
%patch1 -p1
%build
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%cmake_kde4 -d build
%cmake_kf5 -d build --
%make_jobs
%install
cd build
%kde4_makeinstall
cd ..
%suse_update_desktop_file -r kget System TrayIcon
%kde_post_install
%kf5_makeinstall -C build
%suse_update_desktop_file -r org.kde.kget System TrayIcon
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_kde4_bindir}/kget
%{_kde4_appsdir}/dolphinpart/
%{_kde4_servicetypesdir}/*.desktop
%{_kde4_servicesdir}/*.desktop
%{_kde4_servicesdir}/ServiceMenus/*.desktop
%{_datadir}/dbus-1/services/org.kde.kget.service
%{_kde4_configkcfgdir}/*.kcfg
%{_kde4_appsdir}/kwebkitpart/
%{_kde4_appsdir}/khtml/
%{_kde4_appsdir}/kget/
%{_kde4_iconsdir}/hicolor/*/apps/kget.*
%{_kde4_htmldir}/en/kget/
%{_kde4_modulesdir}/kcm_kget*.so
%{_kde4_modulesdir}/kget_*.so
%{_kde4_modulesdir}/krunner_*.so
%{_kde4_modulesdir}/plasma_*.so
%{_kde4_libdir}/libkgetcore.so*
%{_kde4_applicationsdir}/kget.desktop
%{_kde4_appsdir}/kconf_update/
%{_kf5_bindir}/kget
%{_kf5_sharedir}/dolphinpart/
%{_kf5_servicetypesdir}/
%{_kf5_servicesdir}/
%{_kf5_sharedir}/dbus-1/services/org.kde.kget.service
%{_kf5_configkcfgdir}/
%{_kf5_sharedir}/kwebkitpart/
%{_kf5_sharedir}/khtml/
%{_kf5_sharedir}/kget/
%{_kf5_sharedir}/kxmlgui5/
%{_kf5_notifydir}/
%{_kf5_iconsdir}/hicolor/*/apps/kget.*
%dir %{_kf5_htmldir}
%dir %{_kf5_htmldir}/en
%doc %{_kf5_htmldir}/en/kget/
%{_kf5_libdir}/libkgetcore.so*
%{_kf5_applicationsdir}/org.kde.kget.desktop
%{_kf5_sharedir}/kconf_update/
%{_kf5_plugindir}/
%changelog