diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96053f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-xerial-snappy-776d5712da21bc4762676d614db1d8a64f4238b0.tar.gz diff --git a/golang-github-eapache-xerial-snappy.spec b/golang-github-eapache-xerial-snappy.spec new file mode 100644 index 0000000..c7f3adc --- /dev/null +++ b/golang-github-eapache-xerial-snappy.spec @@ -0,0 +1,66 @@ +# Run tests in check section +%bcond_without check + +# https://github.com/eapache/go-xerial-snappy +%global goipath github.com/eapache/go-xerial-snappy +%global commit 776d5712da21bc4762676d614db1d8a64f4238b0 + +%global common_description %{expand: +Xerial-compatible Snappy framing support for golang. + +Packages using Xerial for snappy encoding use a framing format incompatible +with basically everything else in existence. This package wraps Go's built-in +snappy package to support it.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Xerial-compatible Snappy framing support for golang +# Detected licences +# - Expat License at 'LICENSE' +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/golang/snappy) + +%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 +* Mon Apr 08 19:47:08 CET 2019 Robert-André Mauchin - 0-0.1.20190408git776d571 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..06bf529 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-xerial-snappy-776d5712da21bc4762676d614db1d8a64f4238b0.tar.gz) = 17a34fa71d2ab18db970ce945489aa73bb64580423ae1e048cf7635a6f91075d2b7714c835b29999e2639ab68acd6f308ac4473cb3e00006d50f7002954e3985