Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > cbfbdc5b209194f21162a398b006cb28 > files > 2

golang-github-onsi-ginkgo-2-2.7.0-1.mga9.src.rpm

# Generated by go2rpm 1.6.0
%bcond_without check

# https://github.com/onsi/ginkgo
%global goipath         github.com/onsi/ginkgo/v2
%global forgeurl        https://github.com/onsi/ginkgo
Version:                2.7.0

%gometa

%global common_description %{expand:
A Modern Testing Framework for Go.}

%global golicenses      LICENSE
%global godocs          docs CHANGELOG.md README.md CONTRIBUTING.md\\\
                        RELEASING.md

Name:           %{goname}
Release:        %mkrel 1
Summary:        A Modern Testing Framework for Go
Group:          Development/Other

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/go-task/slim-sprig)
BuildRequires:  golang(github.com/google/pprof/profile)
BuildRequires:  golang(github.com/onsi/gomega)
BuildRequires:  golang(github.com/onsi/gomega/gstruct)
BuildRequires:  golang(github.com/onsi/gomega/types)
BuildRequires:  golang(golang.org/x/sys/unix)
BuildRequires:  golang(golang.org/x/tools/go/ast/inspector)

%description
%{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%build
%gobuild -o %{gobuilddir}/bin/ginkgo %{goipath}/ginkgo

%install
%gopkginstall
install -m 0755 -vd                     %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/

%if %{with check}
%check
%gocheck -d integration
%endif

%files
%license LICENSE
%doc docs CHANGELOG.md README.md CONTRIBUTING.md RELEASING.md
%{_bindir}/*

%gopkgfiles


%changelog
* Sat Jan 14 2023 guillomovitch <guillomovitch> 2.7.0-1.mga9
+ Revision: 1933041
- new version 2.7.0

* Sun Nov 20 2022 guillomovitch <guillomovitch> 2.4.0-1.mga9
+ Revision: 1909210
- new version 2.4.0

* Sat Sep 24 2022 guillomovitch <guillomovitch> 2.2.0-1.mga9
+ Revision: 1891923
- new version 2.2.0

* Sat Sep 10 2022 guillomovitch <guillomovitch> 2.1.6-1.mga9
+ Revision: 1886425
- new version 2.1.6

* Wed Aug 24 2022 guillomovitch <guillomovitch> 2.1.4-1.mga9
+ Revision: 1880041
- imported package golang-github-onsi-ginkgo-2