[packages/kp6-kde-cli-tools] - updated to 6.0.0
witekfl
witekfl at pld-linux.org
Sun Mar 3 21:09:04 CET 2024
commit 6c917828e2b9f2d41760fd1e819240341b949440
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Mar 3 20:56:16 2024 +0100
- updated to 6.0.0
kp6-kde-cli-tools.spec | 108 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
---
diff --git a/kp6-kde-cli-tools.spec b/kp6-kde-cli-tools.spec
new file mode 100644
index 0000000..101902a
--- /dev/null
+++ b/kp6-kde-cli-tools.spec
@@ -0,0 +1,108 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 6.0.0
+%define qtver 5.15.2
+%define kpname kde-cli-tools
+Summary: Tools based on KDE Frameworks 5 to better interact with the system
+Name: kp6-%{kpname}
+Version: 6.0.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 91f1b7dbde5fcd508f3eab9cdf5f0681
+URL: https://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: cmake >= 3.16.0
+BuildRequires: kf6-extra-cmake-modules >= 1.4.0
+BuildRequires: kf6-kcmutils-devel
+BuildRequires: kf6-kconfig-devel
+BuildRequires: kf6-kdesu-devel
+BuildRequires: kf6-ki18n-devel
+BuildRequires: kf6-kiconthemes-devel
+BuildRequires: kf6-kitemmodels-devel
+BuildRequires: kf6-kpty-devel
+BuildRequires: kf6-kwindowsystem-devel
+BuildRequires: kp6-plasma-workspace-devel >= %{version}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tools based on KDE Frameworks 5 to better interact with the system.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,sr at latin}
+
+%find_lang kde-cli-tools --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f kde-cli-tools.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kde-open5
+%attr(755,root,root) %{_bindir}/kdecp5
+%attr(755,root,root) %{_bindir}/kdemv5
+%attr(755,root,root) %{_bindir}/keditfiletype5
+%attr(755,root,root) %{_bindir}/kinfo
+%attr(755,root,root) %{_bindir}/kioclient5
+%attr(755,root,root) %{_bindir}/kmimetypefinder5
+%attr(755,root,root) %{_bindir}/kstart5
+%attr(755,root,root) %{_bindir}/ksvgtopng5
+%attr(755,root,root) %{_bindir}/kbroadcastnotification
+%attr(755,root,root) %{_bindir}/kde-open
+%attr(755,root,root) %{_bindir}/kdecp
+%attr(755,root,root) %{_bindir}/kdemv
+%attr(755,root,root) %{_bindir}/keditfiletype
+%attr(755,root,root) %{_bindir}/kioclient
+%attr(755,root,root) %{_bindir}/kmimetypefinder
+%attr(755,root,root) %{_bindir}/kstart
+%attr(755,root,root) %{_bindir}/ksvgtopng
+%attr(755,root,root) %{_libexecdir}/kf6/kdeeject
+%attr(755,root,root) %{_libexecdir}/kf6/kdesu
+%attr(755,root,root) %{_bindir}/plasma-open-settings
+%{_desktopdir}/org.kde.plasma.settings.open.desktop
+%{_mandir}/man1/kdesu.1*
+%lang(ca) %{_mandir}/ca/man1/kdesu.1*
+%lang(de) %{_mandir}/de/man1/kdesu.1*
+%lang(es) %{_mandir}/es/man1/kdesu.1*
+%lang(et) %{_mandir}/et/man1/kdesu.1*
+%lang(id) %{_mandir}/id/man1/kdesu.1*
+%lang(it) %{_mandir}/it/man1/kdesu.1*
+%lang(nb) %{_mandir}/nb/man1/kdesu.1*
+%lang(nl) %{_mandir}/nl/man1/kdesu.1*
+%lang(pt) %{_mandir}/pt/man1/kdesu.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kdesu.1*
+%lang(ru) %{_mandir}/ru/man1/kdesu.1*
+%lang(sr) %{_mandir}/sr/man1/kdesu.1*
+%lang(sv) %{_mandir}/sv/man1/kdesu.1*
+%lang(uk) %{_mandir}/uk/man1/kdesu.1*
+%{_desktopdir}/org.kde.keditfiletype.desktop
+%attr(755,root,root) %{_bindir}/kde-inhibit
+%lang(fr) %{_mandir}/fr/man1/kdesu.1*
+%lang(tr) %{_mandir}/tr/man1/kdesu.1*
+%{_libdir}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_filetypes.so
+%{_desktopdir}/kcm_filetypes.desktop
+%{zsh_compdir}/_kde-inhibit
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp6-kde-cli-tools.git/commitdiff/6c917828e2b9f2d41760fd1e819240341b949440
More information about the pld-cvs-commit
mailing list