File base16-shell.spec of Package base16-shell
# https://fedoraproject.org/wiki/Packaging:SourceURL
# From GitHub
%global commit 588691ba71b47e75793ed9edfcfaa058326a6f41
Name: base16-shell
# https://en.opensuse.org/openSUSE:Package_versioning_guidelines#SCM_snapshots
# git rev-list 588691ba71b47e75793ed9edfcfaa058326a6f41 | wc -l
Version: 0~git225
Release: 0
Summary: Base16 Shell
License: MIT
Url: https://github.com/chriskempson/%{name}
Source: https://github.com/chriskempson/%{name}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
BuildArch: noarch
%description
A shell script to change your shell's default ANSI colors but most importantly,
colors 17 to 21 of your shell's 256 colorspace (if supported by your terminal).
This script makes it possible to honor the original bright colors of your shell
(e.g. bright green is still green and so on) while providing additional base16
colors to applications such as Vim.
%prep
%autosetup -n %{name}-%{commit}
%build
%install
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -r ./* %{buildroot}%{_datadir}/%{name}
%files
%{_datadir}/%{name}
%changelog