6 |
Group: System Environment/Shells |
Group: System Environment/Shells |
7 |
License: GPL+ |
License: GPL+ |
8 |
URL: https://github.com/hkbakke/bash-insulter |
URL: https://github.com/hkbakke/bash-insulter |
9 |
Source0: bash-insulter-0.1.20171120.800dd7a.tgz |
Source0: https://github.com/hkbakke/bash-insulter/tree/master/src/bash.command-not-found |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
11 |
|
BuildArch: noarch |
12 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
13 |
|
|
14 |
%description |
%description |
15 |
Randomly insults the user when typing wrong command. |
Randomly insults the user when typing wrong command. |
16 |
Change insults as needed :) |
Change insults as needed :) |
17 |
|
|
18 |
%prep |
%prep |
|
%setup -q |
|
19 |
|
|
20 |
%build |
%build |
21 |
|
|
|
|
|
22 |
%install |
%install |
23 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
24 |
make install DESTDIR=$RPM_BUILD_ROOT |
mkdir -p $RPM_BUILD_ROOT/etc/profile.d |
25 |
|
install %{SOURCE0} $RPM_BUILD_ROOT/etc/profile.d/bash-command-not-found.sh |
26 |
|
/bin/rm -f %{name}-%{version}-filelist |
27 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
28 |
|
|
29 |
%clean |
%clean |
30 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
35 |
%preun |
%preun |
36 |
|
|
37 |
|
|
38 |
%files |
%files -f %{name}-%{version}-filelist |
39 |
|
%defattr(-,root,root,-) |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.20171120-1.sme |
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.20171120-1.sme |