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