mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-21 19:10:39 +00:00
add gcm-core
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "gcm-core.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global long_name git-credential-manager
|
||||
|
||||
%global forgeurl https://github.com/GitCredentialManager/git-credential-manager
|
||||
|
||||
Name: gcm-core
|
||||
Version: 2.0.785
|
||||
%forgemeta -i
|
||||
Release: 1%{?dist}
|
||||
Summary: Secure, cross-platform Git credential storage
|
||||
|
||||
License: MIT
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
Provides: %{long_name} = %{version}-%{release}
|
||||
Provides: %{long_name}-core = %{version}-%{release}
|
||||
|
||||
BuildRequires: dotnet-sdk-6.0
|
||||
# Require DPKG, so that we can use the `dpkg-architecture` command. which makes the build script happy.
|
||||
# TODO: Better solution: Patch out the debian-specific packaging code.
|
||||
BuildRequires: dpkg-dev
|
||||
Requires: dotnet-runtime-6.0
|
||||
|
||||
|
||||
%description
|
||||
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
|
||||
%build
|
||||
dotnet build -c LinuxRelease
|
||||
|
||||
|
||||
%install
|
||||
install -D -m 755 out/linux/Packaging.Linux/payload/Release/%{long_name}-core %{buildroot}%{_bindir}/%{long_name}-core
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Oct 22 2022 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
-
|
||||
Reference in New Issue
Block a user