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
|
|
|
|
Requires: libX11.so.6
|
|
|
|
Requires: libSM.so.6
|
|
|
|
|
|
|
|
%define _build_id_links none
|
|
|
|
|
|
|
|
%description
|
|
|
|
Open-source & Free Git Gui Client
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/opt/sourcegit
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/icons
|
|
|
|
cp -r ../../_common/usr $RPM_BUILD_ROOT/
|
|
|
|
cp -f ../../../SourceGit/* $RPM_BUILD_ROOT/opt/sourcegit/
|
|
|
|
chmod 755 -R $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
/opt
|
2024-05-14 02:22:59 -07:00
|
|
|
%attr(555,root,root)/usr/bin
|
2024-04-16 02:29:36 -07:00
|
|
|
/usr/share
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
# skip
|