Alma 9 packages added and updated

This commit is contained in:
2023-05-19 09:41:21 +02:00
parent eb9304b9c9
commit 3194e5f5f8
10 changed files with 3694 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
Name: powerline-go
Version: 1.23
Release: 1%{?dist}
Summary: A Powerline style prompt for your shell
%define debug_package %{nil}
License: MIT
URL: https://github.com/justjanne/powerline-go
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.conf
BuildRequires: golang >= 1.8
%if 0%{?rhel} >= 8
%else
BuildRequires: go-bindata
%endif
Requires: git
# Temporary solution while waiting for golang and go-bindata to be built in cbs.centos.org
ExclusiveArch: i686 x86_64
%description
A Powerline style prompt for your shell
%prep
%setup -q -n %name-%version
%build
go build
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_datarootdir}/doc/%{name}
install %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name}
install %{S:1} $RPM_BUILD_ROOT/%{_datarootdir}/doc/%{name}/%{name}.conf
%files
%doc LICENSE.md README.md
%doc %{_datarootdir}/doc/%{name}/%{name}.conf
%{_bindir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri May 19 2023 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to 1.23 version.
* Fri Apr 22 2022 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to 1.22.1 version.
* Fri May 21 2021 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- First build on Fedora 34.
* Sun Mar 7 2021 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Initial version.