3 # - Add new package for Olive, previously included here now it's own project: http://wiki.bazaar.canonical.com/Olive/
6 Summary: Plugin for Bazaar-NG (bzr)
7 Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
9 Version: %{ver}.%{minor}
12 Group: Development/Version Control
13 # Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
14 Source0: http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
15 # Source0-md5: 68354924f3104ab1ba7efc8bfe15ae0b
16 URL: http://bazaar-vcs.org/bzr-gtk
17 BuildRequires: gettext-devel
18 BuildRequires: pkgconfig
19 BuildRequires: python >= 1:2.4
20 BuildRequires: python-devel
21 BuildRequires: rpm-pythonprov
22 BuildRequires: rpmbuild(macros) >= 1.219
23 Requires(post,postun): desktop-file-utils
25 Requires: bzr >= %{ver}
26 Requires: python-pygtk-glade >= 2:2.10
27 Requires: python-pygtk-gtk >= 2:2.10
28 Suggests: python-gnome
29 Suggests: python-pycairo
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
34 interfaces to most Bazaar operations. Provided commands are:
41 %description -l pl.UTF-8
42 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
43 dostarczenie graficznego interfejsu GTK+ dla większości poleceń
44 Bazaar. Dostępnymi poleceniami są:
55 %{__python} setup.py build
58 rm -rf $RPM_BUILD_ROOT
60 %{__python} setup.py install \
61 --install-purelib %{py_sitedir} \
63 --root=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %update_desktop_database_post
72 %banner %{name} -e << EOF
73 For full functionality, you need to install:
74 - python-pycairo (for graphs in the visualisation tool)
75 - python-gnome (for Nautilus integration)
79 %update_desktop_database_postun
82 %defattr(644,root,root,755)
83 %doc AUTHORS NEWS README TODO
84 %attr(755,root,root) %{_bindir}/bzr-handle-patch
85 %attr(755,root,root) %{_bindir}/bzr-notify
86 %{py_sitedir}/bzrlib/plugins/gtk
88 %{_desktopdir}/bazaar-properties.desktop
89 %{_desktopdir}/bzr-notify.desktop
90 %{_desktopdir}/bzr-handle-patch.desktop
91 %{_pixmapsdir}/bzr-icon-64.png
92 %{_iconsdir}/hicolor/scalable/emblems
93 %{_datadir}/application-registry/bzr-gtk.applications