diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd96e6a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/goe-57f6aae5913c64c9bcae5dbdffd33365b5a7f138.tar.gz diff --git a/golang-github-pascaldekloe-goe.spec b/golang-github-pascaldekloe-goe.spec new file mode 100644 index 0000000..c3b3d94 --- /dev/null +++ b/golang-github-pascaldekloe-goe.spec @@ -0,0 +1,58 @@ +# Run tests in check section +%bcond_without check + +# https://github.com/pascaldekloe/goe +%global goipath github.com/pascaldekloe/goe +%global commit 57f6aae5913c64c9bcae5dbdffd33365b5a7f138 + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Common enterprise features for the Go programming language +# Detected licences +# - *No copyright* UNKNOWN at 'LICENSE' +License: CC0 +URL: %{gourl} +Source0: %{gosource} + +%description +%{summary}. + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{summary}. + +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 +%license LICENSE +%doc README.md + + +%changelog +* Mon Nov 12 2018 Robert-André Mauchin - 0-0.1.20181113git57f6aae +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..0845de3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (goe-57f6aae5913c64c9bcae5dbdffd33365b5a7f138.tar.gz) = 6d7f6525431aaabf57b72e32f783eea6216fde942d14e227219392faefdad3f35aedbd672186d06da919eb7316873b38fcd08bafd721a25ba5788e197622fa70