diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..71150bc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/debounce-1.2.0.tar.gz diff --git a/golang-github-bep-debounce.spec b/golang-github-bep-debounce.spec new file mode 100644 index 0000000..9c2422d --- /dev/null +++ b/golang-github-bep-debounce.spec @@ -0,0 +1,49 @@ +%global goipath github.com/bep/debounce +Version: 1.2.0 + +%gometa + +Name: %{goname} +Release: 1%{?dist} +Summary: A debouncer written in Go +# Detected licences +# - Expat License at 'LICENSE' +License: MIT +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 + + +%check +%gochecks + + +%files devel -f devel.file-list +%doc README.md +%license LICENSE + + +%changelog +* Sun Feb 10 2019 Elliott Sales de Andrade - 1.2.0-1 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..cee4d8a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (debounce-1.2.0.tar.gz) = 258db70a33286fa2b8e737a4ada350f11ce5050aa11b38886527bd8b9913d938029036f8fb61b19fa810b413512887e6f7cbe7168c5849f98acb195e092a64d4