package created using the webbuild interface [release 3.1.4-1mamba;Sat Apr 23 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:03:26 +01:00
parent 89d62a7ce0
commit 15a92c798b
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# git-lfs
Git extension for versioning large files.

51
git-lfs.spec Normal file
View File

@ -0,0 +1,51 @@
Name: git-lfs
Version: 3.1.4
Release: 1mamba
Summary: Git extension for versioning large files
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://git-lfs.github.com/
Source: https://github.com/git-lfs/git-lfs.git/v%{version}/git-lfs-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: go
BuildRequires: ruby-ronn-ng
%description
Git extension for versioning large files.
%debug_package
%prep
%setup -q
%build
export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw -ldflags=-linkmode=external"
go generate ./commands
go build .
make man
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m755 git-lfs %{buildroot}%{_bindir}/git-lfs
install -D -m644 -t %{buildroot}%{_mandir}/man1 man/*.1
install -D -m644 -t %{buildroot}%{_mandir}/man5 man/*.5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/git-lfs
%{_mandir}/man1/git-lfs*.1*
%{_mandir}/man5/git-lfs-config.5*
%doc LICENSE.md
%changelog
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-1mamba
- package created using the webbuild interface