Name: libqrencode Version: 4.1.1 Release: 1%{?dist} Summary: Library for encoding data in a QR Code symbol License: LGPL-2.1-or-later URL: https://fukuchi.org/works/qrencode/ Source0: https://github.com/fukuchi/libqrencode/archive/refs/tags/v%{version}.tar.gz#/libqrencode-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc %description libqrencode is a C library for encoding data in a QR Code symbol, a 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. Built as a plain CMake library, no CLI tools -- this exists to satisfy prison's hard REQUIRED dependency on QRencode for QR barcode generation, which isn't packaged anywhere on Azure Linux 4.0. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n libqrencode-%{version} %build %cmake -DBUILD_SHARED_LIBS=ON -DWITH_TOOLS=OFF -DWITH_TESTS=OFF %cmake_build %install %cmake_install %files %license COPYING %{_libdir}/libqrencode.so.* %{_mandir}/man1/qrencode.1* %files devel %{_includedir}/qrencode.h %{_libdir}/libqrencode.so %{_libdir}/pkgconfig/libqrencode.pc %changelog * Sat Aug 29 2026 Smech - 4.1.1-1 - Real upstream source (GitHub release tag), shared lib only, no CLI tools/tests