From 571ce766cea743e68fee2dd68328f83b62bdbed9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 24 Apr 2025 14:39:46 +0200 Subject: [PATCH] package created using the webbuild interface [release 25.04.0-1mamba;Thu Apr 17 2025] --- README.md | 2 ++ qrca.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 qrca.spec diff --git a/README.md b/README.md index 54eaf9a..340c1ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qrca +Qrca is a simple application for Plasma Desktop and Plasma Mobile that lets you scan many barcode formats and create your own QR code images. + diff --git a/qrca.spec b/qrca.spec new file mode 100644 index 0000000..f4d9fff --- /dev/null +++ b/qrca.spec @@ -0,0 +1,74 @@ +Name: qrca +Version: 25.04.0 +Release: 1mamba +Summary: QR code scanner for Plasma Mobile +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://invent.kde.org/utilities/qrca +Source: https://download.kde.org/stable/release-service/%{version}/src/qrca-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt6Core +BuildRequires: libQt6DBus +BuildRequires: libQt6Gui +BuildRequires: libQt6Network +BuildRequires: libQt6OpenGL +BuildRequires: libQt6Widgets +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libglvnd-devel +BuildRequires: libkf6-kconfig-devel +BuildRequires: libkf6-kcontacts-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libkf6-kcrash-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-kio-devel +BuildRequires: libkf6-knotifications-devel +BuildRequires: libkf6-kservice-devel +BuildRequires: libkf6-networkmanager-qt-devel +BuildRequires: libkf6-prison-devel +BuildRequires: libnm-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt6-qtdeclarative-devel +BuildRequires: qt6-qtmultimedia-devel +BuildRequires: qt6-qtsvg-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: kf6-rpm-macros +BuildRequires: extra-cmake-modules + +%description +Qrca is a simple application for Plasma Desktop and Plasma Mobile that lets you scan many barcode formats and create your own QR code images. + +%prep +%setup -q + +%build +%cmake_kf6 + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/qrca +%{_datadir}/applications/org.kde.qrca.desktop +%{_datadir}/applications/org.kde.qrca.wifi.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.kde.qrca.svg +%{_metainfodir}/org.kde.qrca.appdata.xml +%doc LICENSES + +%changelog +* Thu Apr 17 2025 Silvan Calarco 25.04.0-1mamba +- package created using the webbuild interface