Accepting request 937752 from home:dspinella
I want to maintain dog in Factory and would like to use network:utilities as the devel/feeder project. OBS-URL: https://build.opensuse.org/request/show/937752 OBS-URL: https://build.opensuse.org/package/show/network:utilities/dog?expand=0&rev=1
This commit is contained in:
commit
2d28d4ea5a
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
|
28
_service
Normal file
28
_service
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="obs_scm">
|
||||||
|
<param name="url">https://github.com/ogham/dog.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v0.1.0</param>
|
||||||
|
<param name="match-tag">*</param>
|
||||||
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">danilo.spinella@suse.com</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="tar" />
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version"/>
|
||||||
|
<service name="cargo_vendor" mode="disabled">
|
||||||
|
<param name="srcdir">dog</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="disabled">
|
||||||
|
<param name="srcdir">dog</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
||||||
|
|
9
cargo_config
Normal file
9
cargo_config
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source."https://github.com/llogiq/mutagen"]
|
||||||
|
git = "https://github.com/llogiq/mutagen"
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
3
dog-0.1.0~git0.445ed98.tar.xz
Normal file
3
dog-0.1.0~git0.445ed98.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5bdb33270189fceabb7cc44448abe5908795549903097b9eaf5883fc5dc31ada
|
||||||
|
size 436776
|
5
dog.changes
Normal file
5
dog.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 2 14:03:46 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of version 0.1.0
|
||||||
|
|
75
dog.spec
Normal file
75
dog.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# spec file for package dog
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 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: dog
|
||||||
|
Version: 0.1.0~git0.445ed98
|
||||||
|
Release: 0
|
||||||
|
Summary: A command-line DNS client
|
||||||
|
License: EUPL-1.2
|
||||||
|
URL: https://github.com/ogham/dog
|
||||||
|
Source0: %{name}-%{version}.tar.xz
|
||||||
|
Source1: vendor.tar.xz
|
||||||
|
Source2: cargo_config
|
||||||
|
Source3: install.yml
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: pandoc
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: rinstall
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
ExclusiveArch: %{rust_tier1_arches}
|
||||||
|
|
||||||
|
%description
|
||||||
|
A command-line DNS client, like dig. It has colourful output, understands normal
|
||||||
|
command-line argument syntax, supports the DNS-over-TLS and DNS-over-HTTPS protocols,
|
||||||
|
and can emit JSON.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1
|
||||||
|
mkdir .cargo
|
||||||
|
cp %{SOURCE2} .cargo/config
|
||||||
|
cp %{SOURCE3} .
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{cargo_build}
|
||||||
|
# Generate manpage
|
||||||
|
pandoc --standalone -f markdown -t man man/dog.1.md > man/dog.1
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{rinstall}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{cargo_test}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc %{_datadir}/doc/dog/README.md
|
||||||
|
%dir %{_datadir}/doc/dog
|
||||||
|
%license %{_datadir}/licenses/dog/LICENCE
|
||||||
|
%dir %{_datadir}/licenses/dog
|
||||||
|
%{_bindir}/dog
|
||||||
|
%{_mandir}/man1/dog.1%{?ext_man}
|
||||||
|
%{_datadir}/bash-completion/completions/dog.bash
|
||||||
|
%dir %{_datadir}/fish
|
||||||
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
|
%{_datadir}/fish/vendor_completions.d/dog.fish
|
||||||
|
%dir %{_datadir}/zsh
|
||||||
|
%dir %{_datadir}/zsh/site-functions
|
||||||
|
%dir %{_datadir}/zsh/site-functions/completions
|
||||||
|
%{_datadir}/zsh/site-functions/completions/_dog
|
||||||
|
|
||||||
|
%changelog
|
20
install.yml
Normal file
20
install.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
rinstall: 0.1.0
|
||||||
|
pkgs:
|
||||||
|
dog:
|
||||||
|
type: rust
|
||||||
|
exe:
|
||||||
|
- dog
|
||||||
|
man:
|
||||||
|
- man/dog.1
|
||||||
|
completions:
|
||||||
|
bash:
|
||||||
|
- completions/dog.bash
|
||||||
|
fish:
|
||||||
|
- completions/dog.fish
|
||||||
|
zsh:
|
||||||
|
- src: completions/dog.zsh
|
||||||
|
dst: completions/_dog
|
||||||
|
licenses:
|
||||||
|
- LICENCE
|
||||||
|
docs:
|
||||||
|
- README.md
|
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:3bcaecbb2c75f62ed90170032b8f5f175b090da958e3109ae6422058d293129a
|
||||||
|
size 7549236
|
Loading…
Reference in New Issue
Block a user