Blame golang-github-twpayne-geom.spec

7cffc43
# Generated by go2rpm 1.3
7cffc43
%bcond_without check
7cffc43
7cffc43
# https://github.com/twpayne/go-geom
7cffc43
%global goipath         github.com/twpayne/go-geom
7cffc43
Version:                1.3.6
7cffc43
7cffc43
%gometa
7cffc43
7cffc43
%global common_description %{expand:
7cffc43
Package Geom implements efficient geometry types for geospatial applications.}
7cffc43
7cffc43
%global golicenses      LICENSE
7cffc43
%global godocs          examples INTERNALS.md README.md
7cffc43
7cffc43
Name:           %{goname}
7cffc43
Release:        1%{?dist}
7cffc43
Summary:        Efficient geometry types for geospatial applications
7cffc43
7cffc43
# Upstream license specification: BSD-2-Clause
7cffc43
License:        BSD
7cffc43
URL:            %{gourl}
7cffc43
Source0:        %{gosource}
7cffc43
7cffc43
BuildRequires:  golang(github.com/lib/pq)
7cffc43
BuildRequires:  golang(github.com/twpayne/go-kml)
7cffc43
7cffc43
%if %{with check}
7cffc43
# Tests
7cffc43
BuildRequires:  golang(github.com/DATA-DOG/go-sqlmock)
7cffc43
BuildRequires:  golang(github.com/stretchr/testify/assert)
7cffc43
BuildRequires:  golang(github.com/stretchr/testify/require)
7cffc43
%endif
7cffc43
7cffc43
%description
7cffc43
%{common_description}
7cffc43
7cffc43
%gopkg
7cffc43
7cffc43
%prep
7cffc43
%goprep
7cffc43
7cffc43
%install
7cffc43
%gopkginstall
7cffc43
7cffc43
%if %{with check}
7cffc43
%check
7cffc43
%gocheck
7cffc43
%endif
7cffc43
7cffc43
%gopkgfiles
7cffc43
7cffc43
%changelog
7cffc43
* Thu Jan 28 23:28:58 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.6-1
7cffc43
- Initial package