From 446ea96d06ab805afb6e5449db114e67d025c326 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:29:18 +0100 Subject: [PATCH] package created using the webbuild interface [release 23.08.0-1mamba;Sun Aug 27 2023] --- README.md | 2 ++ kalk.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 kalk.spec diff --git a/README.md b/README.md index 97cb5b7..b5dcc6c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kalk +A convergent calculator application built with the Kirigami framework. + diff --git a/kalk.spec b/kalk.spec new file mode 100644 index 0000000..eab3fb7 --- /dev/null +++ b/kalk.spec @@ -0,0 +1,63 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kalk +Version: 23.08.0 +Release: 1mamba +Summary: A convergent calculator application built with the Kirigami framework +Group: Graphical Desktop/Applications/Scientific +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/kalk-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libgmp-devel +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkunitconversion-devel +BuildRequires: libmpfr-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +BuildRequires: qt5-qtquickcontrols2-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules + +%description +A convergent calculator application built with the Kirigami framework. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/kalk +%{_datadir}/applications/org.kde.kalk.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.kde.kalk.svg +%{_datadir}/metainfo/org.kde.kalk.appdata.xml +%doc LICENSES + +%changelog +* Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba +- package created using the webbuild interface