## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 # Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/bep/gowebp %global goipath github.com/bep/gowebp Version: 0.1.0 %gometa %global common_description %{expand: C bindings and an API for encoding Webp images.} %global golicenses LICENSE libwebp_src/COPYING libwebp_src/PATENTS %global godocs README.md examples doc libwebp_src/AUTHORS\\\ libwebp_src/ChangeLog libwebp_src/README.webp_js\\\ libwebp_src/README libwebp_src/README.mux\\\ libwebp_src/swig/README %global gosupfiles libwebp_src/src/* libwebp_src/src/*/* Name: %{goname} Release: %autorelease Summary: C bindings and an API for encoding Webp images # Upstream license specification: BSD-3-Clause and MIT License: BSD and MIT URL: %{gourl} Source0: %{gosource} BuildRequires: libwebp-devel %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck -d github.com/bep/gowebp/libwebp_src/swig %endif %gopkgfiles %changelog * Thu Jul 21 2022 Maxwell G 0.1.0-5 - Remove unnecessary BR on swig * Thu Jul 21 2022 Fedora Release Engineering 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin 0.1.0-3 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Apr 28 2022 W. Michael Petullo 0.1.0-2 - Install libwebp_src, which is required to fully use Go source * Mon Apr 18 2022 W. Michael Petullo 0.1.0-1 - Initial import (fedora#2031239).