2024-01-05 23:04:37 +01:00
|
|
|
Name: gitlab-gitaly
|
2024-01-05 23:04:38 +01:00
|
|
|
Version: 14.4.5
|
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
|
2024-01-05 23:04:38 +01:00
|
|
|
Patch0: gitlab-gitaly-14.4.5-configs.patch
|
2024-01-05 23:04:37 +01:00
|
|
|
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}
|
2024-01-05 23:04:38 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 23:04:37 +01:00
|
|
|
# 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
|
|
|
|
%{_bindir}/gitaly
|
2024-01-05 23:04:38 +01:00
|
|
|
%{_bindir}/gitaly-*
|
2024-01-05 23:04:37 +01:00
|
|
|
%{_bindir}/praefect
|
2024-01-05 23:04:38 +01:00
|
|
|
%{_unitdir}/gitlab-gitaly.service
|
2024-01-05 23:04:37 +01:00
|
|
|
%{_datadir}/gitlab-gitaly
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:04:38 +01:00
|
|
|
* Tue May 31 2022 Automatic Build System <autodist@mambasoft.it> 14.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:04:38 +01:00
|
|
|
* Wed Jun 16 2021 Automatic Build System <autodist@mambasoft.it> 13.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:04:38 +01:00
|
|
|
* Fri Jun 11 2021 Automatic Build System <autodist@mambasoft.it> 13.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:04:38 +01:00
|
|
|
* Sat Jun 05 2021 Automatic Build System <autodist@mambasoft.it> 13.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
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
|