1 # TODO: Add locale files
4 Summary: Plugin for Bazaar-NG (bzr)
5 Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
7 Version: %{ver}.%{minor}
10 Group: Development/Version Control
11 # Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
12 Source0: http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
13 # Source0-md5: 00aedce625672abca13d2d962b047ac0
14 Patch0: %{name}-dbus_detection_fix.patch
15 URL: http://bazaar-vcs.org/bzr-gtk
16 BuildRequires: python >= 1:2.4
17 BuildRequires: rpm-pythonprov
18 BuildRequires: rpmbuild(macros) >= 1.219
19 Requires(post,postun): desktop-file-utils
21 Requires: bzr >= %{ver}
22 Requires: python-pygtk-glade >= 2:2.10
23 Requires: python-pygtk-gtk >= 2:2.10
24 Suggests: python-gnome
25 Suggests: python-pycairo
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
30 interfaces to most Bazaar operations. Provided commands are:
36 - olive-gtk (complete GUI branch manager)
38 %description -l pl.UTF-8
39 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
40 dostarczenie graficznego interfejsu GTK+ dla większości poleceń
41 Bazaar. Dostępnymi poleceniami są:
47 - olive-gtk (kompletny graficzny zarządca gałęzi bzr)
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}/olive-gtk
85 %attr(755,root,root) %{_bindir}/bzr-handle-patch
86 %attr(755,root,root) %{_bindir}/bzr-notify
88 %{py_sitedir}/bzrlib/plugins/gtk
90 %{_pixmapsdir}/olive-gtk.png
91 %{_desktopdir}/bazaar-properties.desktop
92 %{_desktopdir}/bzr-notify.desktop
93 %{_desktopdir}/bzr-handle-patch.desktop
94 %{_desktopdir}/olive-gtk.desktop
96 %{_datadir}/application-registry
97 %{_datadir}/application-registry/bzr-gtk.applications
99 #%%{_datadir}/bzr-gtk/icons
100 %{_iconsdir}/hicolor/scalable/emblems/
101 %{_pixmapsdir}/bzr-icon-64.png