mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-25 13:00:42 +00:00
d3a9865809
* chore: sync with Terra 38 * chore(ci): improve autobuild * fix ci? Signed-off-by: madomado <wboy111@outlook.com> * test ci Signed-off-by: madomado <wboy111@outlook.com> * Update autobuild.yml * Update anda.tpl Signed-off-by: madomado <wboy111@outlook.com> * dnf moment mock configs Signed-off-by: madomado <wboy111@outlook.com> --------- Signed-off-by: madomado <wboy111@outlook.com>
40 lines
1.1 KiB
RPMSpec
40 lines
1.1 KiB
RPMSpec
%define debug_package %nil
|
|
|
|
Name: blahaj
|
|
Version: 2.1.0
|
|
Release: 1%{?dist}
|
|
Summary: Gay sharks at your local terminal - lolcat-like CLI tool
|
|
License: BSD-2-Clause
|
|
URL: https://blahaj.queer.software
|
|
Source0: https://github.com/GeopJr/BLAHAJ/archive/refs/tags/v%version.tar.gz
|
|
BuildRequires: crystal gcc libyaml-devel pcre-devel libgc-devel libevent-devel
|
|
ExclusiveArch: x86_64
|
|
|
|
%description
|
|
Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI
|
|
tool that colorizes your input, shows flags and prints colorful sharks!
|
|
It has a wide variety of flags/colors to choose from and many options from flag
|
|
size to whether to colorize by line, word or character.
|
|
|
|
%prep
|
|
%autosetup -n BLAHAJ-%{version}
|
|
|
|
%build
|
|
shards build --production --release -D "-fPIE" --link-flags "-pie"
|
|
|
|
%install
|
|
mkdir -p %buildroot%_bindir
|
|
install -Dm755 bin/blahaj %buildroot%_bindir/
|
|
|
|
%check
|
|
crystal spec --order random -Dpreview_mt
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%_bindir/blahaj
|
|
|
|
%changelog
|
|
* Sat Apr 15 2023 windowsboy111 <windowsboy111@fyralabs.com> - 2.0.1-1
|
|
- Initial package.
|