[packages/grokmirror] new, version 0.3.4

glen glen at pld-linux.org
Mon Apr 13 10:46:03 CEST 2015


commit 691bf212b7370a5bdae311ffa57b42fb6b862187
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 13 11:45:23 2015 +0300

    new, version 0.3.4
    
    based on fedora python-grokmirror package, ff73dcd

 grokmirror.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/grokmirror.spec b/grokmirror.spec
new file mode 100644
index 0000000..dacadf0
--- /dev/null
+++ b/grokmirror.spec
@@ -0,0 +1,64 @@
+Summary:	Framework to smartly mirror git repositories
+Name:		grokmirror
+Version:	0.3.4
+Release:	1
+License:	GPL v3+
+Group:		Networking/Utilities
+Source0:	https://www.kernel.org/pub/software/network/grokmirror/%{name}-%{version}.tar.xz
+# Source0-md5:	28384b6799b5f3cf40e8a3dd20f5a346
+URL:		https://git.kernel.org/cgit/utils/grokmirror/grokmirror.git
+BuildRequires:	python-setuptools
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	python-git
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Grokmirror was written to make mirroring large git repository
+collections more efficient. Grokmirror uses the manifest file
+published by the master mirror in order to figure out which
+repositories to clone, and to track which repositories require
+updating. The process is extremely lightweight and efficient both for
+the master and for the mirrors.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p grok-manifest.py  $RPM_BUILD_ROOT%{_bindir}/grok-manifest
+install -p grok-pull.py      $RPM_BUILD_ROOT%{_bindir}/grok-pull
+install -p grok-fsck.py      $RPM_BUILD_ROOT%{_bindir}/grok-fsck
+install -p grok-dumb-pull.py $RPM_BUILD_ROOT%{_bindir}/grok-dumb-pull
+cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst repos.conf fsck.conf
+%attr(755,root,root) %{_bindir}/grok-dumb-pull
+%attr(755,root,root) %{_bindir}/grok-fsck
+%attr(755,root,root) %{_bindir}/grok-manifest
+%attr(755,root,root) %{_bindir}/grok-pull
+%{_mandir}/man1/grok-dumb-pull.1*
+%{_mandir}/man1/grok-fsck.1*
+%{_mandir}/man1/grok-manifest.1*
+%{_mandir}/man1/grok-pull.1*
+%{py_sitescriptdir}/grokmirror-%{version}-py*.egg-info
+%dir %{py_sitescriptdir}/grokmirror
+%{py_sitescriptdir}/grokmirror/*.py[co]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grokmirror.git/commitdiff/691bf212b7370a5bdae311ffa57b42fb6b862187



More information about the pld-cvs-commit mailing list