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..616629a 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,55 +16,92 @@ # +%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 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 -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/Libraries +Recommends: %{name} + +%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/Libraries +Recommends: %{name} + +%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: %{lname} = %{version} +Requires: libKF5PurposeWidgets5 = %{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 +125,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} +%license COPYING* %{_kf5_libdir}/libKF5Purpose.so.* + +%files -n libKF5PurposeWidgets5 %{_kf5_libdir}/libKF5PurposeWidgets.so.* -%{_kf5_libdir}/libPhabricatorHelpers.so -%{_kf5_libdir}/libReviewboardHelpers.so + +%files +%{_kf5_libdir}/libPhabricatorHelpers.so.* +%{_kf5_libdir}/libReviewboardHelpers.so.* %{_kf5_libexecdir}/ %{_kf5_sharedir}/purpose/ %{_kf5_sharedir}/kpackage/ @@ -117,10 +159,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