## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 forgeurl https://git.sr.ht/~sircmpwn/hare-png %global commit 5ae7bc7f6caa6f89dcfd8e3ebed717b50c35e085 %forgemeta Summary: PNG implementation for Hare Name: hare-png License: MPL-2.0 Version: 0.20240629 Release: %autorelease URL: %{forgeurl} Source: %{forgesource} BuildRequires: hare BuildRequires: make BuildArch: noarch # Cannot use %%{hare_arches} yet, pull request submitted: # https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/311 ExclusiveArch: x86_64 aarch64 riscv64 %description This package provides an implementation of the Portable Network Graphics (PNG) image format. %prep %forgesetup %generate_buildrequires %hare_buildrequires %build %make_build %install %make_install PREFIX=%{_prefix} %check %make_build check %files %doc README.md %license COPYING %{hare_srcdir} %changelog ## START: Generated by rpmautospec * Fri Dec 27 2024 John Doe - 0.20240629-1 - Uncommitted changes ## END: Generated by rpmautospec