forked from pool/doggo
Accepting request 1184917 from home:jfkw:branches:devel:languages:go
- Packaging improvements: * Add subpackage web providing web browser UI for making DNS queries * Add Group: Productivity/Networking/DNS/Utilities * Update License: to GPL-3.0 instead of GPL-3.0-only * Update to BuildRequires: golang(API) >= 1.22 matching go.mod * Add Recommends: %{name}-bash-completion * Completions subpackages for fish, zsh remain as Suggests: * Reorder completions install ops consistently: bash, fish, zsh * Add changelog detail for earlier release v1.0.1 OBS-URL: https://build.opensuse.org/request/show/1184917 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/doggo?expand=0&rev=7
This commit is contained in:
parent
8cef1ee9ad
commit
12633b3090
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 2 14:16:05 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||||
|
|
||||||
|
- Packaging improvements:
|
||||||
|
* Add subpackage web providing web browser UI for making DNS queries
|
||||||
|
* Add Group: Productivity/Networking/DNS/Utilities
|
||||||
|
* Update License: to GPL-3.0 instead of GPL-3.0-only
|
||||||
|
* Update to BuildRequires: golang(API) >= 1.22 matching go.mod
|
||||||
|
* Add Recommends: %{name}-bash-completion
|
||||||
|
* Completions subpackages for fish, zsh remain as Suggests:
|
||||||
|
* Reorder completions install ops consistently: bash, fish, zsh
|
||||||
|
* Add changelog detail for earlier release v1.0.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 02 13:50:51 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
Tue Jul 02 13:50:51 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||||
|
|
||||||
@ -18,10 +31,23 @@ Tue Jul 02 10:43:52 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
|
|||||||
* refactor: move main package to cmd/doggo for proper binary naming
|
* refactor: move main package to cmd/doggo for proper binary naming
|
||||||
|
|
||||||
- Update to version 1.0.1
|
- Update to version 1.0.1
|
||||||
|
* fix: proper alignment of help text
|
||||||
|
* ci: re-enable dependabot
|
||||||
|
* ci: add npm caching
|
||||||
|
* ci: goreleaser
|
||||||
|
* ci: upgrade actions
|
||||||
|
* refactor: replace logrus with slog
|
||||||
|
* feat: add support for more platforms and targets
|
||||||
|
* feat: add single install script
|
||||||
|
* feat: add completions command
|
||||||
|
* feat: add support for query flags
|
||||||
|
* refactor: fix loading of nameservers
|
||||||
|
* chore: upgrade deps
|
||||||
|
* fix: send proper json error responses
|
||||||
|
|
||||||
- Update to version 1.0.0:
|
- Update to version 1.0.0:
|
||||||
* feat: add bash completion support
|
* feat: add bash completion support
|
||||||
* feat: add completions command
|
* feat: add completions command
|
||||||
* Fix syntax error in ZSH completion
|
* Fix syntax error in ZSH completion
|
||||||
* Update ZSH completion to include all current options
|
* Update ZSH completion to include all current options
|
||||||
* added tls client configuration for doh and doq
|
* added tls client configuration for doh and doq
|
||||||
@ -31,7 +57,7 @@ Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
|||||||
|
|
||||||
- Packaging improvements:
|
- Packaging improvements:
|
||||||
* Fix zsh-completion and fish-completion by not requiring
|
* Fix zsh-completion and fish-completion by not requiring
|
||||||
zsh-completion and fish-completion and by supplementing the
|
zsh-completion and fish-completion and by supplementing the
|
||||||
right package.
|
right package.
|
||||||
* Fix fish-completion by using the .fish suffix when copying the
|
* Fix fish-completion by using the .fish suffix when copying the
|
||||||
completion file.
|
completion file.
|
||||||
|
24
doggo.spec
24
doggo.spec
@ -21,10 +21,12 @@ Version: 1.0.3
|
|||||||
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-only
|
License: GPL-3.0-only
|
||||||
|
Group: Productivity/Networking/DNS/Utilities
|
||||||
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
|
||||||
BuildRequires: golang(API) >= 1.20
|
BuildRequires: golang(API) >= 1.22
|
||||||
|
Recommends: %{name}-bash-completion
|
||||||
Suggests: %{name}-fish-completion
|
Suggests: %{name}-fish-completion
|
||||||
Suggests: %{name}-zsh-completion
|
Suggests: %{name}-zsh-completion
|
||||||
|
|
||||||
@ -33,6 +35,14 @@ 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 web
|
||||||
|
Summary: Web UI for %{name}
|
||||||
|
Group: Productivity/Networking/DNS/Utilities
|
||||||
|
Supplements: %{name}
|
||||||
|
|
||||||
|
%description web
|
||||||
|
HTTP server for %{name} that provides a web browser UI for making DNS queries
|
||||||
|
|
||||||
%package bash-completion
|
%package bash-completion
|
||||||
Summary: bash completion for %{name}
|
Summary: bash completion for %{name}
|
||||||
Group: System/Shells
|
Group: System/Shells
|
||||||
@ -68,25 +78,31 @@ zsh completion scripts for %{name}
|
|||||||
export GOFLAGS="-buildmode=pie"
|
export GOFLAGS="-buildmode=pie"
|
||||||
%endif
|
%endif
|
||||||
go build ./cmd/%{name}
|
go build ./cmd/%{name}
|
||||||
|
# build separate binary providing web interface
|
||||||
|
go build -o %{name}-web ./web/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{_bindir}
|
install -d %{buildroot}%{_bindir}
|
||||||
install -D %{name} %{buildroot}%{_bindir}/%{name}
|
install -D %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
install -D %{name} %{buildroot}%{_bindir}/%{name}-web
|
||||||
|
|
||||||
# Completions
|
# Completions
|
||||||
|
./%{name} completions bash > %{name}.bash
|
||||||
|
install -Dm644 %{name}.bash %{buildroot}%{_datadir}/bash-completions/completions/%{name}
|
||||||
./%{name} completions fish > %{name}.fish
|
./%{name} completions fish > %{name}.fish
|
||||||
install -Dm644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
install -Dm644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||||
./%{name} completions zsh > %{name}.zsh
|
./%{name} completions zsh > %{name}.zsh
|
||||||
install -Dm644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
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
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files web
|
||||||
|
%doc config-api-sample.toml
|
||||||
|
%{_bindir}/%{name}-web
|
||||||
|
|
||||||
%files fish-completion
|
%files fish-completion
|
||||||
%dir %{_datadir}/fish
|
%dir %{_datadir}/fish
|
||||||
%dir %{_datadir}/fish/vendor_completions.d
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
|
Loading…
Reference in New Issue
Block a user