1 |
brianr |
1.1 |
Name: advancedprompt |
2 |
|
|
Version: 0.1 |
3 |
jpp |
1.4 |
Release: 4%{?dist} |
4 |
brianr |
1.1 |
Summary: A coloured prompt for your linux server |
5 |
|
|
Group: System Environment/Shells |
6 |
|
|
License: GPL+ |
7 |
|
|
URL: https://www.koozali.org |
8 |
|
|
Source0: coloured.sh |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
|
BuildArch: noarch |
11 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
12 |
|
|
|
13 |
|
|
%description |
14 |
|
|
A coloured prompt for your linux server. It will display your username, host.domain and full path of the current dir |
15 |
|
|
[myuser@myhost.domain.com:/home/e-smith/files/ibays/Primary]$ |
16 |
|
|
%prep |
17 |
|
|
|
18 |
|
|
%build |
19 |
|
|
|
20 |
|
|
%install |
21 |
|
|
rm -rf $RPM_BUILD_ROOT |
22 |
|
|
mkdir -p $RPM_BUILD_ROOT/etc/profile.d |
23 |
|
|
install %{SOURCE0} $RPM_BUILD_ROOT/etc/profile.d/ |
24 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
25 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
26 |
|
|
|
27 |
|
|
%clean |
28 |
|
|
rm -rf $RPM_BUILD_ROOT |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
%post |
32 |
|
|
|
33 |
|
|
%preun |
34 |
|
|
|
35 |
|
|
|
36 |
|
|
%files -f %{name}-%{version}-filelist |
37 |
|
|
%defattr(-,root,root,-) |
38 |
|
|
|
39 |
|
|
%changelog |
40 |
jpp |
1.3 |
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme |
41 |
|
|
- fix domain name displayed twice \H to \h [SME: 11389] |
42 |
|
|
|
43 |
brianr |
1.2 |
* Sun Oct 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-3.sme |
44 |
|
|
- Import in SME10 tree [SME: 11041] |
45 |
|
|
|
46 |
brianr |
1.1 |
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme |
47 |
|
|
- added missing # and $ |
48 |
|
|
|
49 |
|
|
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme |
50 |
|
|
- initial release |