# http://github.com/gonum/lapack %global provider_prefix github.com/gonum/lapack %global goipath %{provider_prefix} %global commit 88ec467285859a6cd23900147d250a8af1f38b10 %global commitdate 20150716 %gometa Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: A lapack implementation for go Group: Development/Other License: BSD URL: %{gourl} Source0: %{gosource} Patch0: add-license.patch # Took me more than 1 hour to figure this out!!! Patch1: use-system-library.patch BuildArch: noarch %description %{summary} %package devel Summary: %{summary} BuildRequires: lapack-devel Requires: lapack-devel BuildRequires: golang(github.com/gonum/blas) BuildRequires: golang(github.com/gonum/blas/blas64) BuildRequires: golang(github.com/gonum/floats) %description devel %{summary} This package contains library source intended for building other packages which use import path with %{gobaseipath} prefix. %prep %gosetup %patch0 -p1 %patch1 -p1 %install %goinstall %check #%%gochecks #define license tag if not already defined %{!?_licensedir:%global license %doc} %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Tue Nov 27 2018 pterjan <pterjan> 0-0.1.mga7 + Revision: 1336214 - imported package golang-github-gonum-lapack