File bzrtools.spec of Package bzrtools

# norootforbuild

BuildRequires:  python-devel
BuildRequires:  bzr >= 1.10
Name:           bzrtools
Version:        1.14.0
Release:        1
Source0:        %{name}-%{version}.tar.bz2
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Development/Tools/Version Control
Summary:        A collection of plugins for bzr
URL:            http://bazaar-vcs.org/BzrTools
Requires:       bzr >= 1.13
Requires:       python-curses

%description
A collection of plugins for bzr, including:
Rsync Push - The rspush plugin will push local changes to a remote server
             using rsync.

Shelve/Unshelve - These plugins by Michael Ellerman provide a very
                  fine-grained 'undo' facility (it is done by patch hunk).
                  This allows you to undo some of your changes, commit, and
                  get back to where you were before.

Clean-Tree - Remove unknown, ignored-junk, or all unversioned files from the
             current tree.

Graph-Ancestry - Use dot to produce graphs of branch ancestry.

Shell - Starts up a command interpreter that run bzr natively, providing
        intelligent autocompletion and really responsive operation.

Patch - Applies a specified patch to your tree. The patch may be a filename
        or URL.


%prep
%setup -n bzrtools

%build
python setup.py build

%install
%if 0%{?suse_version}
%define __record_arg  --record-rpm
%else
%define __record_arg --record
%endif
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %__record_arg %{name}.files --install-data %{_datadir}

%clean
rm -rf %{buildroot}

%files -f %{name}.files
%defattr(-, root, root)
%doc CREDITS NEWS* TODO* README* COPYING

%changelog
openSUSE Build Service is sponsored by