]> git.pld-linux.org Git - packages/bzr-fastimport.git/blame - bzr-fastimport.spec
BR: rpmbuild(macros) >= 1.710
[packages/bzr-fastimport.git] / bzr-fastimport.spec
CommitLineData
7b04c40b
ER
1Summary: Bzr plugin for fast loading of data from other VCS tools
2Name: bzr-fastimport
38d21f3e 3Version: 0.13.0
34adf212 4Release: 2
7b04c40b
ER
5Group: Development/Languages
6# Some modules in the exporters/ subdir are MIT-licensed.
7License: GPL v2+ and MIT
7b04c40b 8Source0: http://launchpad.net/bzr-fastimport/trunk/%{version}/+download/%{name}-%{version}.tar.gz
38d21f3e 9# Source0-md5: e47115774d44ae0c3b027ae0374aa52e
03162fcc 10URL: https://launchpad.net/bzr-fastimport
841759ff 11BuildRequires: rpmbuild(macros) >= 1.710
275f019c 12Patch0: bug-1101776.patch
34adf212 13Patch1: bug-541626.patch
7b04c40b
ER
14BuildRequires: bzr
15BuildRequires: python-distribute
16Requires: bzr
17Requires: python-fastimport
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Bazaar Fast Import is a plugin providing fast loading of revision
23control data into Bazaar. It is designed to be used in combination
24with front-end programs that generate a command/data stream for it to
25process. Front-ends are available for a wide range of foreign VCS
26tools including Subversion, CVS, Git, Mercurial, Darcs and Perforce.
27New front-ends are easy to develop in whatever programming language
28you prefer, making Bazaar Fast Import useful for teams needing a
29custom migration solution.
30
31%prep
32%setup -q
275f019c 33%patch0 -p1
34adf212 34%patch1 -p0
7b04c40b
ER
35
36%build
6f34ec56 37%py_build
7b04c40b
ER
38
39%install
40rm -rf $RPM_BUILD_ROOT
6f34ec56 41%py_install \
7b04c40b
ER
42 -O2 \
43 --skip-build \
44 --root $RPM_BUILD_ROOT
45
46%py_postclean
47
275f019c 48# not interested to package tests at runtime
7b04c40b
ER
49%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/bzrlib/plugins/fastimport/tests
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
ed765ddd 56%doc NEWS README.txt
7b04c40b
ER
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]
7b04c40b
ER
64%dir %{py_sitescriptdir}/bzrlib/plugins/fastimport/processors
65%{py_sitescriptdir}/bzrlib/plugins/fastimport/processors/*.py[co]
This page took 0.071366 seconds and 4 git commands to generate.