611e34a
# Generated by go2rpm 1
611e34a
%bcond_without check
611e34a
611e34a
# https://github.com/mikioh/ipaddr
611e34a
%global goipath         github.com/mikioh/ipaddr
611e34a
%global commit          d465c8ab672111787b24b8f03326449059a4aa33
611e34a
611e34a
%gometa
611e34a
611e34a
%global common_description %{expand:
611e34a
Package ipaddr provides basic functions for the manipulation of IP address
611e34a
prefixes and subsequent addresses as described in RFC 4632 and RFC 4291.}
611e34a
611e34a
Name:           %{goname}
611e34a
Version:        0
611e34a
Release:        0.1%{?dist}
611e34a
Summary:        Basic functions for the manipulation of IP address prefixes
611e34a
611e34a
# Upstream license specification: BSD-2-Clause
611e34a
License:        BSD
611e34a
URL:            %{gourl}
611e34a
Source0:        %{gosource}
611e34a
611e34a
%description
611e34a
%{common_description}
611e34a
611e34a
%package devel
611e34a
Summary:       %{summary}
611e34a
BuildArch:     noarch
611e34a
611e34a
%description devel
611e34a
%{common_description}
611e34a
611e34a
This package contains library source intended for
611e34a
building other packages which use import path with
611e34a
%{goipath} prefix.
611e34a
611e34a
%prep
611e34a
%forgeautosetup -p1
611e34a
611e34a
%install
611e34a
%goinstall
611e34a
611e34a
%if %{with check}
611e34a
%check
611e34a
%gochecks
611e34a
%endif
611e34a
611e34a
%files devel -f devel.file-list
611e34a
%license LICENSE
611e34a
%doc README.md
611e34a
611e34a
%changelog
611e34a
* Sat Jul 20 23:17:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190720gitd465c8a
611e34a
- Initial package