File bzr-hg.spec of Package bzr-hg

# norootforbuild

BuildRequires:  python-devel
BuildRequires:  bzr >= 1.0
BuildRequires:  mercurial
Name:           bzr-hg
Version:        0.0.0.r28
Release:        1
Source0:        %{name}.trunk.tar.bz2
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Dummy
Summary:        bzr rebase
Requires:       bzr >= 1.0
Requires:       mercurial

%description
A bzr providing rudimentary mercurial (hg) support.

%prep
%setup -n bzr-hg.trunk

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm %{name}.files --install-data %{_datadir}

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.files
%defattr(-, root, root)
%doc TODO

%changelog
openSUSE Build Service is sponsored by