Accepting request 1119253 from home:ojkastl_buildservice:Branch_devel_kubic

new package fubectl: fancy aliases for kubectl

OBS-URL: https://build.opensuse.org/request/show/1119253
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/fubectl?expand=0&rev=1
This commit is contained in:
Richard Brown 2023-10-30 10:00:47 +00:00 committed by Git OBS Bridge
commit 9e4c80ee9e
7 changed files with 107 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/kubermatic/fubectl</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">master</param>
<param name="versionformat">0.0.1~alpha.%ct.%h</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/kubermatic/fubectl</param>
<param name="changesrevision">3950b1e3482aff14e810af2459a6e213dd89364d</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f546cd9b74259cc91f033a871b76b3f4d4253a7ffc3848da2198be0acd619d05
size 1511948

4
fubectl.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Oct 20 09:28:40 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- new package fubectl: fancy kubectl

4
fubectl.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: fubectl
version: 0.0.1~alpha.1687425183.3950b1e
mtime: 1687425183
commit: 3950b1e3482aff14e810af2459a6e213dd89364d

52
fubectl.spec Normal file
View File

@ -0,0 +1,52 @@
#
# spec file for package fubectl
#
# 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: fubectl
Version: 0.0.1~alpha.1687425183.3950b1e
Release: 0
Summary: Fancy kubectl
License: Apache-2.0
URL: https://github.com/kubermatic/fubectl
Source: fubectl-%{version}.tar.gz
BuildArch: noarch
Requires: (bash or zsh)
Requires: fzf
Requires: jq
Requires: kubectl-tree
Requires: kubectl-neat
%description
Reduces repetitive interactions with kubectl
%prep
%setup -q
%build
sed -i '/^#!/ s/env\ bash/bash/' %{name}.source
%install
# Install the script.
install -D -m 0755 %{name}.source %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
chmod 644 %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
%files
%doc README.md
%license LICENSE
%{_datarootdir}/bash-completion/completions/%{name}
%changelog