Accepting request 1184834 from home:VaiTon:branches:devel:languages:go
- Update to version 1.0.2: * refactor: move main package to cmd/doggo for proper binary naming - Update to version 1.0.1 - Update to version 1.0.0: * feat: add bash completion support * feat: add completions command * Fix syntax error in ZSH completion * Update ZSH completion to include all current options * added tls client configuration for doh and doq OBS-URL: https://build.opensuse.org/request/show/1184834 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/doggo?expand=0&rev=5
This commit is contained in:
parent
02de45b2b9
commit
1634412595
2
_service
2
_service
@ -2,7 +2,7 @@
|
|||||||
<service name="obs_scm" mode="manual">
|
<service name="obs_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||||
<param name="revision">v0.5.7</param>
|
<param name="revision">v1.0.2</param>
|
||||||
<param name="match-tag">*</param>
|
<param name="match-tag">*</param>
|
||||||
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||||
<param name="changesrevision">c72c2ef9ec99053e33808bc03fee80d57ea017cb</param></service></servicedata>
|
<param name="changesrevision">a63ff6e88ac6abf711cb7e8a0948c5efdb545886</param></service></servicedata>
|
3
doggo-1.0.2.obscpio
Normal file
3
doggo-1.0.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7674e4e5ed86d1cd9a723d17f040b718459fe16f02ee1239e448c33322079173
|
||||||
|
size 1150988
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 02 10:43:52 UTC 2024 - eyadlorenzo@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.0.2:
|
||||||
|
* refactor: move main package to cmd/doggo for proper binary naming
|
||||||
|
|
||||||
|
- Update to version 1.0.1
|
||||||
|
|
||||||
|
- Update to version 1.0.0:
|
||||||
|
* feat: add bash completion support
|
||||||
|
* feat: add completions command
|
||||||
|
* Fix syntax error in ZSH completion
|
||||||
|
* Update ZSH completion to include all current options
|
||||||
|
* added tls client configuration for doh and doq
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: doggo
|
name: doggo
|
||||||
version: 0.5.7
|
version: 1.0.2
|
||||||
mtime: 1691988406
|
mtime: 1719894930
|
||||||
commit: c72c2ef9ec99053e33808bc03fee80d57ea017cb
|
commit: a63ff6e88ac6abf711cb7e8a0948c5efdb545886
|
||||||
|
42
doggo.spec
42
doggo.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package doggo
|
# spec file for package doggo
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: doggo
|
Name: doggo
|
||||||
Version: 0.5.7
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: CLI tool and API server DNS client implemented in Go
|
Summary: CLI tool and API server DNS client implemented in Go
|
||||||
License: GPL-3.0
|
License: GPL-3.0-only
|
||||||
URL: https://github.com/mr-karan/doggo
|
URL: https://github.com/mr-karan/doggo
|
||||||
Source0: %{name}-%{version}.tar
|
Source0: %{name}-%{version}.tar
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
@ -33,6 +33,15 @@ doggo is a modern command-line DNS client (like dig) implemented in Go.
|
|||||||
It outputs information in a neat concise manner and supports protocols
|
It outputs information in a neat concise manner and supports protocols
|
||||||
like DoH, DoT, DoQ, and DNSCrypt as well.
|
like DoH, DoT, DoQ, and DNSCrypt as well.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: bash completion for %{name}
|
||||||
|
Group: System/Shells
|
||||||
|
Supplements: (%{name} and bash)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
bash completion scripts for %{name}
|
||||||
|
|
||||||
%package fish-completion
|
%package fish-completion
|
||||||
Summary: fish completion for %{name}
|
Summary: fish completion for %{name}
|
||||||
Group: System/Shells
|
Group: System/Shells
|
||||||
@ -59,31 +68,38 @@ zsh completion scripts for %{name}
|
|||||||
export GOFLAGS="-buildmode=pie"
|
export GOFLAGS="-buildmode=pie"
|
||||||
%endif
|
%endif
|
||||||
go build ./cmd/%{name}
|
go build ./cmd/%{name}
|
||||||
go build ./cmd/api
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{_bindir}
|
install -d %{buildroot}%{_bindir}
|
||||||
install -D %{name} %{buildroot}%{_bindir}/%{name}
|
install -D %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -D api %{buildroot}%{_bindir}/%{name}-api
|
|
||||||
install -Dm644 completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
# Completions
|
||||||
install -Dm644 completions/%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
./%{name} completions fish > %{name}.fish
|
||||||
|
install -Dm644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
./%{name} completions zsh > %{name}.zsh
|
||||||
|
install -Dm644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
||||||
|
./%{name} completions bash > %{name}.bash
|
||||||
|
install -Dm644 %{name}.bash %{buildroot}%{_datadir}/bash-completions/completions/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%doc config-api-sample.toml
|
%doc config-api-sample.toml
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}-api
|
|
||||||
|
|
||||||
%dir %{_datadir}/fish
|
|
||||||
%dir %{_datadir}/fish/vendor_completions.d
|
|
||||||
%dir %{_datadir}/zsh
|
|
||||||
%dir %{_datadir}/zsh/site-functions
|
|
||||||
|
|
||||||
%files fish-completion
|
%files fish-completion
|
||||||
|
%dir %{_datadir}/fish
|
||||||
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
|
||||||
%files zsh-completion
|
%files zsh-completion
|
||||||
|
%dir %{_datadir}/zsh
|
||||||
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/_%{name}
|
%{_datadir}/zsh/site-functions/_%{name}
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%dir %{_datadir}/bash-completions
|
||||||
|
%dir %{_datadir}/bash-completions/completions
|
||||||
|
%{_datadir}/bash-completions/completions/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:bca2aa8afc7f4fed722c51bd51263e7d4ce28e8f04778665cf5778aab9586ea0
|
oid sha256:ff6642f82fd5cb7221362268a660300c46386e3d2f7dd449f6f99baea03464e8
|
||||||
size 5255032
|
size 1514948
|
||||||
|
Loading…
Reference in New Issue
Block a user