]> git.pld-linux.org Git - SPECS.git/blob - grokmirror.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / grokmirror.spec
1 # TODO: systemd support? (see contrib dir)
2 Summary:        Framework to smartly mirror git repositories
3 Summary(pl.UTF-8):      Szkielet do eleganckiego tworzenia kopii lustrzanych repozytoriów git
4 Name:           grokmirror
5 Version:        2.0.8
6 Release:        1
7 License:        GPL v3+
8 Group:          Networking/Utilities
9 Source0:        https://www.kernel.org/pub/software/network/grokmirror/%{name}-%{version}.tar.xz
10 # Source0-md5:  bbf6174c58b048f3143b5204fddc4d8a
11 URL:            https://git.kernel.org/cgit/utils/grokmirror/grokmirror.git
12 BuildRequires:  python3 >= 1:3.6
13 BuildRequires:  python3-setuptools
14 BuildRequires:  rpmbuild(macros) >= 1.714
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 Requires:       git-core
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Grokmirror was written to make mirroring large git repository
23 collections more efficient. Grokmirror uses the manifest file
24 published by the master mirror in order to figure out which
25 repositories to clone, and to track which repositories require
26 updating. The process is extremely lightweight and efficient both for
27 the master and for the mirrors.
28
29 %description -l pl.UTF-8
30 Grokmirror został napisany, aby poprawić wydajność tworzenia kopii
31 lustrzanych dużych zbiorów repozytoriów git. Grokmirror używa plik
32 manifest, opublikowany przez główny serwer, w celu określenia
33 repozytoriów do klonowania oraz śledzenia, które wymagają
34 uaktualnienia. Proces jest bardzo lekki i wydajny, zarówno dla serwera
35 głównego, jak i kopii.
36
37 %prep
38 %setup -q
39
40 %build
41 %py3_build
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %py3_install
47
48 install -d $RPM_BUILD_ROOT%{_mandir}/man1
49 cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc CHANGELOG.rst README.rst UPGRADING.rst grokmirror.conf pi-piper.conf
57 %attr(755,root,root) %{_bindir}/grok-bundle
58 %attr(755,root,root) %{_bindir}/grok-dumb-pull
59 %attr(755,root,root) %{_bindir}/grok-fsck
60 %attr(755,root,root) %{_bindir}/grok-manifest
61 %attr(755,root,root) %{_bindir}/grok-pi-piper
62 %attr(755,root,root) %{_bindir}/grok-pull
63 %{_mandir}/man1/grok-bundle.1*
64 %{_mandir}/man1/grok-dumb-pull.1*
65 %{_mandir}/man1/grok-fsck.1*
66 %{_mandir}/man1/grok-manifest.1*
67 %{_mandir}/man1/grok-pi-piper.1*
68 %{_mandir}/man1/grok-pull.1*
69 %{py3_sitescriptdir}/grokmirror
70 %{py3_sitescriptdir}/grokmirror-%{version}-py*.egg-info
This page took 0.267079 seconds and 3 git commands to generate.