diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e6dd5f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/text-f4905fbd45b6790792202848439271c74074bbfd.tar.gz diff --git a/golang-x-text.spec b/golang-x-text.spec new file mode 100644 index 0000000..007d689 --- /dev/null +++ b/golang-x-text.spec @@ -0,0 +1,168 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/golang/text +%global goipath golang.org/x/text +%global forgeurl https://github.com/golang/text +Version: 0.3.0 +%global commit f4905fbd45b6790792202848439271c74074bbfd + +%gometa + +%global common_description %{expand: +Text is a repository of text-related packages related to internationalization +(i18n) and localization (l10n), such as character encodings, text +transformations, and locale-specific text handling.} + +%global golicenses LICENSE PATENTS +%global godocs AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md + +Name: %{goname} +Release: 3%{?dist} +Summary: Go text processing support + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(golang.org/x/tools/go/buildutil) +BuildRequires: golang(golang.org/x/tools/go/callgraph) +BuildRequires: golang(golang.org/x/tools/go/callgraph/cha) +BuildRequires: golang(golang.org/x/tools/go/loader) +BuildRequires: golang(golang.org/x/tools/go/ssa) +BuildRequires: golang(golang.org/x/tools/go/ssa/ssautil) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%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 +%gocheck +%endif + +%files +%license %{golicenses} +%doc %{godocs} +%{_bindir}/* + +%gopkgfiles + +%changelog +* Tue Apr 16 00:29:58 CEST 2019 Robert-André Mauchin - 0.3.0-3.20190416gitf4905fb +- Bump to commit f4905fbd45b6790792202848439271c74074bbfd + +* Fri Feb 01 2019 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Oct 27 2018 Robert-André Mauchin - 0.3.0-1 +- Update to release 0.3.0 + +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.26.git3bd178b +- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias +- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ + +* Fri Jul 13 2018 Fedora Release Engineering - 0-0.25.git3bd178b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Mar 18 2018 Robert-André Mauchin - 0-0.24.git3bd178b +- Fix typo in package name + +* Thu Mar 15 2018 Jan Chaloupka - 0-0.23.git3bd178b +- Update to spec 3.0 +- Fix test error reported by go1.10 + +* Wed Feb 07 2018 Fedora Release Engineering - 0-0.22.git3bd178b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 24 2017 Jan Chaloupka - 0-0.21.git3bd178b +- Bump to upstream 3bd178b88a8180be2df394a1fbb81313916f0e7b + related: #1254601 + +* Fri Aug 11 2017 Athos Ribeiro - 0-0.20.git65f4f82 +- Bump to upstream 65f4f820a7954b82e5c9325e1e088a4fda098f36 +- related: #1254601 + +* Wed Aug 02 2017 Fedora Release Engineering - 0-0.19.git04b8648 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0-0.18.git04b8648 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0-0.17.git04b8648 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 13 2017 Jan Chaloupka - 0-0.16.git04b8648 +- Bump to upstream 04b8648d973c126ae60143b3e1473bc1576c7597 + related: #1254601 + +* Wed Dec 14 2016 Jan Chaloupka - 0-0.15.git6fc2e00 +- Polish the spec file + related: #1254601 + +* Wed Aug 10 2016 jchaloup - 0-0.14.git6fc2e00 +- skip currency test on aarch64 (binaries have different size) + resolves: #1365814 + +* Wed Jul 27 2016 jchaloup - 0-0.13.git6fc2e00 +- skip currency test on s390x (binaries have different size) + resolves: #1360388 + +* Mon Jul 25 2016 jchaloup - 0-0.12.git6fc2e00 +- Polishing the spec file + related: #1254601 + +* Thu Jul 21 2016 Fedora Release Engineering - 0-0.11.git6fc2e00 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Tue Feb 23 2016 Peter Robinson 0-0.10.git6fc2e00 +- License and arch definition cleanup + +* Mon Feb 22 2016 Fedora Release Engineering - 0-0.9.git6fc2e00 +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Fri Feb 19 2016 jchaloup - 0-0.8.git6fc2e00 +- Bump to upstream 6fc2e00a0d64b1f7fc1212dae5b0c939cf6d9ac4 + Repository has moved from code.google.com/p/go.text to github.com/golang/text + related: #1254601 + +* Wed Feb 03 2016 Fedora Release Engineering - 0-0.7.hg5b2527008a4c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Aug 20 2015 jchaloup - 0-0.6.hg5b2527008a4c +- Choose the correct devel subpackage + related: #1254601 + +* Thu Aug 20 2015 jchaloup - 0-0.5.hg5b2527008a4c +- Update spec file to spec-2.0 + resolves: #1254601 + +* Wed Jun 17 2015 Fedora Release Engineering - 0-0.4.hg5b2527008a4c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Dec 09 2014 jchaloup - 0-0.3.hg5b2527008a4c +- Update to the latest commit 5b2527008a4c8988ca9dc6f010ebfb9dae67150b + related: #1056285 + +* Fri Nov 21 2014 jchaloup - 0-0.2.hg024681b033be +- Extend import paths for golang.org/x/ +- Choose the correct architecture + related: #1056285 + +* Sun Sep 28 2014 Lokesh Mandvekar - 0-0.1.hg024681b033be +- Resolves: rhbz#1056285 - Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..c2bd3f1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (text-f4905fbd45b6790792202848439271c74074bbfd.tar.gz) = fba082d8f80250fa058cd144bd9eabd3ea3ef0d3d53d231e288e9cc218b2e6d95e5e170381f01a1c5c0220cdd406dbe4e21a5aaceda8e3fd54f28e3e086603b1