diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:15:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 08:15:43 +0000 |
commit | 2738af96712d633f9fe96bc95c193620d71ebc85 (patch) | |
tree | 6bd52c27053976f05802bdd9619cda64e0652d00 | |
parent | 5a8a39432eb56ac4bd5d114f3dde8f0090ea3126 (diff) |
automatic import of ktp-send-fileopeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ktp-send-file.spec | 64 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 66 insertions, 0 deletions
@@ -0,0 +1 @@ +/ktp-send-file-23.04.3.tar.xz diff --git a/ktp-send-file.spec b/ktp-send-file.spec new file mode 100644 index 0000000..5c24422 --- /dev/null +++ b/ktp-send-file.spec @@ -0,0 +1,64 @@ +%undefine __cmake_in_source_build +Name: ktp-send-file +Summary: A File manager plugin to launch file transfer jobs +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 + +# 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: kf5-rpm-macros +BuildRequires: qt5-qtbase-devel + +BuildRequires: kf5-kcmutils-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kio-devel + +%global majmin_ver %(echo %{version} | cut -d. -f1,2) +BuildRequires: ktp-common-internals-devel >= %{majmin_ver} + +Obsoletes: telepathy-kde-send-file < 0.3.0 +Provides: telepathy-kde-send-file = %{version}-%{release} + +%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* +%{_bindir}/ktp-send-file +#{_kf5_datadir}/kservices5/ServiceMenus/ktp-send-file.desktop + + +%changelog +* Fri Jul 21 2023 lichaoran <pkwarcraft@hotmail.com> - 23.04.3-1 +- Init package @@ -0,0 +1 @@ +8b080bd3af92e13aa34d1f128084a396 ktp-send-file-23.04.3.tar.xz |