1 Summary: Bzr plugin for fast loading of data from other VCS tools
5 Group: Development/Languages
6 # Some modules in the exporters/ subdir are MIT-licensed.
7 License: GPL v2+ and MIT
8 Source0: http://launchpad.net/bzr-fastimport/trunk/%{version}/+download/%{name}-%{version}.tar.gz
9 # Source0-md5: e47115774d44ae0c3b027ae0374aa52e
10 URL: https://launchpad.net/bzr-fastimport
11 BuildRequires: rpmbuild(macros) >= 1.710
12 Patch0: bug-1101776.patch
13 Patch1: bug-541626.patch
15 BuildRequires: python-distribute
17 Requires: python-fastimport
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Bazaar Fast Import is a plugin providing fast loading of revision
23 control data into Bazaar. It is designed to be used in combination
24 with front-end programs that generate a command/data stream for it to
25 process. Front-ends are available for a wide range of foreign VCS
26 tools including Subversion, CVS, Git, Mercurial, Darcs and Perforce.
27 New front-ends are easy to develop in whatever programming language
28 you prefer, making Bazaar Fast Import useful for teams needing a
29 custom migration solution.
40 rm -rf $RPM_BUILD_ROOT
44 --root $RPM_BUILD_ROOT
48 # not interested to package tests at runtime
49 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/bzrlib/plugins/fastimport/tests
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{py_sitescriptdir}/bzr_fastimport-*.egg-info
59 %dir %{py_sitescriptdir}/bzrlib
60 %dir %{py_sitescriptdir}/bzrlib/plugins
62 %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport
63 %{py_sitescriptdir}/bzrlib/plugins/fastimport/*.py[co]
64 %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors
65 %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors/*.py[co]