diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d4c82f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/chalk-22c06c80ed312dcb6e1cf394f9634aa2c4676e22.tar.gz diff --git a/golang-github-ttacon-chalk.spec b/golang-github-ttacon-chalk.spec new file mode 100644 index 0000000..ac3c4d7 --- /dev/null +++ b/golang-github-ttacon-chalk.spec @@ -0,0 +1,59 @@ +# Run tests in check section +%bcond_without check + +# https://github.com/ttacon/chalk +%global goipath github.com/ttacon/chalk +%global commit 22c06c80ed312dcb6e1cf394f9634aa2c4676e22 + +%global common_description %{expand: +Chalk is a go package for styling console/terminal output.} + +%gometa + +Name: %{goname} +Version: 0.1 +Release: 0.1%{?dist} +Summary: Intuitive package for prettifying terminal/console output +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{common_description} + +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 +* Sun Mar 03 2019 Robert-André Mauchin - 0.1-0.1.20190306git22c06c8 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..5d2035b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chalk-22c06c80ed312dcb6e1cf394f9634aa2c4676e22.tar.gz) = 338295efee271d39c7087e2151b884feb4ccbee0a952759aec53986a6aa90d4de402ffd4467cbde966974428e1017daf6d922f526f90bf1b0df4715b7a7bffeb