2022-07-19 16:57:49 +00:00
|
|
|
# Generated by go2rpm 1.6.0
|
2019-06-23 22:39:52 +00:00
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
# https://github.com/golang/mobile
|
|
|
|
%global goipath golang.org/x/mobile
|
|
|
|
%global forgeurl https://github.com/golang/mobile
|
2022-07-19 16:57:49 +00:00
|
|
|
%global commit 8578da9835fd365e78a6e63048c103b27a53a82c
|
2019-06-23 22:39:52 +00:00
|
|
|
|
|
|
|
%gometa
|
|
|
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
The Go mobile repository holds packages and build tools for using Go on mobile
|
|
|
|
platforms.}
|
|
|
|
|
|
|
|
%global golicenses LICENSE PATENTS
|
|
|
|
%global godocs doc example AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
|
|
|
|
|
|
|
|
Name: %{goname}
|
|
|
|
Version: 0
|
2023-07-20 05:10:55 +00:00
|
|
|
Release: 0.16%{?dist}
|
2019-06-23 22:39:52 +00:00
|
|
|
Summary: Go support for Mobile devices
|
|
|
|
|
|
|
|
# Upstream license specification: BSD-3-Clause
|
|
|
|
License: BSD
|
|
|
|
URL: %{gourl}
|
|
|
|
Source0: %{gosource}
|
|
|
|
|
2022-07-19 16:57:49 +00:00
|
|
|
# required for tests
|
2019-06-23 22:39:52 +00:00
|
|
|
BuildRequires: pkgconfig(glesv2)
|
2022-07-19 16:57:49 +00:00
|
|
|
BuildRequires: pkgconfig(openal)
|
2019-06-23 22:39:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
%gopkg
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%goprep
|
|
|
|
|
2022-07-19 16:57:49 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%go_generate_buildrequires
|
|
|
|
|
2019-06-23 22:39:52 +00:00
|
|
|
%build
|
|
|
|
for cmd in cmd/* ; do
|
|
|
|
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
|
|
|
%gopkginstall
|
|
|
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
|
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
2022-07-19 18:26:46 +00:00
|
|
|
%ifarch aarch64 armv7hl ppc64le s390x
|
2020-02-07 01:07:15 +00:00
|
|
|
%gocheck -d cmd/gobind -d cmd/gomobile
|
2022-07-19 16:57:49 +00:00
|
|
|
%else
|
|
|
|
%gocheck -d cmd/gobind
|
|
|
|
%endif
|
2019-06-23 22:39:52 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
2022-07-19 16:57:49 +00:00
|
|
|
%license PATENTS LICENSE
|
|
|
|
%doc doc example AUTHORS CONTRIBUTING.md README.md CONTRIBUTORS exp/README
|
2019-06-23 22:39:52 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%gopkgfiles
|
|
|
|
|
|
|
|
%changelog
|
2023-07-20 05:10:55 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 11:10:57 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 12:40:27 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-19 18:58:22 +00:00
|
|
|
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 0-0.13
|
|
|
|
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
|
|
|
|
golang
|
|
|
|
|
2022-07-19 16:57:49 +00:00
|
|
|
* Tue Jul 19 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 0-0.12.20220719git8578da9
|
|
|
|
- Bump to 8578da9835fd365e78a6e63048c103b27a53a82c. Fixes rhbz#2045669.
|
|
|
|
|
2022-06-18 10:05:43 +00:00
|
|
|
* Sat Jun 18 2022 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.11
|
|
|
|
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
|
|
|
|
CVE-2022-29526, CVE-2022-30629
|
|
|
|
|
2022-01-20 11:28:39 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 06:48:33 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 12:40:40 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-23 01:41:01 +00:00
|
|
|
* Sat Jan 23 02:39:46 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.7.20210123gite6ae53a
|
|
|
|
- Bump to commit 973feb4309de5c3aad0553fc987d76abf1fa58f7
|
|
|
|
|
2020-08-07 18:04:47 +00:00
|
|
|
* Fri Aug 07 19:46:00 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.6.20200807git973feb4
|
|
|
|
- Bump to commit 973feb4309de5c3aad0553fc987d76abf1fa58f7
|
|
|
|
|
2020-07-28 00:04:12 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-07 01:07:15 +00:00
|
|
|
* Fri Feb 07 01:28:53 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20200207git0df4eb2
|
|
|
|
- Update to 0df4eb2385467a487d418c6358313e9e838256ae
|
|
|
|
|
2020-01-29 03:10:03 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 07:24:58 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-23 22:39:52 +00:00
|
|
|
* Thu Apr 25 01:09:12 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190623git3e0bab5
|
|
|
|
- Initial package
|