1 |
jpp |
1.1 |
Name: bash-insulter |
2 |
|
|
Version: 0.1.20171120 |
3 |
|
|
Release: 1%{?dist} |
4 |
|
|
Summary: Randomly insults the user when typing wrong command. |
5 |
|
|
|
6 |
|
|
Group: System Environment/Shells |
7 |
|
|
License: GPL+ |
8 |
|
|
URL: https://github.com/hkbakke/bash-insulter |
9 |
jpp |
1.2 |
Source0: https://github.com/hkbakke/bash-insulter/tree/master/src/bash.command-not-found |
10 |
jpp |
1.1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
11 |
jpp |
1.2 |
BuildArch: noarch |
12 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
13 |
jpp |
1.1 |
|
14 |
|
|
%description |
15 |
|
|
Randomly insults the user when typing wrong command. |
16 |
|
|
Change insults as needed :) |
17 |
|
|
|
18 |
|
|
%prep |
19 |
|
|
|
20 |
|
|
%build |
21 |
|
|
|
22 |
|
|
%install |
23 |
|
|
rm -rf $RPM_BUILD_ROOT |
24 |
jpp |
1.2 |
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 |
jpp |
1.1 |
|
29 |
|
|
%clean |
30 |
|
|
rm -rf $RPM_BUILD_ROOT |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
%post |
34 |
|
|
|
35 |
|
|
%preun |
36 |
|
|
|
37 |
|
|
|
38 |
jpp |
1.2 |
%files -f %{name}-%{version}-filelist |
39 |
|
|
%defattr(-,root,root,-) |
40 |
jpp |
1.1 |
|
41 |
|
|
%changelog |
42 |
|
|
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.20171120-1.sme |
43 |
|
|
- initial release |