]>
Commit | Line | Data |
---|---|---|
7b04c40b ER |
1 | Summary: Bzr plugin for fast loading of data from other VCS tools |
2 | Name: bzr-fastimport | |
38d21f3e | 3 | Version: 0.13.0 |
7b04c40b ER |
4 | Release: 1 |
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 | |
38d21f3e | 10 | # Source0-md5: e47115774d44ae0c3b027ae0374aa52e |
7b04c40b ER |
11 | BuildRequires: bzr |
12 | BuildRequires: python-distribute | |
13 | Requires: bzr | |
14 | Requires: python-fastimport | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
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. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__python} setup.py build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %{__python} setup.py install \ | |
37 | -O2 \ | |
38 | --skip-build \ | |
39 | --root $RPM_BUILD_ROOT | |
40 | ||
41 | %py_postclean | |
42 | ||
43 | # not interested of tests at runtime | |
44 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/bzrlib/plugins/fastimport/tests | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
ed765ddd | 51 | %doc NEWS README.txt |
7b04c40b ER |
52 | %{py_sitescriptdir}/bzr_fastimport-*.egg-info |
53 | ||
54 | %dir %{py_sitescriptdir}/bzrlib | |
55 | %dir %{py_sitescriptdir}/bzrlib/plugins | |
56 | ||
57 | %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport | |
58 | %{py_sitescriptdir}/bzrlib/plugins/fastimport/*.py[co] | |
7b04c40b ER |
59 | %dir %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors |
60 | %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors/*.py[co] |