Name: sl Version: 5.02 Release: 1%{?dist} Summary: Joke command for when you type 'sl' instead of 'ls' License: Copyright only URL: https://github.com/mtoyoda/sl Source0: https://github.com/mtoyoda/sl/archive/%{version}/sl-%{version}.tar.gz BuildRequires: ncurses-devel, gcc # Copyright file is taken from the Debian project # http://packages.debian.org/changelogs/pool/main/s/sl/sl_3.03-14/sl.copyright # and has been confirmed with the original author. %description The sl (Steam Locomotive) command is a joke which displays a train on your terminal when you accidentally type 'sl' instead of 'ls'. %prep %setup -q %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} install -m0755 sl %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 install -p -m644 sl.1 %{buildroot}%{_mandir}/man1/ mkdir -p %{buildroot}%{_mandir}/ja/man1 install -p -m644 sl.1.ja %{buildroot}%{_mandir}/ja/man1/ %files %doc README.ja.md README.md LICENSE %{_mandir}/ja/man1/* %{_mandir}/man1/* %{_bindir}/sl %changelog * Mon Feb 14 2022 Vojtech Trefny - 5.02-1 - Initial build for EPEL 9