Accepting request 1118637 from home:VaiTon:branches:devel:languages:go
Initial submission OBS-URL: https://build.opensuse.org/request/show/1118637 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/doggo?expand=0&rev=1
This commit is contained in:
commit
6e74549783
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||||
|
<param name="revision">v0.5.7</param>
|
||||||
|
<param name="match-tag">*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
<service name="go_modules" mode="manual">
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
<service name="tar" mode="buildtime" />
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||||
|
<param name="changesrevision">c72c2ef9ec99053e33808bc03fee80d57ea017cb</param></service></servicedata>
|
3
doggo-0.5.7.obscpio
Normal file
3
doggo-0.5.7.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cec020bfa233d3d799429950f2356cd6de20693b4c78e8f705790d6b7c01fe98
|
||||||
|
size 540684
|
10
doggo.changes
Normal file
10
doggo.changes
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 18 17:30:09 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Use xz compression for vendor.tar
|
||||||
|
- Use obscpio instead of tar for disk storage efficency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 1 12:49:46 UTC 2023 - Alexandre Almeida <me@aoalmeida.com>
|
||||||
|
|
||||||
|
- First release
|
4
doggo.obsinfo
Normal file
4
doggo.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: doggo
|
||||||
|
version: 0.5.7
|
||||||
|
mtime: 1691988406
|
||||||
|
commit: c72c2ef9ec99053e33808bc03fee80d57ea017cb
|
66
doggo.spec
Normal file
66
doggo.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# spec file for package doggo
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: doggo
|
||||||
|
Version: 0.5.7
|
||||||
|
Release: 0
|
||||||
|
Summary: Command-line DNS Client for Humans. Written in Golang
|
||||||
|
License: GPL-3.0
|
||||||
|
URL: https://github.com/mr-karan/doggo
|
||||||
|
Source0: %{name}-%{version}.tar
|
||||||
|
Source1: vendor.tar.xz
|
||||||
|
BuildRequires: golang(API) >= 1.20
|
||||||
|
|
||||||
|
%description
|
||||||
|
doggo is a modern command-line DNS client (like dig) written in Golang.
|
||||||
|
It outputs information in a neat concise manner and supports protocols
|
||||||
|
like DoH, DoT, DoQ, and DNSCrypt as well.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1
|
||||||
|
|
||||||
|
%build
|
||||||
|
export GOFLAGS="$GOFLAGS -buildmode=pie -mod=vendor"
|
||||||
|
|
||||||
|
for BINARY in doggo api
|
||||||
|
do
|
||||||
|
go build -trimpath -ldflags "-s -w -X main.buildVersion=%{version}" -o "bin/" -v "./cmd/${BINARY}/..."
|
||||||
|
done
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %{buildroot}%{_bindir}
|
||||||
|
install -D bin/doggo %{buildroot}%{_bindir}/%{name}
|
||||||
|
install -D bin/api %{buildroot}%{_bindir}/%{name}-api
|
||||||
|
install -Dm644 completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}
|
||||||
|
install -Dm644 completions/%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/doggo
|
||||||
|
%{_bindir}/doggo-api
|
||||||
|
|
||||||
|
%dir %{_datadir}/fish
|
||||||
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
|
%dir %{_datadir}/zsh
|
||||||
|
%dir %{_datadir}/zsh/site-functions
|
||||||
|
|
||||||
|
%{_datadir}/fish/vendor_completions.d/%{name}
|
||||||
|
%{_datadir}/zsh/site-functions/_%{name}
|
||||||
|
|
||||||
|
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bca2aa8afc7f4fed722c51bd51263e7d4ce28e8f04778665cf5778aab9586ea0
|
||||||
|
size 5255032
|
Loading…
Reference in New Issue
Block a user