profile.d/gwebu-profile.spec.in

101 lines
3 KiB
RPMSpec
Raw Permalink Normal View History

2024-02-21 13:16:01 +02:00
Summary: Gwebu profile.d - cool date, prompt with history, aliases
2024-02-21 12:49:16 +02:00
Name: gwebu-profile
Version: 1.0.9
Release: 0
2024-02-21 12:49:16 +02:00
BuildArch: noarch
License: GPLv2
Source0: profile.d-%{version}-%{release}.tar.xz
2024-02-21 12:49:16 +02:00
Requires: bash >= 4
2024-02-21 12:49:16 +02:00
%description
2024-02-21 13:16:01 +02:00
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/.
2024-02-21 12:49:16 +02:00
2024-02-21 12:49:16 +02:00
%prep
%setup -q -n profile.d-%{version}-%{release}
2024-02-21 12:49:16 +02:00
%build
# No build actions needed for Bash scripts
2024-02-21 12:49:16 +02:00
%install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
2024-02-21 13:16:01 +02:00
install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/
2024-02-21 12:49:16 +02:00
2024-02-21 12:49:16 +02:00
%files
%defattr(-,root,root,-)
%{_sysconfdir}/profile.d/*.sh
2024-02-21 12:49:16 +02:00
%changelog
* Sun Nov 30 2025 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.9-0
- Format the code, add fmt and check targets
* 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.
2024-04-26 15:13:11 +03:00
* 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).
2024-02-21 13:16:01 +02:00
* Wed Feb 21 2024 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.0-3
- Minor updates.
2024-02-21 12:49:16 +02:00
* Wed Feb 14 2024 Valentin Todorov <vtodorov@ctw.travel> - 1.0-1
- Initial package.