## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global appname blurhash Name: %{appname}-cpp Version: 0.2.0 Release: %autorelease License: BSL-1.0 Summary: C++ blurhash encoder/decoder URL: https://github.com/Nheko-Reborn/%{appname} Source0: %{url}/archive/v%{version}/%{appname}-%{version}.tar.gz BuildRequires: cmake BuildRequires: doctest-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson %description Simple encoder and decoder for blurhashes. In large parts inspired by the reference implementation. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{summary}. %prep %autosetup -n %{appname}-%{version} -p1 rm -f stb_*.h %build %meson -Dtests=true -Dwerror=false %meson_build %install %meson_install %check %meson_test %files %doc README.md %license LICENSE %{_libdir}/lib%{appname}.so.0* %files devel %{_includedir}/%{appname}.hpp %{_libdir}/lib%{appname}.so %{_libdir}/pkgconfig/%{appname}.pc %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 23 2024 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild ## END: Generated by rpmautospec