[git-remote-hg] Initial import (#1111561)

Ondrej Oprala ooprala at fedoraproject.org
Sun Jun 22 08:51:35 UTC 2014


commit 16a8c7afbf14bce2fd35619d4d8993229388a1a8
Author: Ondrej Oprala <ooprala at redhat.com>
Date:   Sun Jun 22 10:51:26 2014 +0200

    Initial import (#1111561)

 .gitignore         |    1 +
 git-remote-hg.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0234a8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/git-remote-hg-0.2.tar.gz
diff --git a/git-remote-hg.spec b/git-remote-hg.spec
new file mode 100644
index 0000000..5fec0d6
--- /dev/null
+++ b/git-remote-hg.spec
@@ -0,0 +1,47 @@
+Name:           git-remote-hg
+Version:        0.2
+Release:        1%{?dist}
+BuildArch:      noarch
+Summary:        Mercurial wrapper for git
+License:        GPLv2+
+Group:          Development/Tools
+URL:            https://github.com/felipec/git-remote-hg
+Source0:        https://github.com/felipec/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildRequires:  asciidoc >= 8.4.1
+BuildRequires:  hg-git
+BuildRequires:  python2-devel
+Requires:       python
+Requires:       git
+Requires:       mercurial
+
+%description
+git-remote-hg is the semi-official Mercurial bridge from Git project.
+Once installed, it allows you to clone, fetch and push to and from Mercurial
+repositories as if they were Git ones.
+
+%prep
+%setup -q
+sed -i -e "1 s|^#!.*|#!%{__python2}|" git-remote-hg
+sed -i -e 's|\tinstall|\tinstall -p|' Makefile
+
+%build
+make doc
+
+%check
+make test
+
+%install
+export HOME=%{_prefix}
+export DESTDIR=%{buildroot}
+make install
+make install-doc
+
+%files
+%doc LICENSE
+%{_bindir}/git-remote-hg
+%{_mandir}/man1/*
+
+%changelog
+* Thu Jun 19 2014 Ondrej Oprala <ooprala at redhat.com> - 0.2-1
+- initial git-remote-hg spec file
diff --git a/sources b/sources
index e69de29..a7d9ede 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a424e2f26da9c6074982934111beb4dd  git-remote-hg-0.2.tar.gz


More information about the scm-commits mailing list