[hg-git/el6] Initial SETUP

Christopher Meng cicku at fedoraproject.org
Thu Jun 6 17:06:03 UTC 2013


commit 6aecc85f55bc1dcab2e429a36b0e9dd2c9c99cfe
Author: Christopher Meng <rpm at cicku.me>
Date:   Fri Jun 7 01:00:30 2013 +0800

    Initial SETUP

 .gitignore  |    1 +
 hg-git.spec |   44 ++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4b933f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.4.0.tar.bz2
diff --git a/hg-git.spec b/hg-git.spec
new file mode 100644
index 0000000..783787b
--- /dev/null
+++ b/hg-git.spec
@@ -0,0 +1,44 @@
+%global rev a3c3b8077cbe
+
+Name:              hg-git
+Version:           0.4.0
+Release:           1%{?dist}
+Summary:           Mercurial Plugin for Communicating with Git Servers
+License:           GPLv2+
+Url:               http://hg-git.github.io
+Source0:           https://bitbucket.org/durin42/%{name}/get/%{version}.tar.bz2
+
+BuildArch:         noarch
+BuildRequires:     mercurial
+BuildRequires:     python2-devel
+BuildRequires:     python-dulwich
+BuildRequires:     python-setuptools
+Requires:          mercurial
+Requires:          python-dulwich
+
+%description
+This is the Hg-Git plugin for Mercurial, adding the ability to push and pull
+to/from a Git server repository from Hg. This means you can collaborate on Git
+based projects from Hg, or use a Git server as a collaboration point for a team
+with developers using both Git and Hg. It can also convert commits/changesets 
+losslessly from one system to another, so you can push via an Hg repository 
+and another Hg client can pull it and their changeset node ids will be 
+identical - Mercurial data does not get lost in translation.
+
+%prep
+%setup -q -n durin42-%{name}-%{rev}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%files
+%doc COPYING DESIGN.txt README.md TODO.txt
+%{python_sitelib}/hggit/
+%{python_sitelib}/hg_git-0.4.0-py2.7.egg-info/
+
+%changelog
+* Sat Apr 20 2013 Christopher Meng <rpm at cicku.me> - 0.4.0-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..6e6de15 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84fc28be227cf613ce91713b63238404  0.4.0.tar.bz2


More information about the scm-commits mailing list