Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > ced83f273fdd5ca103477dd3a7a6c2cd > files > 2

golang-github-rwcarlsen-goexif-0-0.2.mga9.src.rpm

# Generated by go2rpm 1
%bcond_without check

# https://github.com/rwcarlsen/goexif
%global goipath         github.com/rwcarlsen/goexif
%global commit          9e8deecbddbd4989a3e8d003684b783412b41e7a

%gometa

%global common_description %{expand:
Decode embedded EXIF meta data from image files.}

%global golicenses      LICENSE
%global godocs          README.md exif/README.md

Name:           %{goname}
Version:        0
Release:        %mkrel 0.2
Summary:        Decode embedded EXIF meta data from image files
Group:          Development/Other

# Upstream license specification: BSD-2-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%build
for cmd in exifstat exif; do
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done

%install
%gopkginstall
install -m 0755 -vd                     %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/

%if %{with check}
%check
%gocheck
%endif

%files
%license LICENSE
%doc README.md exif/README.md
%{_bindir}/*

%gopkgfiles



%changelog
* Tue Mar 15 2022 umeabot <umeabot> 0-0.2.mga9
+ Revision: 1794057
- Mageia 9 Mass Rebuild

* Sat Sep 05 2020 pterjan <pterjan> 0-0.1.mga8
+ Revision: 1622666
- imported package golang-github-rwcarlsen-goexif


* Sat Sep 05 14:48:04 UTC 2020 Pascal Terjan <pterjan@mageia.org> - 0-0.1.20200905git9e8deec
- Initial package