forked from pool/cpu-x
split completions
OBS-URL: https://build.opensuse.org/package/show/utilities/cpu-x?expand=0&rev=6
This commit is contained in:
parent
44c4571e99
commit
1cc1af962c
39
cpu-x.spec
39
cpu-x.spec
@ -43,6 +43,33 @@ and peripherals. It is similar to CPU-Z (Windows) and can be used in
|
|||||||
graphical mode by using GTK or in text-based mode by using NCurses. A
|
graphical mode by using GTK or in text-based mode by using NCurses. A
|
||||||
dump mode is present from command line.
|
dump mode is present from command line.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash completion for %name
|
||||||
|
Group: System/Shells
|
||||||
|
Supplements: (%name and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
Shell completion definitions from %name for %name.
|
||||||
|
|
||||||
|
%package fish-completion
|
||||||
|
Summary: Bash completion for %name
|
||||||
|
Group: System/Shells
|
||||||
|
Supplements: (%name and fish)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description fish-completion
|
||||||
|
Shell completion definitions from %name for %name.
|
||||||
|
|
||||||
|
%package zsh-completion
|
||||||
|
Summary: Bash completion for %name
|
||||||
|
Group: System/Shells
|
||||||
|
Supplements: (%name and zsh)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description zsh-completion
|
||||||
|
Shell completion definitions from %name for %name.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n CPU-X-%version
|
%autosetup -p1 -n CPU-X-%version
|
||||||
|
|
||||||
@ -58,13 +85,19 @@ rm -Rf "%buildroot/%_datadir/polkit-1" "%buildroot/%_datadir/applications"
|
|||||||
%files -f %name.lang
|
%files -f %name.lang
|
||||||
%_bindir/cpu-x
|
%_bindir/cpu-x
|
||||||
%_libexecdir/cpu-x*
|
%_libexecdir/cpu-x*
|
||||||
%_datadir/bash-completion/
|
|
||||||
%_datadir/cpu-x/
|
%_datadir/cpu-x/
|
||||||
%_datadir/fish/
|
|
||||||
%_datadir/icons/*
|
%_datadir/icons/*
|
||||||
%_datadir/glib-2.0/
|
%_datadir/glib-2.0/
|
||||||
%_datadir/metainfo/
|
%_datadir/metainfo/
|
||||||
%_datadir/zsh/
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%_datadir/bash-completion/
|
||||||
|
|
||||||
|
%files fish-completion
|
||||||
|
%_datadir/fish/
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%_datadir/zsh/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user