diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:14:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:14:45 +0000 |
commit | b9373d834f6a99a48c04f2ce6e2efeb79be465a1 (patch) | |
tree | 0f02c5ce5aa8b8a640e858372a1427198a255f54 | |
parent | 1833093bb0d22bd00c660efbea911c5fb5d2ab65 (diff) |
automatic import of ktp-approveropeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ktp-approver.spec | 69 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 71 insertions, 0 deletions
@@ -0,0 +1 @@ +/ktp-approver-23.04.3.tar.xz diff --git a/ktp-approver.spec b/ktp-approver.spec new file mode 100644 index 0000000..242bac3 --- /dev/null +++ b/ktp-approver.spec @@ -0,0 +1,69 @@ +Name: ktp-approver +Summary: KDE Channel Approver for Telepathy +Version: 23.04.3 +Release: 1 + +License: LGPLv2+ +URL: https://invent.kde.org/network/%{name} + +%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 + +BuildRequires: extra-cmake-modules +BuildRequires: gettext +BuildRequires: kf5-rpm-macros +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-kconfig-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-knotifications-devel +BuildRequires: kf5-kservice-devel + +BuildRequires: qt5-qtbase-devel +BuildRequires: telepathy-qt5-devel + +Obsoletes: telepathy-kde-approver < 0.3.0 +Provides: telepathy-kde-approver = %{version}-%{release} + +BuildRequires: /usr/bin/dbus-send +Requires: /usr/bin/dbus-send + +# translations moved here +Conflicts: kde-l10n < 17.03 + +%description +%{summary}. + + +%prep +%autosetup -p1 + + +%build +%cmake_kf5 + +%cmake_build + + +%install +%cmake_install + +%find_lang %{name} --all-name --with-html + + +%files -f %{name}.lang +%license COPYING* +%{_kf5_datadir}/kservicetypes5/ktp-approver.desktop +%{_kf5_datadir}/kservices5/kded/ktp_approver.desktop +%{_kf5_qtplugindir}/kded_ktp_approver.so +%{_sysconfdir}/xdg/ktp_approverrc +%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.KTp.Approver.service + + +%changelog +* Fri Jul 21 2023 lichaoran <pkwarcraft@hotmail.com> - 23.04.3-1 +- Init package @@ -0,0 +1 @@ +39d88b38f35a8d7c10cfb14778297b39 ktp-approver-23.04.3.tar.xz |