mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
31 lines
No EOL
718 B
RPMSpec
31 lines
No EOL
718 B
RPMSpec
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
|
|
%attr(555,root,root)/usr/bin
|
|
/usr/share
|
|
|
|
%changelog
|
|
# skip |