-Summary: Plugin for Bazaar-NG providing GUI to most operations
-Summary(pl.UTF-8): Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
+# TODO:
+# - Add locale files
+# - Add new package for Olive, previously included here now it's own project: http://wiki.bazaar.canonical.com/Olive/
+%define ver 0.99
+%define minor 1
+Summary: Plugin for Bazaar-NG (bzr)
+Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
Name: bzr-gtk
-%define ver 0.93
-%define minor 0
Version: %{ver}.%{minor}
-Release: 2
+Release: 8
License: GPL v2+
Group: Development/Version Control
-Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
-# Source0-md5: de4951911d7e39d88916d276177476f3
+# Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
+Source0: http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
+# Source0-md5: 68354924f3104ab1ba7efc8bfe15ae0b
+Patch0: %{name}-dbus_detection_fix.patch
URL: http://bazaar-vcs.org/bzr-gtk
-BuildRequires: python >= 1:2.5
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig
+BuildRequires: python >= 1:2.4
+BuildRequires: python-devel
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
Requires(post,postun): desktop-file-utils
Requires: bzr >= %{ver}
Requires: python-pygtk-glade >= 2:2.10
Requires: python-pygtk-gtk >= 2:2.10
+Suggests: python-gnome
+Suggests: python-pycairo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+#%patch0 -p1
%build
%{__python} setup.py build
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README TODO
-%attr(755,root,root) %{_bindir}/olive-gtk
+%attr(755,root,root) %{_bindir}/bzr-handle-patch
+%attr(755,root,root) %{_bindir}/bzr-notify
%{py_sitedir}/bzrlib/plugins/gtk
-%{py_sitedir}/olive
-%{py_sitedir}/bzr_gtk-*.egg-info
-%{_datadir}/olive
-%{_pixmapsdir}/olive-gtk.png
+%{_datadir}/bzr-gtk
%{_desktopdir}/bazaar-properties.desktop
%{_desktopdir}/bzr-notify.desktop
-%{_desktopdir}/olive-gtk.desktop
+%{_desktopdir}/bzr-handle-patch.desktop
+%{_pixmapsdir}/bzr-icon-64.png
+%{_iconsdir}/hicolor/scalable/emblems
+%{_datadir}/application-registry/bzr-gtk.applications