diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a00555 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/golang-github-kurin-blazer-0.4.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 40282ec..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-kurin-blazer - -The golang-github-kurin-blazer package \ No newline at end of file diff --git a/golang-github-kurin-blazer.spec b/golang-github-kurin-blazer.spec new file mode 100644 index 0000000..f94acfa --- /dev/null +++ b/golang-github-kurin-blazer.spec @@ -0,0 +1,58 @@ +# https://github.com/kurin/blazer +%global goipath github.com/kurin/blazer +Version: 0.4.4 + +%global common_description %{expand: +Blazer is a Golang client library for Backblaze's B2 object storage service. +It is designed for simple integration with existing applications that may +already be using S3 and Google Cloud Storage, by exporting only a few +standard Go types. + +It implements and satisfies the B2 integration checklist, automatically +handling error recovery, reauthentication, and other low-level aspects, +making it suitable to upload very large files, or over multi-day time scales.} + +%gometa -i + +Name: %{goname} +Release: 1%{?dist} +Summary: A Go library for Backblaze's B2. +License: ASL 2.0 +URL: %{gourl} +Source0: https://%{goipath}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +%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 +%gosetup -q + + +%install +%goinstall + +%check +%gochecks + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + + +%files devel -f devel.file-list +%license LICENSE +%doc CONTRIBUTING.md README.md + +%changelog +* Thu Jun 14 2018 Steve Miller (copart) - 0.4.4-1 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..f8d9d22 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (golang-github-kurin-blazer-0.4.4.tar.gz) = cbc9369a6d94b1b31abe2449db3970be6215f2acecbcd753dbd143b67fa3155d6d1390263cd2c9bdd8d1d5fe8ed0a56c183946ba4baab3306178df8d4717123f