Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > bbf7b11094879c9ef8a8f4334dc4c9df > files > 2

golang-github-shurcool-component-0-0.2.mga7.src.rpm

# Run tests in check section
%bcond_without check

%global goipath         github.com/shurcooL/component
%global commit          f88ec8f54cc4038bdd2c3b1aecf4b96c132d7beb

%global common_description %{expand:
Collection of basic HTML components.}

%gometa

Name:           %{goname}
Version:        0
Release:        0.2%{?dist}
Summary:        Collection of basic HTML components
Group:          Development/Other
License:        MIT
URL:            %{gourl}
Source0:        %{gosource}
BuildArch:      noarch

BuildRequires: golang(github.com/shurcooL/htmlg)
BuildRequires: golang(golang.org/x/net/html)
BuildRequires: golang(golang.org/x/net/html/atom)

%description
%{common_description}


%package devel
Summary:       %{summary}

%description devel
%{common_description}

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


%prep
%forgeautosetup


%install
%goinstall


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


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




%changelog
* Sun Nov 25 2018 pterjan <pterjan> 0-0.2.mga7
+ Revision: 1334652
- imported package golang-github-shurcool-component