Name: sausage Version: 0.4.0 Release: %autorelease Summary: Sausage is a terminal word forming game, written in Bash, inspired by Bookworm. BuildArch: noarch License: MPL-2.0 URL: https://gitlab.com/christosangel/sausage Source0: https://gitlab.com/christosangel/sausage/-/archive/%{version}/sausage-%{version}.tar.gz Source1: sausage.config Requires: bash Requires: coreutils Requires: ncurses %description sausage is a terminal word forming game, written in Bash. This game was inspired by Bookworm. %prep %autosetup %install install -Dm755 %{name}.sh %{buildroot}/%{_bindir}/%{name}.sh install -Dm644 rules.txt %{buildroot}/%{_datadir}/%{name}/rules.txt install -Dm644 dictionary.txt %{buildroot}/%{_sysconfdir}/%{name}/dictionary.txt install -Dm644 %{S:1} %{buildroot}/%{_sysconfdir}/%{name}/sausage.config install -Dm644 LICENSE %{buildroot}/%{_defaultlicensedir}/%{name}/LICENSE install -Dm644 README.md %{buildroot}/%{_mandir}/%{name}/README.md %files %{_bindir}/%{name}.sh %{_datadir}/%{name}/rules.txt %{_sysconfdir}/%{name}/dictionary.txt %{_sysconfdir}/%{name}/sausage.config %license %{_defaultlicensedir}/%{name}/LICENSE %doc %{_mandir}/%{name}/README.md %changelog %autochangelog