Name: bzr-fastimport
Version: 0.12.0
Release: 1%{?dist}
Summary: Bzr plugin for fast loading of data from other VCS tools
Group: Development/Languages
# Some modules in the exporters/ subdir are MIT-licensed.
License: GPLv2+ and MIT
URL: https://launchpad.net/bzr-fastimport
Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools-devel
BuildRequires: bzr
Requires: bzr
Requires: python-fastimport
%description
Bazaar Fast Import is a plugin providing fast loading of revision control data
into Bazaar. It is designed to be used in combination with front-end programs
that generate a command/data stream for it to process. Front-ends are available
for a wide range of foreign VCS tools including Subversion, CVS, Git,
Mercurial, Darcs and Perforce. New front-ends are easy to develop in
whatever programming language you prefer, making Bazaar Fast Import useful
for teams needing a custom migration solution.
%prep
%setup -q
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod 0755 $RPM_BUILD_ROOT%{python_sitelib}/bzrlib/plugins/fastimport/exporters/hg-fast-export.py
chmod 0755 $RPM_BUILD_ROOT%{python_sitelib}/bzrlib/plugins/fastimport/exporters/svn-fast-export.py
%files
%doc COPYING.txt NEWS README.txt
%{python_sitelib}/bzr_fastimport-*.egg-info
%{python_sitelib}/bzrlib/plugins/fastimport
%changelog
* Wed Feb 29 2012 Dan Callaghan <dcallagh@redhat.com> - 0.12.0-1
- upstream release 0.12.0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Oct 12 2011 Dan Callaghan <dcallagh@redhat.com> - 0.11.0-2
- added a note to the spec about incorrect license header
* Thu Oct 06 2011 Dan Callaghan <dcallagh@redhat.com> - 0.11.0-1
- update to 0.11.0
* Wed Aug 10 2011 Dan Callaghan <dcallagh@redhat.com> - 0.10.0-2
- use a patch instead of sed for removing erroneous shebangs
* Thu Jun 16 2011 Dan Callaghan <dcallagh@redhat.com> - 0.10.0-1
- initial version