generated from smedev/Template-for-SMEServer-Contribs-Package
51 lines
1.3 KiB
RPMSpec
51 lines
1.3 KiB
RPMSpec
Name: advancedprompt
|
|
Version: 0.1
|
|
Release: 4%{?dist}
|
|
Summary: A coloured prompt for your linux server
|
|
Group: System Environment/Shells
|
|
License: GPL+
|
|
URL: https://www.koozali.org
|
|
Source0: coloured.sh
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03
|
|
|
|
%description
|
|
A coloured prompt for your linux server. It will display your username, host.domain and full path of the current dir
|
|
[myuser@myhost.domain.com:/home/e-smith/files/ibays/Primary]$
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/etc/profile.d
|
|
install %{SOURCE0} $RPM_BUILD_ROOT/etc/profile.d/
|
|
/bin/rm -f %{name}-%{version}-filelist
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
|
|
%preun
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
%defattr(-,root,root,-)
|
|
|
|
%changelog
|
|
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
|
|
- fix domain name displayed twice \H to \h [SME: 11389]
|
|
|
|
* Sun Oct 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-3.sme
|
|
- Import in SME10 tree [SME: 11041]
|
|
|
|
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
|
|
- added missing # and $
|
|
|
|
* Mon Nov 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
|
|
- initial release
|