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 URL: https://launchpad.net/bzr-fastimport
9 Source0: http://launchpad.net/bzr-fastimport/trunk/%{version}/+download/%{name}-%{version}.tar.gz
10 # Source0-md5: be4e2b4b82adab83341d2a606de5ca27
12 BuildRequires: python-distribute
14 Requires: python-fastimport
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Bazaar Fast Import is a plugin providing fast loading of revision
20 control data into Bazaar. It is designed to be used in combination
21 with front-end programs that generate a command/data stream for it to
22 process. Front-ends are available for a wide range of foreign VCS
23 tools including Subversion, CVS, Git, Mercurial, Darcs and Perforce.
24 New front-ends are easy to develop in whatever programming language
25 you prefer, making Bazaar Fast Import useful for teams needing a
26 custom migration solution.
32 %{__python} setup.py build
35 rm -rf $RPM_BUILD_ROOT
36 %{__python} setup.py install \
39 --root $RPM_BUILD_ROOT
43 # not interested of tests at runtime
44 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/bzrlib/plugins/fastimport/tests
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{py_sitescriptdir}/bzr_fastimport-*.egg-info
54 %dir %{py_sitescriptdir}/bzrlib
55 %dir %{py_sitescriptdir}/bzrlib/plugins
57 %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport
58 %{py_sitescriptdir}/bzrlib/plugins/fastimport/*.py[co]
59 %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport/exporters
60 %{py_sitescriptdir}/bzrlib/plugins/fastimport/exporters/*.py[co]
61 %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors
62 %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors/*.py[co]