Name: bash-insulter Version: 0.1.20171120 Release: 1%{?dist} Summary: Randomly insults the user when typing wrong command. Group: System Environment/Shells License: GPL+ URL: https://github.com/hkbakke/bash-insulter Source0: https://github.com/hkbakke/bash-insulter/tree/master/src/bash.command-not-found BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 %description Randomly insults the user when typing wrong command. Change insults as needed :) %prep %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/profile.d install %{SOURCE0} $RPM_BUILD_ROOT/etc/profile.d/bash-command-not-found.sh /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %post %preun %files -f %{name}-%{version}-filelist %defattr(-,root,root,-) %changelog * Mon Nov 20 2017 Jean-Philipe Pialasse 0.1.20171120-1.sme - initial release