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-08-19 01:02:35 -07:00
|
|
|
Requires: libX11
|
|
|
|
Requires: libSM
|
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/
|
|
|
|
ln -sf ../../opt/sourcegit/sourcegit %{buildroot}/%{_bindir}
|
|
|
|
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
|