profile.d/gwebu-profile.spec.in
2025-11-02 16:52:51 +02:00

97 lines
2.9 KiB
RPMSpec

Summary: Gwebu profile.d - cool date, prompt with history, aliases
Name: gwebu-profile
Version: 1.0.8
Release: 0
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
* Sun Nov 02 2025 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.8-0
- Fixing VENV again...
* Tue May 27 2025 Doncho Gunchev <doncho.gunchev@flyr.com> - 1.0.7-1
- Shorten ~/.ssh/controlmasters to ~/.ssh/c (104 char limit on mac).
* Sun Mar 09 2025 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.7-0
- Improve python virtual environment support (uv) take 2.
* Sat Feb 15 2025 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.6-0
- Improve python virtual environment support (uv).
* Wed Oct 16 2024 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.5-0
- fix: Don't alias ip if iproute is not installed.
* Mon Jul 15 2024 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.4-0
- Fix python virtual environment support.
This works on MacOS with python 3.9, 3.10, 3.11 and 3.12.
* Sun Jul 14 2024 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.3-0
- Initial python virtual environment support.
* Thu May 30 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.2-6
- New shebang for changelog.sh, post-commit hook in README.md.
* Thu May 30 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.2-5
- Add ssh control masters management aliases. Silence a which.
* Thu May 30 2024 Jorge Stefanov <georgi.stefanov@flyrlabs.com> - 1.0.2-4
- adjusted time format for lll
* Tue May 14 2024 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.2-3
- Fix lll on MacOS.
* Tue May 14 2024 Doncho Gunchev <doncho.gunchev@flyrlabs.com> - 1.0.2-2
- Add ls aliases for MacOS (ll, lll).
* Fri Apr 26 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.2-1
- Don't add ip aliases on MacOS.
* Fri Apr 26 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.2-0
- Let's be MacOS compatible.
* Wed Apr 03 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.1-0
- Fix ip color on EL 7.
* 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.