diff --git a/golang-github-cryptix-wav.spec b/golang-github-cryptix-wav.spec index 7193624..fe0ac83 100644 --- a/golang-github-cryptix-wav.spec +++ b/golang-github-cryptix-wav.spec @@ -1,51 +1,59 @@ -# Run tests in check section -# disable for bootstrapping -%bcond_with check +# Generated by go2rpm +%bcond_without check -%global goipath github.com/cryptix/wav -%global commit 8bdace674401f0bd3b63c65479b6a6ff1f9d5e44 +# https://github.com/cryptix/wav +%global goipath github.com/cryptix/wav +%global commit 8bdace674401f0bd3b63c65479b6a6ff1f9d5e44 %gometa +%global common_description %{expand: +Golang .wav reader and writer.} + +%global golicenses LICENSE +%global godocs examples README.md + Name: %{goname} Version: 0 -Release: 0.4%{?dist} -Summary: golang wav reader and writer +Release: 0.5%{?dist} +Summary: Golang .wav reader and writer + License: GPLv2 URL: %{gourl} Source0: %{gosource} -%description -%{summary}. +BuildRequires: golang(gonum.org/v1/plot) +BuildRequires: golang(gonum.org/v1/plot/plotter) +BuildRequires: golang(gonum.org/v1/plot/plotutil) +BuildRequires: golang(gonum.org/v1/plot/vg) -%package devel -Summary: %{summary} -BuildArch: noarch -Provides: golang(%{import_path}) = %{version}-%{release} +%if %{with check} +# Tests +BuildRequires: golang(github.com/cheekybits/is) +%endif -%description devel -%{summary}. +%description +%{common_description} -This package contains library source intended for -building other packages which use import path with -%{import_path} prefix. +%gopkg %prep -%forgeautosetup +%goprep %install -%goinstall +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif -%files devel -f devel.file-list -%doc README.md examples/ -%license LICENSE +%gopkgfiles %changelog +* Mon Jun 03 22:14:48 CEST 2019 Robert-André Mauchin - 0-0.5.20181109git8bdace6 +- Update to new macros + * Thu Jan 31 2019 Fedora Release Engineering - 0-0.4.git8bdace6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild