diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:13:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:13:58 +0000 |
commit | 5de33ce41e89daec362e49d4d2a973b0ada3b9a1 (patch) | |
tree | 20de9afe2cca37afe9a4495a0de3864f5b1240bf | |
parent | 97872f1f5715827fa23aa086ec1b5e9666f67531 (diff) |
automatic import of ktp-accounts-kcmopeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ktp-accounts-kcm.spec | 116 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 118 insertions, 0 deletions
@@ -0,0 +1 @@ +/ktp-accounts-kcm-23.04.3.tar.xz diff --git a/ktp-accounts-kcm.spec b/ktp-accounts-kcm.spec new file mode 100644 index 0000000..a5febef --- /dev/null +++ b/ktp-accounts-kcm.spec @@ -0,0 +1,116 @@ +%undefine __cmake_in_source_build +Name: ktp-accounts-kcm +Summary: KDE Configuration Module for Telepathy Instant Messaging Accounts +Version: 23.04.3 +Release: 1 + +License: LGPLv2+ +URL: https://invent.kde.org/network/%{name} + +%global majmin_ver %(echo %{version} | cut -d. -f1,2) +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz + +# due to kaccounts-providers +# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches +%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} + +BuildRequires: extra-cmake-modules +BuildRequires: intltool +BuildRequires: kf5-kcmutils-devel +BuildRequires: kf5-kcodecs-devel +BuildRequires: kf5-kconfigwidgets-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kitemviews-devel +BuildRequires: kf5-kwidgetsaddons-devel +BuildRequires: kf5-rpm-macros +BuildRequires: libaccounts-glib-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: telepathy-qt5-devel + +BuildRequires: kaccounts-integration-devel >= %{majmin_ver} +BuildRequires: ktp-common-internals-devel >= %{majmin_ver} + +Obsoletes: telepathy-kde-accounts-kcm < 0.3.0 +Provides: telepathy-kde-accounts-kcm = %{version}-%{release} + +Obsoletes: telepathy-kde-accounts-kcm-plugins < 0.2.0 +Provides: telepathy-kde-accounts-kcm-plugins = %{version}-%{release} + +Obsoletes: telepathy-kde-accounts-kcm-devel < 0.2.0 + +# Headers are not installed since in 15.04.0-1 +Obsoletes: %{name}-devel < 15.04.0-1 + +# see patch1 +Requires: kaccounts-integration%{?_isa} >= %{majmin_ver} +# can't find a a better place to put this -- rex +Requires: signon-kwallet-extension >= %{majmin_ver} + +# various protocol handlers +## msn (old) +#Requires: telepathy-butterfly +## xmpp/jabber +Requires: telepathy-gabble +## irc +#Requires: telepathy-idle +## audio calls +## FIXME, got orphaned/retired recently f33+ -- Rex +%if 0%{?fedora} < 33 +Requires: telepathy-rakia >= 0.7.4 +%endif +## local xmpp +Requires: telepathy-salut +## gadu/gadu +#Requires: telepathy-sunshine + +%description +This is a KControl Module which handles adding/editing/removing Telepathy +Accounts. It interacts with any Telepathy Spec compliant AccountManager +to manipulate the accounts. + + +%prep +%autosetup -p1 + + +%build +%{cmake_kf5} +%cmake_build + + +%install +%cmake_install + +%find_lang %{name} --all-name --with-html + +## unpackaged files +rm -fv %{buildroot}%{_kf5_libdir}/libktpaccountskcminternal.so + + +%ldconfig_scriptlets + +%files -f %{name}.lang +%license COPYING* +%doc README +%{_kf5_libdir}/libktpaccountskcminternal.so.* +%{_kf5_datadir}/kservicetypes5/ktpaccountskcminternal-accountuiplugin.desktop +%{_datadir}/telepathy/profiles/*.profile +%{_datadir}/accounts/services/kde/ +%{_datadir}/accounts/providers/kde/ +%{_kf5_qtplugindir}/*.so +%{_kf5_qtplugindir}/kaccounts/ui/ktpaccountskcm_plugin_kaccounts.so +%{_kf5_datadir}/kservices5/*.desktop + + +%changelog +* Fri Jul 21 2023 lichaoran <pkwarcraft@hotmail.com> - 23.04.3-1 +- Init package @@ -0,0 +1 @@ +6128e2191d3fbf3ff50cd5cb81aa2ae9 ktp-accounts-kcm-23.04.3.tar.xz |