From 8d956d558d98538465d43954dbff3b5f0cb859e7 Mon Sep 17 00:00:00 2001 From: Valentin Todorov Date: Wed, 21 Feb 2024 12:49:16 +0200 Subject: [PATCH] adding spec file --- gwebu-profile.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gwebu-profile.spec diff --git a/gwebu-profile.spec b/gwebu-profile.spec new file mode 100644 index 0000000..76c52ef --- /dev/null +++ b/gwebu-profile.spec @@ -0,0 +1,31 @@ +Summary: Install z-ps-twtty-7.sh and z-time_style.sh +Name: gwebu-profile +Version: 1.0 +Release: 2 +License: GPLv2 +Source0: %{name}-%{version}.tar.gz +BuildArch: noarch +Requires: bash >= 4 + +%description +Bash prompt look nicer, history ordered by date with exit codes, commands starting with space are not saved + +%prep +%setup -q + +%build +# No build actions needed for Bash scripts + +%install +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +#install -m 755 *.sh %{buildroot}%{_sysconfdir}/profile.d/ +install -m 644 *.sh %{buildroot}%{_sysconfdir}/profile.d/ +chmod 644 %{buildroot}%{_sysconfdir}/profile.d/*.sh + +%files +%defattr(-,root,root,-) +%{_sysconfdir}/profile.d/*.sh + +%changelog +* Wed Feb 14 2024 Valentin Todorov - 1.0-1 +- Initial package.