File bzr-svn.spec of Package bzr-svn

# norootforbuild

BuildRequires:  python-devel
BuildRequires:  subversion-python >= 1.4.4
BuildRequires:  bzr >= 1.10
BuildRequires:  libapr1-devel subversion-devel
Name:           bzr-svn
Version:        0.4.17
Release:        1
Source0:        %{name}-%{version}.tar.bz2
License:        GPLv3
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Development/Tools/Version Control
Summary:        A bzr plugin to interface with subversion repositories
URL:            http://bazaar-vcs.org/BzrForeignBranches/Subversion
Requires:       bzr >= 1.10
Requires:       bzr-rebase
Requires:       subversion-python >= 1.4.4

%description
A bzr plugin to interface with subversion repositories

%prep
%setup

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc AUTHORS FAQ NEWS README TODO
%if %suse_version > 1010
%{py_sitedir}/*.egg-info
%endif
%{py_sitedir}/bzrlib/plugins/svn

%changelog

openSUSE Build Service is sponsored by