]> git.pld-linux.org Git - packages/bzr-fastimport.git/blob - bzr-fastimport.spec
BR: rpmbuild(macros) >= 1.710
[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.13.0
4 Release:        2
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
14 BuildRequires:  bzr
15 BuildRequires:  python-distribute
16 Requires:       bzr
17 Requires:       python-fastimport
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p0
35
36 %build
37 %py_build
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %py_install \
42         -O2 \
43         --skip-build \
44         --root $RPM_BUILD_ROOT
45
46 %py_postclean
47
48 # not interested to package tests at runtime
49 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/bzrlib/plugins/fastimport/tests
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc NEWS README.txt
57 %{py_sitescriptdir}/bzr_fastimport-*.egg-info
58
59 %dir %{py_sitescriptdir}/bzrlib
60 %dir %{py_sitescriptdir}/bzrlib/plugins
61
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]
This page took 0.079573 seconds and 4 git commands to generate.