From a92134e5e5724d1e1919b8f2bcbf9366cb08eb12 Mon Sep 17 00:00:00 2001 From: Daniel Demus Date: Sun, 5 Jan 2025 16:53:26 +0100 Subject: [PATCH] Initial commit --- LICENSE | 9 +++++ README.md | 2 + golang-github-bmatcuk-doublestar.spec | 57 +++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 golang-github-bmatcuk-doublestar.spec diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..46b1fa5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2025 demus + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..43af26a --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# golang-github-bmatcuk-doublestar-4 + diff --git a/golang-github-bmatcuk-doublestar.spec b/golang-github-bmatcuk-doublestar.spec new file mode 100644 index 0000000..b23f280 --- /dev/null +++ b/golang-github-bmatcuk-doublestar.spec @@ -0,0 +1,57 @@ +# Generated by go2rpm 1.15.0 +%bcond check 1 +%bcond bootstrap 0 + +%global debug_package %{nil} +%if %{with bootstrap} +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ +%endif + +# https://github.com/bmatcuk/doublestar +%global goipath github.com/bmatcuk/doublestar/v4 +Version: 4.7.1 + +%gometa -f -i + +%global common_description %{expand: +Implements support for double star (**) matches in golang's path.Match and +filepath.Glob.} + +%global golicenses LICENSE +%global godocs examples README.md UPGRADING.md + +Name: golang-github-bmatcuk-doublestar-4 +Release: %autorelease +Summary: Implements support for double star (**) matches in golang's path.Match and filepath.Glob + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep -A +%dnl %autopatch -p1 + +%if %{without bootstrap} +%generate_buildrequires +%go_generate_buildrequires +%endif + +%install +%gopkginstall + +%if %{without bootstrap} +%if %{with check} +%check +%gocheck +%endif +%endif + +%gopkgfiles + +%changelog +%autochangelog