# Generated by go2rpm 1.15.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/bep/imagemeta %global goipath github.com/bep/imagemeta Version: 0.8.3 %gometa -L -f %global common_description %{expand: Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files.} %global golicenses LICENSE %global godocs README.md Name: golang-github-bep-imagemeta Release: %autorelease Summary: Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build for cmd in gen; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %if %{without bootstrap} %files %license LICENSE %doc README.md %endif %gopkgfiles %changelog %autochangelog