]> git.pld-linux.org Git - SPECS.git/blob - gitaly.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gitaly.spec
1 Summary:        Stop relying on NFS for horizontal scaling. Speed up Git access using caching
2 Name:           gitaly
3 Version:        0.52.1
4 Release:        1
5 License:        MIT
6 Group:          Networking/Daemons/HTTP
7 Source0:        https://gitlab.com/gitlab-org/gitaly/repository/archive.tar.bz2?ref=v%{version}&/%{name}-%{version}.tar.bz2
8 # Source0-md5:  4969571c7accfd57b460f08b6fe34a75
9 URL:            https://gitlab.com/gitlab-org/gitaly
10 BuildRequires:  cmake
11 BuildRequires:  golang >= 1.8
12 BuildRequires:  libicu-devel
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  rpmbuild(macros) >= 1.647
15 BuildRequires:  ruby > 1:2.3
16 BuildRequires:  ruby-bundler
17 BuildRequires:  ruby-devel
18 BuildRequires:  ruby-io-console
19 BuildRequires:  ruby-psych
20 BuildRequires:  ruby-rubygems >= 2.6.9
21 BuildRequires:  zlib-devel
22 Requires:       git-core >= 2.13.6
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Gitaly is a Git RPC service for handling all the git calls made by
27 GitLab.
28
29 %prep
30 %setup -qc
31 mv %{name}-v%{version}-*/* .
32
33 %build
34 # enable-gems to workaround
35 RUBYOPT=--enable-gems \
36 %{__make} \
37         VERSION=%{version}
38
39 # verify
40 ./gitaly --version > v
41 grep "%{version}" v
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} install \
46         PREFIX=%{_prefix} \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README.md CHANGELOG.md LICENSE
55 %attr(755,root,root) %{_bindir}/gitaly
56 %attr(755,root,root) %{_bindir}/gitaly-ssh
This page took 0.760561 seconds and 3 git commands to generate.