- fix KAccountsConfig to not make any assumptions about relative/full paths
- drop akonadi conditionals
epel9
Rex Dieter 9 years ago
parent 6e2499cb46
commit cb985a1ad9

@ -0,0 +1,9 @@
diff -up kaccounts-integration-16.04.3/src/lib/KAccountsConfig.cmake.in.path kaccounts-integration-16.04.3/src/lib/KAccountsConfig.cmake.in
--- kaccounts-integration-16.04.3/src/lib/KAccountsConfig.cmake.in.path 2016-07-02 11:13:43.000000000 -0500
+++ kaccounts-integration-16.04.3/src/lib/KAccountsConfig.cmake.in 2016-07-10 07:35:51.037019206 -0500
@@ -9,4 +9,4 @@ include("${CMAKE_CURRENT_LIST_DIR}/FindA
include("${CMAKE_CURRENT_LIST_DIR}/KAccountsTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/KAccountsMacros.cmake")
-set(KACCOUNTS_MACROS_PATH "@CMAKE_INSTALL_PREFIX@/@CMAKECONFIG_INSTALL_DIR@")
+set(KACCOUNTS_MACROS_PATH "@KDE_INSTALL_FULL_CMAKEPACKAGEDIR@/KAccounts")

@ -1,8 +1,7 @@
#global with_akonadi 1
Name: kaccounts-integration Name: kaccounts-integration
Version: 16.04.3 Version: 16.04.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Small system to administer web accounts across the KDE desktop Summary: Small system to administer web accounts across the KDE desktop
License: GPLv2+ License: GPLv2+
URL: https://quickgit.kde.org/?p=%{name}.git URL: https://quickgit.kde.org/?p=%{name}.git
@ -17,6 +16,10 @@ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%
## upstream fixes ## upstream fixes
## upstreamable fixes
# fix KAccountsConfig to not make any assumptions about relative/full paths
Patch100: kaccounts-integration-16.04.3-cmakeconfig_path.patch
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
BuildRequires: kf5-kcmutils-devel BuildRequires: kf5-kcmutils-devel
@ -29,9 +32,6 @@ BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kwallet-devel BuildRequires: kf5-kwallet-devel
BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kdbusaddons-devel
%if 0%{?with_akonadi}
BuildRequires: kf5-akonadi-devel
%endif
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Qml)
@ -40,8 +40,7 @@ BuildRequires: pkgconfig(accounts-qt5) >= 1.13
BuildRequires: pkgconfig(libaccounts-glib) >= 1.21 BuildRequires: pkgconfig(libaccounts-glib) >= 1.21
BuildRequires: pkgconfig(libsignon-qt5) >= 8.55 BuildRequires: pkgconfig(libsignon-qt5) >= 8.55
Requires: signon Requires: signon-plugin-oauth2%{?_isa}
Requires: signon-plugin-oauth2
Obsoletes: kaccounts < 15.03 Obsoletes: kaccounts < 15.03
Provides: kaccounts = %{version}-%{release} Provides: kaccounts = %{version}-%{release}
@ -88,12 +87,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_datadir}/kservices5/kcm_kaccounts.desktop %{_kf5_datadir}/kservices5/kcm_kaccounts.desktop
%{_kf5_qtplugindir}/kded_accounts.so %{_kf5_qtplugindir}/kded_accounts.so
%{_kf5_datadir}/kservices5/kded/accounts.desktop %{_kf5_datadir}/kservices5/kded/accounts.desktop
%{_kf5_libdir}/libkaccounts.so.1* %{_kf5_libdir}/libkaccounts.so.1
%{_kf5_libdir}/libkaccounts.so.%{version} %{_kf5_libdir}/libkaccounts.so.%{version}
%{_kf5_qmldir}/org/kde/kaccounts/ %{_kf5_qmldir}/org/kde/kaccounts/
%if 0%{?with_akonadi}
%{_kf5_qtplugindir}/kaccounts/daemonplugins/kaccounts_akonadi_plugin.so
%endif
%files devel %files devel
%{_kf5_libdir}/libkaccounts.so %{_kf5_libdir}/libkaccounts.so
@ -102,6 +98,10 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Sun Jul 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-2
- fix KAccountsConfig to not make any assumptions about relative/full paths
- drop akonadi conditionals
* Sat Jul 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1 * Sat Jul 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1
- 16.04.3 - 16.04.3

Loading…
Cancel
Save