Blob Blame History Raw
%bcond_without check

%global goipath         github.com/mmcloughlin/geohash
Version:                0.9.0

%gometa

%global common_description %{expand:
Go geohash library offering encoding and decoding for string and integer
geohashes.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Golang geohash library
License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Wed Aug 28 2019 Carl George <carl@george.computer> - 0.9.0-1
- Initial package rhbz#1746215