diff --git a/doggo.changes b/doggo.changes index bb06cb4..c33afba 100644 --- a/doggo.changes +++ b/doggo.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jul 2 14:16:05 UTC 2024 - Jeff Kowalczyk + +- 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 @@ -18,10 +31,23 @@ Tue Jul 02 10:43:52 UTC 2024 - Eyad Issa * refactor: move main package to cmd/doggo for proper binary naming - 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: * feat: add bash completion support - * feat: add completions command + * 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 @@ -31,7 +57,7 @@ Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa - Packaging improvements: * 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. * Fix fish-completion by using the .fish suffix when copying the completion file. diff --git a/doggo.spec b/doggo.spec index 8ef6259..e9e95ac 100644 --- a/doggo.spec +++ b/doggo.spec @@ -21,10 +21,12 @@ Version: 1.0.3 Release: 0 Summary: CLI tool and API server DNS client implemented in Go License: GPL-3.0-only +Group: Productivity/Networking/DNS/Utilities URL: https://github.com/mr-karan/doggo Source0: %{name}-%{version}.tar Source1: vendor.tar.xz -BuildRequires: golang(API) >= 1.20 +BuildRequires: golang(API) >= 1.22 +Recommends: %{name}-bash-completion Suggests: %{name}-fish-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 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 Summary: bash completion for %{name} Group: System/Shells @@ -68,25 +78,31 @@ zsh completion scripts for %{name} export GOFLAGS="-buildmode=pie" %endif go build ./cmd/%{name} +# build separate binary providing web interface +go build -o %{name}-web ./web/ %install install -d %{buildroot}%{_bindir} install -D %{name} %{buildroot}%{_bindir}/%{name} +install -D %{name} %{buildroot}%{_bindir}/%{name}-web # Completions +./%{name} completions bash > %{name}.bash +install -Dm644 %{name}.bash %{buildroot}%{_datadir}/bash-completions/completions/%{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 %license LICENSE %doc README.md -%doc config-api-sample.toml %{_bindir}/%{name} +%files web +%doc config-api-sample.toml +%{_bindir}/%{name}-web + %files fish-completion %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d