2024-04-16 17:29:36 +08: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 11:50:16 +00:00
|
|
|
Requires: libX11.so.6()(%{__isa_bits}bit)
|
|
|
|
Requires: libSM.so.6()(%{__isa_bits}bit)
|
2024-12-04 06:31:29 +05:00
|
|
|
Requires: libicu
|
2025-01-10 01:29:19 +00:00
|
|
|
Requires: xdg-utils
|
2024-04-16 17:29:36 +08:00
|
|
|
|
|
|
|
%define _build_id_links none
|
|
|
|
|
|
|
|
%description
|
|
|
|
Open-source & Free Git Gui Client
|
|
|
|
|
|
|
|
%install
|
2024-08-02 20:49:08 +00: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 08:04:28 +00:00
|
|
|
ln -rsf %{buildroot}/opt/sourcegit/sourcegit %{buildroot}/%{_bindir}
|
2024-08-02 20:49:08 +00: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 17:29:36 +08:00
|
|
|
|
|
|
|
%files
|
2024-08-02 20:49:08 +00:00
|
|
|
%dir /opt/sourcegit/
|
|
|
|
/opt/sourcegit/*
|
|
|
|
/usr/share/applications/sourcegit.desktop
|
|
|
|
/usr/share/icons/*
|
|
|
|
%{_bindir}/sourcegit
|
2024-06-28 11:21:58 +08:00
|
|
|
|
2024-04-16 17:29:36 +08:00
|
|
|
%changelog
|
2024-08-02 20:49:08 +00:00
|
|
|
# skip
|