Blob Blame Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/mikioh/ipaddr
%global goipath         github.com/mikioh/ipaddr
%global commit          d465c8ab672111787b24b8f03326449059a4aa33

%gometa

%global common_description %{expand:
Package ipaddr provides basic functions for the manipulation of IP address
prefixes and subsequent addresses as described in RFC 4632 and RFC 4291.}

Name:           %{goname}
Version:        0
Release:        0.1%{?dist}
Summary:        Basic functions for the manipulation of IP address prefixes

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

%description
%{common_description}

%package devel
Summary:       %{summary}
BuildArch:     noarch

%description devel
%{common_description}

This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.

%prep
%forgeautosetup -p1

%install
%goinstall

%if %{with check}
%check
%gochecks
%endif

%files devel -f devel.file-list
%license LICENSE
%doc README.md

%changelog
* Sat Jul 20 23:17:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190720gitd465c8a
- Initial package