From cecea5fdab882d195ab30a2795c4173ff94174ab Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 30 2019 14:05:11 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c824e14 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fileutil-8595d0e19c1ed35857747aede58cb19a5a67bbab.tar.bz2 diff --git a/golang-modernc-fileutil.spec b/golang-modernc-fileutil.spec new file mode 100644 index 0000000..cc7e1cd --- /dev/null +++ b/golang-modernc-fileutil.spec @@ -0,0 +1,50 @@ +# Generated by go2rpm +%bcond_without check + +# https://gitlab.com/cznic/fileutil +%global goipath modernc.org/fileutil +%global forgeurl https://gitlab.com/cznic/fileutil +Version: 1.0.0 +%global commit 8595d0e19c1ed35857747aede58cb19a5a67bbab +%global distprefix %{nil} + +%gometa + +%global common_description %{expand: +Package fileutil collects some file utility functions.} + +%global golicenses LICENSE +%global godocs AUTHORS CONTRIBUTORS README + +Name: %{goname} +Release: 1%{?dist} +Summary: File utility functions in Go + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(modernc.org/mathutil) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun May 12 15:19:12 CEST 2019 Robert-André Mauchin - 1.0.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..cb4bc5b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fileutil-8595d0e19c1ed35857747aede58cb19a5a67bbab.tar.bz2) = 5f9b8ca21e7dce7c611655bab68dc21f684f66835821b0c18daac8faa15f2ff64e24d959aa0df4dca14763fc864905d05a03c46b775a7ea96a0889da1a87f6a7