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

Annotation of /rpms/bash-insulter/contribs9/bash-insulter.spec

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


Revision 1.2 - (hide annotations) (download)
Mon Nov 20 22:49:05 2017 UTC (6 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: bash-insulter-0_1_20171120-1_el6_sme, HEAD
Changes since 1.1: +9 -5 lines
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.20171120-1.sme
- initial release

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

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