2024-01-05 23:04:37 +01:00
|
|
|
Name: gitlab-gitaly
|
2024-01-05 23:04:37 +01:00
|
|
|
Version: 13.11.4
|
2024-01-05 23:04:37 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Speed up Git access using caching
|
|
|
|
Group: Applications/Web
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://gitlab.com/gitlab-org/gitaly
|
|
|
|
Source: https://gitlab.com/gitlab-org/gitaly/-/archive/v%{version}/gitaly-v%{version}.tar.gz
|
|
|
|
Source1: gitlab-gitaly.service
|
|
|
|
Patch0: gitlab-gitaly-configs.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: go
|
|
|
|
BuildRequires: git
|
|
|
|
|
|
|
|
%description
|
|
|
|
Speed up Git access using caching.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%global __requires_exclude_from ^%{_datadir}/gitlab-gitaly/ruby/vendor/.*$
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n gitaly-v%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
# https://github.com/bundler/bundler/issues/6882
|
|
|
|
sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
|
|
|
|
|
|
|
|
%build
|
|
|
|
bundle config force_ruby_platform true # build from sources as some prebuilt gems are not available for newer ruby
|
|
|
|
make BUILD_TAGS="tracer_static tracer_static_jaeger"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
make PREFIX=/usr DESTDIR="%{buildroot}" install
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/gitlab
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/gitlab-gitaly
|
|
|
|
cp -r ruby %{buildroot}%{_datadir}/gitlab-gitaly/ruby
|
|
|
|
|
|
|
|
install -Dm644 config.toml.example %{buildroot}%{_sysconfdir}/gitlab/gitlab-gitaly-config.toml
|
|
|
|
install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/gitlab-gitaly.service
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun gitlab-gitaly
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post gitlab-gitaly
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart gitlab-gitaly
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/gitlab/gitlab-gitaly-config.toml
|
|
|
|
%{_unitdir}/gitlab-gitaly.service
|
|
|
|
%{_bindir}/gitaly
|
|
|
|
%{_bindir}/gitaly-blackbox
|
|
|
|
%{_bindir}/gitaly-debug
|
|
|
|
%{_bindir}/gitaly-git2go
|
|
|
|
%{_bindir}/gitaly-hooks
|
|
|
|
%{_bindir}/gitaly-lfs-smudge
|
|
|
|
%{_bindir}/gitaly-ssh
|
|
|
|
%{_bindir}/gitaly-wrapper
|
|
|
|
%{_bindir}/praefect
|
|
|
|
%{_datadir}/gitlab-gitaly
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:04:37 +01:00
|
|
|
* Fri May 28 2021 Automatic Build System <autodist@mambasoft.it> 13.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:04:37 +01:00
|
|
|
* Tue May 11 2021 Automatic Build System <autodist@mambasoft.it> 13.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:04:37 +01:00
|
|
|
* Mon Mar 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 13.10.0-1mamba
|
|
|
|
- package created using the webbuild interface
|