2024-04-16 02:29:36 -07:00
|
|
|
Name: sourcegit
|
|
|
|
Version: %_version
|
|
|
|
Release: 1
|
|
|
|
Summary: Open-source & Free Git Gui Client
|
|
|
|
License: MIT
|
|
|
|
URL: https://sourcegit-scm.github.io/
|
|
|
|
Source: https://github.com/sourcegit-scm/sourcegit/archive/refs/tags/v%_version.tar.gz
|
2024-11-12 03:50:16 -08:00
|
|
|
Requires: libX11.so.6()(%{__isa_bits}bit)
|
|
|
|
Requires: libSM.so.6()(%{__isa_bits}bit)
|
2024-12-03 17:31:29 -08:00
|
|
|
Requires: libicu
|
2024-04-16 02:29:36 -07:00
|
|
|
|
|
|
|
%define _build_id_links none
|
|
|
|
|
|
|
|
%description
|
|
|
|
Open-source & Free Git Gui Client
|
|
|
|
|
|
|
|
%install
|
2024-08-02 13:49:08 -07:00
|
|
|
mkdir -p %{buildroot}/opt/sourcegit
|
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
|
|
mkdir -p %{buildroot}/usr/share/applications
|
|
|
|
mkdir -p %{buildroot}/usr/share/icons
|
|
|
|
cp -f ../../../SourceGit/* %{buildroot}/opt/sourcegit/
|
2024-08-19 01:04:28 -07:00
|
|
|
ln -rsf %{buildroot}/opt/sourcegit/sourcegit %{buildroot}/%{_bindir}
|
2024-08-02 13:49:08 -07:00
|
|
|
cp -r ../../_common/applications %{buildroot}/%{_datadir}
|
|
|
|
cp -r ../../_common/icons %{buildroot}/%{_datadir}
|
|
|
|
chmod 755 -R %{buildroot}/opt/sourcegit
|
|
|
|
chmod 755 %{buildroot}/%{_datadir}/applications/sourcegit.desktop
|
2024-04-16 02:29:36 -07:00
|
|
|
|
|
|
|
%files
|
2024-08-02 13:49:08 -07:00
|
|
|
%dir /opt/sourcegit/
|
|
|
|
/opt/sourcegit/*
|
|
|
|
/usr/share/applications/sourcegit.desktop
|
|
|
|
/usr/share/icons/*
|
|
|
|
%{_bindir}/sourcegit
|
2024-06-27 20:21:58 -07:00
|
|
|
|
2024-04-16 02:29:36 -07:00
|
|
|
%changelog
|
2024-08-02 13:49:08 -07:00
|
|
|
# skip
|