/[smecontribs]/rpms/bash-insulter/contribs10/bash-insulter.spec
ViewVC logotype

Contents of /rpms/bash-insulter/contribs10/bash-insulter.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 24 04:50:30 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: bash-insulter-0_1_20171120-1_el7_sme, HEAD
Initial import

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 Source0: https://github.com/hkbakke/bash-insulter/tree/master/src/bash.command-not-found
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 BuildArch: noarch
12 BuildRequires: e-smith-devtools >= 1.13.1-03
13
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 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
30 rm -rf $RPM_BUILD_ROOT
31
32
33 %post
34
35 %preun
36
37
38 %files -f %{name}-%{version}-filelist
39 %defattr(-,root,root,-)
40
41 %changelog
42 * Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.20171120-1.sme
43 - initial release

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed