mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-10 20:55:46 +00:00
General rework of the build process (distribution source and rpm).
This commit is contained in:
parent
e68638230a
commit
5b8a75b75c
6 changed files with 55 additions and 21 deletions
51
gwebu-profile.spec.in
Normal file
51
gwebu-profile.spec.in
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
Summary: Gwebu profile.d - cool date, prompt with history, aliases
|
||||
Name: gwebu-profile
|
||||
Version: 1.0.0
|
||||
Release: 5
|
||||
BuildArch: noarch
|
||||
License: GPLv2
|
||||
Source0: profile.d-%{version}-%{release}.tar.xz
|
||||
Requires: bash >= 4
|
||||
|
||||
|
||||
%description
|
||||
This package contains:
|
||||
- z-aliases.sh:
|
||||
a few useful aliases (l., lll) and colors for ip and less.
|
||||
- z-env.sh:
|
||||
default editor, history size and fzf integration.
|
||||
- z-ps-twtty-7.sh:
|
||||
Cool prompt with history organized year-month directories and day by day files.
|
||||
- z-time_style.sh:
|
||||
sets TIME_STYLE=long-iso
|
||||
|
||||
All these reside in /etc/profile.d/.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n profile.d-%{version}-%{release}
|
||||
|
||||
|
||||
%build
|
||||
# No build actions needed for Bash scripts
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||
install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/profile.d/*.sh
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 22 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.0-4
|
||||
- General rework of the build process (distribution source and rpm).
|
||||
|
||||
* Wed Feb 21 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.0-3
|
||||
- Minor updates.
|
||||
|
||||
* Wed Feb 14 2024 Valentin Todorov <vtodorov@ctw.travel> - 1.0-1
|
||||
- Initial package.
|
||||
Loading…
Add table
Add a link
Reference in a new issue