1 # TODO: Move %{py_sitescriptdir}/bzrlib/plugins to bzr package ?
2 Summary: Plugin for Bazaar-NG (bzr)
3 Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
8 Group: Development/Version Control
9 Source0: http://launchpad.net/qbzr/0.23/%{version}/+download/qbzr-%{version}.tar.gz
10 # Source0-md5: d5e913bdc2cb94d084c196dfed6d3275
11 URL: http://wiki.bazaar.canonical.com/QBzr
12 BuildRequires: python >= 1:2.4
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
15 Requires(post,postun): desktop-file-utils
18 Requires: python-PyQt4
19 # BuildArch: noarch # NOTE: In fact qbzr is noarch, but have to land in ../site-packages/bzrlib/plugins/ where bzr lands to work
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Plugin for Bazaar-NG (bzr)
29 %{__python} setup.py build
32 rm -rf $RPM_BUILD_ROOT
34 %{__python} setup.py install \
35 --install-purelib %{py_sitedir} \
37 --root=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc AUTHORS.txt NEWS.txt README.txt TODO.txt
47 %dir %{py_sitedir}/bzrlib/plugins
48 %{py_sitedir}/bzrlib/plugins/qbzr
49 %{py_sitedir}/qbzr*.egg-info