From 924200b7aff0a209ae79396ddfedcf689b68b2078aa53475f642ab44032d05d2 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Wed, 14 Feb 2018 04:36:05 +0000 Subject: [PATCH 1/4] KDE Frameworks 5.43 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/purpose?expand=0&rev=12 --- baselibs.conf | 5 ++- purpose-1.2.1.tar.xz | 3 -- purpose-5.43.0.tar.xz | 3 ++ purpose.changes | 11 +++++ purpose.spec | 102 +++++++++++++++++++++++++++++------------- 5 files changed, 90 insertions(+), 34 deletions(-) delete mode 100644 purpose-1.2.1.tar.xz create mode 100644 purpose-5.43.0.tar.xz diff --git a/baselibs.conf b/baselibs.conf index 991380f..db59440 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,6 @@ purpose +libKF5Purpose5 +libKF5PurposeWidgets5 purpose-devel - requires "purpose- = " \ No newline at end of file + requires "libKF5Purpose5- = " + requires "libKF5PurposeWidgets5- = " diff --git a/purpose-1.2.1.tar.xz b/purpose-1.2.1.tar.xz deleted file mode 100644 index 81df717..0000000 --- a/purpose-1.2.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62c4120074d5663abe133134cd2854b39642846621b69690a2f8390e1a5ca31b -size 114408 diff --git a/purpose-5.43.0.tar.xz b/purpose-5.43.0.tar.xz new file mode 100644 index 0000000..f68923c --- /dev/null +++ b/purpose-5.43.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a79c3e488babe71f2e781329aecc7f7d87204400de9b40b1c259093e9c4967ee +size 117084 diff --git a/purpose.changes b/purpose.changes index b0a7182..7332de9 100644 --- a/purpose.changes +++ b/purpose.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 12 23:46:16 CET 2018 - lbeltrame@kde.org + +- Update to 5.43.0 + * New feature release + * Now part of KDE Frameworks 5 + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.43.0.php +- Changes since 1.2.1: + * Too many changes to list here + ------------------------------------------------------------------- Fri Oct 27 13:21:28 UTC 2017 - wbauer@tmo.at diff --git a/purpose.spec b/purpose.spec index 05058b0..c494c09 100644 --- a/purpose.spec +++ b/purpose.spec @@ -1,7 +1,7 @@ # # spec file for package purpose # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,23 +16,35 @@ # +%define lname libKF5Purpose5 +%define _tar_path 5.43 +# Full KF5 version (e.g. 5.33.0) +%{!?_kf5_version: %global _kf5_version %{version}} +# Last major and minor KF5 version (e.g. 5.33) +%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: purpose -Version: 1.2.1 +Version: 5.43.0 Release: 0 -%define kf5_version 5.7.0 +Summary: Framework to integrate services and actions in applications +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source: %{name}-%{version}.tar.xz +Source1: baselibs.conf BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 1.7.0 BuildRequires: intltool BuildRequires: kaccounts-integration-devel -BuildRequires: kconfig-devel >= %{kf5_version} -BuildRequires: kcoreaddons-devel >= %{kf5_version} +BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} +BuildRequires: kcoreaddons-devel >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem -BuildRequires: ki18n-devel >= %{kf5_version} -BuildRequires: kio-devel >= %{kf5_version} +BuildRequires: ki18n-devel >= %{_kf5_bugfix_version} +BuildRequires: kio-devel >= %{_kf5_bugfix_version} BuildRequires: libaccounts-glib-devel BuildRequires: libaccounts-qt5-devel BuildRequires: libsignon-qt5-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 @@ -42,29 +54,53 @@ BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 %if %{with lang} Recommends: %{name}-lang %endif -Summary: Provides abstractions to get the developer's purposes fulfilled -License: LGPL-2.1+ -Group: System/GUI/KDE -Url: http://www.kde.org -Source: http://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz -Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Framework for providing abstractions to get the developer's purposes fulfilled. +This framework offers the possibility to create integrate services and actions +on any application without having to implement them specifically. Purpose will +offer them mechanisms to list the different alternatives to execute given the +requested action type and will facilitate components so that all the plugins +can receive all the information they need. + +%package -n %{lname} +Summary: Framework to integrate services and actions - core library +Group: System/GUI/KDE + +%description -n %{lname} +This framework offers the possibility to create integrate services and actions +on any application without having to implement them specifically. Purpose will +offer them mechanisms to list the different alternatives to execute given the +requested action type and will facilitate components so that all the plugins +can receive all the information they need. + +This package contains the core library files of the package. + +%package -n libKF5PurposeWidgets5 +Summary: Framework to integrate services and actions - GUI library +Group: System/GUI/KDE +Requires: %{lname} >= %{version} + +%description -n libKF5PurposeWidgets5 +This framework offers the possibility to create integrate services and actions +on any application without having to implement them specifically. Purpose will +offer them mechanisms to list the different alternatives to execute given the +requested action type and will facilitate components so that all the plugins +can receive all the information they need. + +This package contains the library files of the package needed to use GUI widgets. %package devel -Summary: Provides abstractions to get the developer's purposes fulfilled: Build Environment +Summary: Framework to integrate services and actions - Build Environment Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules -Requires: kcoreaddons-devel >= %{kf5_version} +Requires: kcoreaddons-devel >= %{_kf5_bugfix_version} %description devel -Framework for providing abstractions to get the developer's purposes fulfilled. -Development files. +This package contains development files needed to build applications which rely on the purpose framework. %lang_package + %prep %setup -q @@ -88,24 +124,29 @@ Development files. %find_lang purpose_youtube %{name}.lang %endif -%post -/sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%postun -/sbin/ldconfig +%post -n libKF5PurposeWidgets5 -p /sbin/ldconfig +%postun -n libKF5PurposeWidgets5 -p /sbin/ldconfig + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}.lang -%defattr(-,root,root) %endif -%files -%defattr(-,root,root) -%doc COPYING* +%files -n %{lname} %{_kf5_libdir}/libKF5Purpose.so.* + +%files -n libKF5PurposeWidgets5 %{_kf5_libdir}/libKF5PurposeWidgets.so.* -%{_kf5_libdir}/libPhabricatorHelpers.so -%{_kf5_libdir}/libReviewboardHelpers.so + +%files +%doc COPYING* +%{_kf5_libdir}/libPhabricatorHelpers.so.* +%{_kf5_libdir}/libReviewboardHelpers.so.* %{_kf5_libexecdir}/ %{_kf5_sharedir}/purpose/ %{_kf5_sharedir}/kpackage/ @@ -117,10 +158,11 @@ Development files. %{_kf5_sharedir}/accounts/ %files devel -%defattr(-,root,root) %{_kf5_libdir}/libKF5Purpose.so %{_kf5_libdir}/libKF5PurposeWidgets.so %{_kf5_libdir}/cmake/KDEExperimentalPurpose/ %{_kf5_includedir}/ +%dir %{_kf5_cmakedir}/KF5Purpose +%{_kf5_cmakedir}/KF5Purpose/*.cmake %changelog From a30d94740dd0241893249b70572ac6d59b47d8df74f85a455c3a243d11592a5e Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 14 Feb 2018 08:23:08 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/purpose?expand=0&rev=13 --- purpose.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/purpose.spec b/purpose.spec index c494c09..4ed8a5c 100644 --- a/purpose.spec +++ b/purpose.spec @@ -64,7 +64,7 @@ can receive all the information they need. %package -n %{lname} Summary: Framework to integrate services and actions - core library -Group: System/GUI/KDE +Group: System/Libraries %description -n %{lname} This framework offers the possibility to create integrate services and actions @@ -77,8 +77,7 @@ This package contains the core library files of the package. %package -n libKF5PurposeWidgets5 Summary: Framework to integrate services and actions - GUI library -Group: System/GUI/KDE -Requires: %{lname} >= %{version} +Group: System/Libraries %description -n libKF5PurposeWidgets5 This framework offers the possibility to create integrate services and actions From f1a17378e50a1e184e08bf62417965ce393cc44f70d03f1979a1ec2372060e65 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 14 Feb 2018 08:28:19 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/purpose?expand=0&rev=14 --- purpose.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/purpose.spec b/purpose.spec index 4ed8a5c..76639f1 100644 --- a/purpose.spec +++ b/purpose.spec @@ -51,9 +51,7 @@ BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 -%if %{with lang} Recommends: %{name}-lang -%endif %description This framework offers the possibility to create integrate services and actions @@ -65,6 +63,7 @@ can receive all the information they need. %package -n %{lname} Summary: Framework to integrate services and actions - core library Group: System/Libraries +Recommends: %{name} %description -n %{lname} This framework offers the possibility to create integrate services and actions @@ -78,6 +77,7 @@ This package contains the core library files of the package. %package -n libKF5PurposeWidgets5 Summary: Framework to integrate services and actions - GUI library Group: System/Libraries +Recommends: %{name} %description -n libKF5PurposeWidgets5 This framework offers the possibility to create integrate services and actions @@ -137,13 +137,13 @@ This package contains development files needed to build applications which rely %endif %files -n %{lname} +%license COPYING* %{_kf5_libdir}/libKF5Purpose.so.* %files -n libKF5PurposeWidgets5 %{_kf5_libdir}/libKF5PurposeWidgets.so.* %files -%doc COPYING* %{_kf5_libdir}/libPhabricatorHelpers.so.* %{_kf5_libdir}/libReviewboardHelpers.so.* %{_kf5_libexecdir}/ From 3247ac1455b16f82c0519cd28c45e8fe37143c0fd3d161c52147b782d65ed491 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 14 Feb 2018 11:31:47 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/purpose?expand=0&rev=15 --- purpose.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/purpose.spec b/purpose.spec index 76639f1..616629a 100644 --- a/purpose.spec +++ b/purpose.spec @@ -92,6 +92,8 @@ This package contains the library files of the package needed to use GUI widgets Summary: Framework to integrate services and actions - Build Environment Group: Development/Libraries/KDE Requires: %{name} = %{version} +Requires: %{lname} = %{version} +Requires: libKF5PurposeWidgets5 = %{version} Requires: extra-cmake-modules Requires: kcoreaddons-devel >= %{_kf5_bugfix_version}