121 lines
3.4 KiB
RPMSpec
121 lines
3.4 KiB
RPMSpec
%global framework purpose
|
|
|
|
Name: kf5-purpose
|
|
Summary: Framework for providing abstractions to get the developer's purposes fulfilled
|
|
Version: 5.113.0
|
|
Release: 1
|
|
License: GPLv2 or GPLv3
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
|
|
%global majmin %majmin_ver_kf5
|
|
%global stable %stable_kf5
|
|
|
|
Source0: https://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
Obsoletes: kf5-purpose-twitter < 5.68.0
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
|
|
BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
BuildRequires: kf5-kio-devel >= %{majmin}
|
|
BuildRequires: kf5-kirigami2-devel >= %{majmin}
|
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
|
BuildRequires: cmake(KF5KIO)
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: kaccounts-integration-devel
|
|
# runtime dep
|
|
BuildRequires: kde-connect
|
|
BuildRequires: pkgconfig(accounts-qt5)
|
|
BuildRequires: pkgconfig(libaccounts-glib)
|
|
|
|
%description
|
|
Purpose 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 devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: cmake(KF5CoreAddons)
|
|
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%cmake_kf5
|
|
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%find_lang %{name} --all-name
|
|
|
|
# conflicting icons with older kamoso
|
|
rm -fv %{buildroot}%{_datadir}/icons/hicolor/*/actions/kipiplugin_youtube.png
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files -f %{name}.lang
|
|
%doc README.md
|
|
%license LICENSES/*.txt
|
|
%{_kf5_datadir}/qlogging-categories5/%{framework}.*
|
|
%{_kf5_libdir}/libKF5Purpose.so.5*
|
|
%{_kf5_libdir}/libKF5PurposeWidgets.so.5*
|
|
%{_kf5_libdir}/libPhabricatorHelpers.so.5*
|
|
%{_kf5_libdir}/libReviewboardHelpers.so.5*
|
|
%{_kf5_libexecdir}/purposeprocess
|
|
%{_kf5_datadir}/purpose/
|
|
%{_kf5_plugindir}/purpose/
|
|
%dir %{_kf5_plugindir}/kfileitemaction/
|
|
%{_kf5_plugindir}/kfileitemaction/sharefileitemaction.so
|
|
%{_kf5_qmldir}/org/kde/purpose/
|
|
# Ok we can't access this but we need to package this
|
|
%{_kf5_datadir}/accounts/services/kde/google-youtube.service
|
|
# Another one need to be packaged
|
|
%{_kf5_datadir}/accounts/services/kde/nextcloud-upload.service
|
|
%{_datadir}/icons/hicolor/*/apps/*-purpose.*
|
|
#{_datadir}/icons/hicolor/*/actions/google-youtube.*
|
|
|
|
%files devel
|
|
%{_kf5_libdir}/libKF5Purpose.so
|
|
%{_kf5_libdir}/libKF5PurposeWidgets.so
|
|
%{_kf5_includedir}/purpose/
|
|
%{_kf5_includedir}/purposewidgets/
|
|
%{_kf5_libdir}/cmake/KDEExperimentalPurpose/
|
|
%{_kf5_libdir}/cmake/KF5Purpose/
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 08 2024 wangqia <wangqia@uniontech.com> - 5.113.0-1
|
|
- Update to upstream version 5.113.0
|
|
|
|
* Thu Aug 03 2023 zhangkea <zhangkea@uniontech.cn> - 5.108.0-1
|
|
- Update version to 5.108.0
|
|
|
|
* Wed Mar 15 2023 tanyulong <tanyulong@kylinos.cn> - 5.100.0-1
|
|
- Update package to version 5.100.0
|
|
|
|
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 5.97.0-1
|
|
- Init package
|