Name:          mommy
Version:       1.5.1
Release:       1
Summary:       mommy's here to support you, in any shell~ ❤️
License:       Unlicense
URL:           https://github.com/FWDekker/mommy
VCS:           git+https://github.com/FWDekker/mommy.git#5fdcc202c225c6fb8add512e14f3fe72213208da:
Source:        mommy-5fdcc202.tar.gz
BuildArch:     noarch
BuildRequires: make
BuildRequires: git

%global debug_package %{nil}

%description
mommy's here to support you! mommy will compliment you if things go well, and
will encourage you if things are not going so well~

mommy is fully customizable, integrates with any shell, works on any system, and
most importantly, loves you very much~ ❤️

%prep
%setup -T -b 0 -q -n mommy
git clone --depth=1 https://github.com/shellspec/shellspec.git "%{_tmppath}/shellspec/"

%build
make build

%install
make prefix="%{buildroot}/%{_prefix}/" install

%check
MOMMY_EXEC="%{buildroot}/%{_prefix}/bin/mommy" make shellspec_bin="%{_tmppath}/shellspec/shellspec" test/unit

%clean
rm -rf "%{_tmppath}/shellspec/"

%files
%{_bindir}/mommy
%doc %{_mandir}/man1/mommy.1.gz
%{_datarootdir}/fish/vendor_completions.d/mommy.fish
%{_datarootdir}/zsh/site-functions/_mommy

%changelog
# This changelog is only for packages built using rpkg on copr.

* Tue Mar 14 2023 Florine W. Dekker - 1.2.3-1
- initial release with rpkg~