]> git.pld-linux.org Git - packages/kp6-kde-cli-tools.git/commitdiff
- updated to 6.0.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 3 Mar 2024 19:56:16 +0000 (20:56 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 3 Mar 2024 19:56:16 +0000 (20:56 +0100)
kp6-kde-cli-tools.spec [new file with mode: 0644]

diff --git a/kp6-kde-cli-tools.spec b/kp6-kde-cli-tools.spec
new file mode 100644 (file)
index 0000000..101902a
--- /dev/null
@@ -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@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
This page took 0.095576 seconds and 4 git commands to generate.