diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e729adb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/goquery-1.5.0.tar.gz diff --git a/golang-github-puerkitobio-goquery.spec b/golang-github-puerkitobio-goquery.spec new file mode 100644 index 0000000..52b2b6a --- /dev/null +++ b/golang-github-puerkitobio-goquery.spec @@ -0,0 +1,64 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/PuerkitoBio/goquery +%global goipath github.com/PuerkitoBio/goquery +Version: 1.5.0 + +%gometa + +%global common_description %{expand: +Goquery brings a syntax and a set of features similar to jQuery to the Go +language. It is based on Go's net/html package and the CSS Selector library +cascadia. Since the net/html parser returns nodes, and not a full-featured DOM +tree, jQuery's stateful manipulation functions (like height(), css(), detach()) +have been left off.} + +%global golicenses LICENSE +%global godocs doc README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Set of features similar to jQuery for the Go language + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/andybalholm/cascadia) +BuildRequires: golang(golang.org/x/net/html) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu May 16 00:03:34 CEST 2019 Robert-André Mauchin - 1.5.0-1 +- Release 1.5.0 + +* Thu Jan 31 2019 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Oct 11 2017 Athos Ribeiro - 1.1.0-1 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..ed28e23 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (goquery-1.5.0.tar.gz) = 40a51ec17bb465d4fafd9173c44fa655f48e5ba47608b2e52282fa885aa98332e2c96459be38a911f38294aa4f322939fe86751359deca529b7a25036917bd1a