mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
46 lines
884 B
RPMSpec
46 lines
884 B
RPMSpec
%define debug_package %{nil}
|
|
|
|
Name: bat-extras
|
|
Version: 2024.08.24
|
|
Release: 1%?dist
|
|
Summary: Bash scripts that integrate bat with various command line tools
|
|
|
|
License: MIT
|
|
URL: https://github.com/eth-p/bat-extras
|
|
Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
BuildRequires: bash
|
|
Requires: bash
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -n bat-extras-%{version}
|
|
|
|
|
|
%build
|
|
# ./build.sh --no-verify
|
|
|
|
|
|
%install
|
|
./build.sh --install --prefix=%{buildroot}%{_prefix}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
cp -v man/* %{buildroot}%{_mandir}/man1/
|
|
|
|
chmod -x %_mandir/man1/*
|
|
|
|
|
|
%files
|
|
%license LICENSE.md
|
|
%doc doc/
|
|
%{_bindir}/bat*
|
|
%{_bindir}/prettybat
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Mon Oct 03 2022 Cappy Ishihara <cappy@cappuchino.xyz> - 2022.07.27-1
|
|
- Initial release
|