Hello community,

here is the log from the commit of package hg-fast-export for openSUSE:Factory
checked in at Mon Sep 19 17:04:57 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/hg-fast-export/hg-fast-export.changes  
2011-09-15 13:44:57.000000000 +0200
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Thu Sep 15 11:43:47 UTC 2011 - [email protected]
+
+- Initial SUSE packaging of hg-fast-export (snapshot 20110613)
+- Add manual pages and hg-git script from Debian package
+

calling whatdependson for head-i586


New:
----
  fast-export-0.20110613.tar.gz
  hg-fast-export.changes
  hg-fast-export.spec
  hg-fast-export_20110318-2.debian.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hg-fast-export.spec ++++++
#
# spec file for package hg-fast-export
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define short_name fast-export

%define py_sitedir %{_prefix}/lib/python%{py_ver}/site-packages

Name:       hg-fast-export
Version:    0.20110613
Release:    1
Summary:    Mercurial to git converter using git-fast-import
License:    GPLv2
Group:      Development/Tools/Version Control
Url:        http://repo.or.cz/w/fast-export.git
# git clone %{URL}
# VERSION=`git log -n 1 --pretty=%ci | cut -d ' ' -f 1 | tr -d '-'`
# tar -cjf fast-export-${VERSION}.tar.gz fast-export/
Source0:    %{short_name}-%{version}.tar.gz
Source1:    
http://ftp.de.debian.org/debian/pool/main/h/hg-fast-export/hg-fast-export_20110318-2.debian.tar.gz

BuildArch:  noarch

BuildRequires:  python-devel

Requires:   python
Requires:   git
Requires:   mercurial

%description
hg-fast-export tool allows incremental import of mercurial repositories to git
repositories.

It can automatically import a local hg repo into a local git repo using just
one command. Subsequent importing of new changesets is supported.

Included git-hg wrapper script can be used to transparently track Mercurial
repositories without a separate checkout. It also includes experimental support
for pushing back to Mercurial. 

%prep
%setup -q -n %{short_name} -a 1

sed --in-place 's@^ROOT=.*@ROOT="/usr/share/%{name}"@' hg-fast-export.sh 
hg-reset.sh
sed --in-place '/^#!\/usr\/bin\/env.*/d' *.py

%build
#nope

%install

# binaries
%{__install} -d -m 0755 %{buildroot}%{_bindir}
%{__install} -m 0755 debian/git-hg %{buildroot}%{_bindir}
%{__install} -m 0755 hg-fast-export.sh %{buildroot}/%{_bindir}/hg-fast-export
%{__install} -m 0755 hg-reset.sh %{buildroot}/%{_bindir}/hg-reset

# python lib
%{__install} -d -m 0755 %{buildroot}/%{py_sitedir}
%{__install} -m 0644 hg2git.py* %{buildroot}/%{py_sitedir}

# other stuff
%{__install} -d -m 0755 %{buildroot}/%{_datadir}/%{name}
%{__install} -m 0644 hg-fast-export.py hg-reset.py 
%{buildroot}/%{_datadir}/%{name}/

# compile python stuff
%py_compile    %{buildroot}/%{py_sitedir}
%py_compile -O %{buildroot}/%{py_sitedir}
%py_compile    %{buildroot}/%{_datadir}/%{name}
%py_compile -O %{buildroot}/%{_datadir}/%{name}

# manual pages
%{__install} -d -m 0755 %{buildroot}/%{_mandir}/man1
%{__install} -m 0644 debian/*.1 %{buildroot}/%{_mandir}/man1/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc hg-fast-export.txt
%doc debian/copyright debian/README.git-hg
%{_bindir}/git-hg
%{_bindir}/hg-fast-export
%{_bindir}/hg-reset
%{py_sitedir}/hg2git.py*
%{_datadir}/%{name}
%{_mandir}/man1/*.1*

%changelog

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to