[packages/ka5-qmlkonsole] - 23.08.1
witekfl
witekfl at pld-linux.org
Mon Sep 18 14:50:40 CEST 2023
commit 84a6b520b17987e13f8a80a931729aec6549f7ae
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Sep 18 14:01:53 2023 +0200
- 23.08.1
ka5-qmlkonsole.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
---
diff --git a/ka5-qmlkonsole.spec b/ka5-qmlkonsole.spec
new file mode 100644
index 0000000..20d8afe
--- /dev/null
+++ b/ka5-qmlkonsole.spec
@@ -0,0 +1,83 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 23.08.1
+%define qtver 5.15.2
+%define kf5ver 5.71.0
+%define kaname qmlkonsole
+Summary: A terminal application built for touch
+Name: ka5-%{kaname}
+Version: 23.08.1
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 997d59766455eaa3e9b675121ace3a79
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel
+BuildRequires: Qt5Gui-devel >= 5.15.2
+BuildRequires: Qt5Network-devel >= 5.15.10
+BuildRequires: Qt5Qml-devel >= 5.15.10
+BuildRequires: Qt5Quick-controls2-devel
+BuildRequires: Qt5Quick-devel
+BuildRequires: Qt5Svg-devel
+BuildRequires: Qt5Test-devel
+BuildRequires: Qt5Widgets-devel >= 5.15.2
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel
+BuildRequires: gettext-devel
+BuildRequires: kf5-extra-cmake-modules >= 5.101.0
+BuildRequires: kf5-kconfig-devel >= 5.101.0
+BuildRequires: kf5-kcoreaddons-devel >= 5.101.0
+BuildRequires: kf5-ki18n-devel >= 5.101.0
+BuildRequires: kf5-kirigami2-devel >= 5.101.0
+BuildRequires: kf5-kwindowsystem-devel >= 5.101.0
+BuildRequires: kirigami-addons-devel >= 0.6
+BuildRequires: ninja
+BuildRequires: pkgconfig
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: qmltermwidget
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A terminal application built for touch, based on
+[qmltermwidget](https://github.com/Swordfish90/qmltermwidget).
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/qmlkonsole
+%{_desktopdir}/org.kde.qmlkonsole.desktop
+%{_datadir}/config.kcfg/terminalsettings.kcfg
+%{_iconsdir}/hicolor/scalable/apps/org.kde.qmlkonsole.svg
+%{_datadir}/metainfo/org.kde.qmlkonsole.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-qmlkonsole.git/commitdiff/84a6b520b17987e13f8a80a931729aec6549f7ae
More information about the pld-cvs-commit
mailing list