# Generated by go2rpm
%ifnarch aarch64 ppc64le s390x
%bcond_without check
%endif
# https://github.com/disintegration/imaging
%global goipath github.com/disintegration/imaging
Version: 1.6.0
%gometa
%global common_description %{expand:
Package imaging provides basic image processing functions (resize, rotate, crop,
brightness/contrast adjustments, etc.).
All the image processing functions provided by the package accept any image type
that implements image.Image interface as an input, and return a new image of
*image.NRGBA type (32bit RGBA colors, non-premultiplied alpha).}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Release: 3%{?dist}
Summary: Simple image processing package for Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(golang.org/x/image/bmp)
BuildRequires: golang(golang.org/x/image/tiff)
%description
%{common_description}
%gopkg
%prep
%goprep
sed -i 's|\r||g' README.md
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 27 18:11:40 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.6.0-2
- Update to new macros
* Tue Feb 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.6.0-1
- Update to latest version
- Enable tests
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2.git0bd5694
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Nov 4 2018 mosquito <sensor.wen@gmail.com> - 1.5.0-1
- Update to 1.5.0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3.gita585802
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2.gita585802
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Aug 8 2017 mosquito <sensor.wen@gmail.com> - 1.2.1-1
- Initial package build