|
|
a8ea6aa |
# http://github.com/spf13/cobra
|
|
|
0b46c03 |
%global goipath github.com/spf13/cobra
|
|
|
c486a24 |
%global commit fe5e611709b0c57fa4a89136deaa8e1d4004d053
|
|
|
3a94112 |
|
|
|
0c8a622 |
%gometa
|
|
|
a8ea6aa |
|
|
|
a8ea6aa |
Name: %{goname}
|
|
|
c486a24 |
Version: 0.0.3
|
|
|
c486a24 |
Release: 1%{?dist}
|
|
|
3a94112 |
Summary: A Commander for modern go CLI interactions
|
|
|
3a94112 |
License: ASL 2.0
|
|
|
a8ea6aa |
URL: %{gourl}
|
|
|
a8ea6aa |
Source0: %{gosource}
|
|
|
c486a24 |
Source1: glide.yaml
|
|
|
c486a24 |
Source2: glide.lock
|
|
|
3a94112 |
|
|
|
3a94112 |
%description
|
|
|
72e7572 |
Cobra is a commander providing a simple interface to create powerful modern
|
|
|
72e7572 |
CLI interfaces similar to git & go tools.
|
|
|
72e7572 |
In addition to providing an interface, Cobra simultaneously provides
|
|
|
72e7572 |
a controller to organize your application code.
|
|
|
72e7572 |
|
|
|
72e7572 |
Inspired by go, go-Commander, gh and subcommand, Cobra improves on these
|
|
|
72e7572 |
by providing fully posix compliant flags (including short & long versions),
|
|
|
72e7572 |
nesting commands, and the ability to define your own help and usage
|
|
|
72e7572 |
for any or all commands.
|
|
|
3a94112 |
|
|
|
3a94112 |
%package devel
|
|
Fridolin Pokorny |
6427281 |
Summary: %{summary}
|
|
Fridolin Pokorny |
6427281 |
BuildArch: noarch
|
|
Fridolin Pokorny |
6427281 |
|
|
|
cc28120 |
BuildRequires: golang(github.com/cpuguy83/go-md2man/md2man)
|
|
|
c486a24 |
BuildRequires: golang(github.com/inconshreveable/mousetrap)
|
|
|
c486a24 |
BuildRequires: golang(github.com/mitchellh/go-homedir)
|
|
Fridolin Pokorny |
6427281 |
BuildRequires: golang(github.com/spf13/pflag)
|
|
|
cc28120 |
BuildRequires: golang(github.com/spf13/viper)
|
|
|
c486a24 |
BuildRequires: golang(gopkg.in/yaml.v2)
|
|
|
3a94112 |
|
|
|
3a94112 |
%description devel
|
|
|
72e7572 |
Cobra is a commander providing a simple interface to create powerful modern
|
|
|
72e7572 |
CLI interfaces similar to git & go tools.
|
|
|
72e7572 |
In addition to providing an interface, Cobra simultaneously provides
|
|
|
72e7572 |
a controller to organize your application code.
|
|
|
72e7572 |
|
|
|
72e7572 |
Inspired by go, go-Commander, gh and subcommand, Cobra improves on these
|
|
|
72e7572 |
by providing fully posix compliant flags (including short & long versions),
|
|
|
72e7572 |
nesting commands, and the ability to define your own help and usage
|
|
|
72e7572 |
for any or all commands.
|
|
|
3a94112 |
|
|
Fridolin Pokorny |
6427281 |
This package contains library source intended for
|
|
Fridolin Pokorny |
6427281 |
building other packages which use import path with
|
|
|
0b46c03 |
%{goipath} prefix.
|
|
|
3a94112 |
|
|
|
3a94112 |
%prep
|
|
|
14c5434 |
%forgesetup
|
|
|
0c8a622 |
cp %{SOURCE1} %{SOURCE2} .
|
|
|
3a94112 |
|
|
|
3a94112 |
%install
|
|
|
0c8a622 |
%goinstall glide.yaml glide.lock
|
|
|
3a94112 |
|
|
|
3a94112 |
%check
|
|
|
c486a24 |
%gochecks
|
|
|
3a94112 |
|
|
|
cc28120 |
#define license tag if not already defined
|
|
|
cc28120 |
%{!?_licensedir:%global license %doc}
|
|
|
cc28120 |
|
|
Fridolin Pokorny |
6427281 |
%files devel -f devel.file-list
|
|
|
cc28120 |
%license LICENSE.txt
|
|
|
cc28120 |
%doc bash_completions.md README.md
|
|
|
3a94112 |
|
|
|
3a94112 |
%changelog
|
|
|
c486a24 |
* Fri Oct 26 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.0.3-1.20181026git1e58aa3
|
|
|
c486a24 |
- Bump to commit 1e58aa3361fd650121dceeedc399e7189c05674a
|
|
|
c486a24 |
|
|
|
c486a24 |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0.0.1-6.git7b2c5ac
|
|
|
14c5434 |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
14c5434 |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
14c5434 |
|
|
|
cca7b82 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-5.git7b2c5ac
|
|
|
cca7b82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cca7b82 |
|
|
|
0c8a622 |
* Mon May 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.0.1-4.git7b2c5ac
|
|
|
0c8a622 |
- Upload glide.lock and glide.yaml files
|
|
|
0c8a622 |
|
|
|
0b46c03 |
* Mon Mar 05 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.0.1-3.git7b2c5ac
|
|
|
0b46c03 |
- Update to spec 3.0
|
|
|
0b46c03 |
|
|
|
a8ea6aa |
* Fri Mar 02 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.0.1-2
|
|
|
a8ea6aa |
- Autogenerate some parts using the new macros
|
|
|
a8ea6aa |
|
|
|
8c0544e |
* Wed Feb 21 2018 Kaushal <kshlmster@gmail.com> - 0.0.1-1
|
|
|
8c0544e |
- Update to upstream v0.0.1
|
|
|
8c0544e |
|
|
|
ff16966 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.22.git8e91712
|
|
|
ff16966 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ff16966 |
|
|
|
4a32d62 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21.git8e91712
|
|
|
4a32d62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
4a32d62 |
|
|
|
b1dfab4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.20.git8e91712
|
|
|
b1dfab4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b1dfab4 |
|
|
|
1d4e0e0 |
* Wed May 10 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.19.git8e91712
|
|
|
1d4e0e0 |
- Remove cyclic dependency
|
|
|
1d4e0e0 |
related: #1214769
|
|
|
1d4e0e0 |
|
|
|
44364d1 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18.git8e91712
|
|
|
44364d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
44364d1 |
|
|
|
c4994ff |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.17.git8e91712
|
|
|
c4994ff |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
c4994ff |
|
|
|
cc28120 |
* Sun Mar 06 2016 jchaloup <jchaloup@redhat.com> - 0-0.16.git8e91712
|
|
|
cc28120 |
- Bump to upstream 8e91712f174ced10270cf66615e0a9127e7c4de5
|
|
|
cc28120 |
related: #1214769
|
|
|
cc28120 |
|
|
|
156e90a |
* Sat Mar 05 2016 jchaloup <jchaloup@redhat.com> - 0-0.15.git3120920
|
|
|
156e90a |
- Bump to upstream 312092086bed4968099259622145a0c9ae280064
|
|
|
156e90a |
related: #1214769
|
|
|
156e90a |
|
|
|
72f329a |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.14.git8f5946c
|
|
|
72f329a |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
72f329a |
|
|
|
eb3c234 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.git8f5946c
|
|
|
eb3c234 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
eb3c234 |
|
|
|
5060e4b |
* Mon Aug 24 2015 jchaloup <jchaloup@redhat.com> - 0-0.12.git8f5946c
|
|
|
5060e4b |
- Remove [B]R in comments, they are deleted by the patch
|
|
|
5060e4b |
related: #1214769
|
|
|
5060e4b |
|
|
Fridolin Pokorny |
6427281 |
* Wed Aug 12 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.11.git8f5946c
|
|
Fridolin Pokorny |
6427281 |
- Update spec file to spec-2.0
|
|
Fridolin Pokorny |
6427281 |
related: #1214769
|
|
Fridolin Pokorny |
6427281 |
|
|
|
864e92d |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.10.git8f5946c
|
|
|
864e92d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
864e92d |
|
|
|
cfd2eca |
* Tue Jun 02 2015 jchaloup <jchaloup@redhat.com> - 0-0.9.git8f5946c
|
|
|
cfd2eca |
- Bump to upstream 8f5946caaeeff40a98d67f60c25e89c3525038a3
|
|
|
cfd2eca |
related: #1214769
|
|
|
cfd2eca |
|
|
|
39f14da |
* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 0-0.8.git3c187e9
|
|
|
39f14da |
- Bump to upstream 3c187e904540cd62f0a197cddd6da02645a7cc5a
|
|
|
39f14da |
related: #1214769
|
|
|
39f14da |
|
|
|
feeb894 |
* Tue Mar 31 2015 jchaloup <jchaloup@redhat.com> - 0-0.7.git79bd93d
|
|
|
feeb894 |
- Bump to upstream 79bd93d369fb73d640179208d4e2b1a748915567
|
|
|
feeb894 |
related: #1085881
|
|
|
feeb894 |
|
|
|
352228d |
* Wed Feb 25 2015 jchaloup <jchaloup@redhat.com> - 0-0.6.gitf8e1ec5
|
|
|
352228d |
- Bump to upstream f8e1ec56bdd7494d309c69681267859a6bfb7549
|
|
|
352228d |
related: #1085881
|
|
|
352228d |
|
|
|
c63f784 |
* Wed Dec 24 2014 jchaloup <jchaloup@redhat.com> - 0-0.5.gitb1e90a7
|
|
|
c63f784 |
- Bump to e1e66f7b4e667751cf530ddb6e72b79d6eeb0235
|
|
|
c63f784 |
related: #1085881
|
|
|
c63f784 |
|
|
|
72e7572 |
* Thu Oct 16 2014 jchaloup <jchaloup@redhat.com> - 0-0.4.gite174a40
|
|
|
72e7572 |
- Bump to b1e90a7943957b51bb96a13b44b844475bcf95c0
|
|
|
72e7572 |
|
|
|
a653aa9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.gite174a40
|
|
|
a653aa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a653aa9 |
|
|
|
3a94112 |
* Fri Apr 04 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.2.git
|
|
|
3a94112 |
- correct tarball name
|
|
|
3a94112 |
|
|
|
3a94112 |
* Fri Apr 04 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.1.git
|
|
|
3a94112 |
- Initial package
|