]> git.pld-linux.org Git - packages/bzr-fastimport.git/blob - bzr-fastimport.spec
4bb41570e0083f1d39f369f9d6169c0470812d29
[packages/bzr-fastimport.git] / bzr-fastimport.spec
1 Summary:        Bzr plugin for fast loading of data from other VCS tools
2 Name:           bzr-fastimport
3 Version:        0.12.0
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
10 # Source0-md5:  be4e2b4b82adab83341d2a606de5ca27
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)
51 %doc NEWS README.txt
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]
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]
This page took 0.07415 seconds and 2 git commands to generate.