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: gettext-devel
17 BuildRequires: pkgconfig
18 BuildRequires: python >= 1:2.4
19 BuildRequires: python-devel
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(macros) >= 1.219
22 Requires(post,postun): desktop-file-utils
24 Requires: bzr >= %{ver}
25 Requires: python-pygtk-glade >= 2:2.10
26 Requires: python-pygtk-gtk >= 2:2.10
27 Suggests: python-gnome
28 Suggests: python-pycairo
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
33 interfaces to most Bazaar operations. Provided commands are:
39 - olive-gtk (complete GUI branch manager)
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ą:
50 - olive-gtk (kompletny graficzny zarządca gałęzi bzr)
57 %{__python} setup.py build
60 rm -rf $RPM_BUILD_ROOT
62 %{__python} setup.py install \
63 --install-purelib %{py_sitedir} \
65 --root=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
73 %update_desktop_database_post
74 %banner %{name} -e << EOF
75 For full functionality, you need to install:
76 - python-pycairo (for graphs in the visualisation tool)
77 - python-gnome (for Nautilus integration)
81 %update_desktop_database_postun
84 %defattr(644,root,root,755)
85 %doc AUTHORS NEWS README TODO
86 %attr(755,root,root) %{_bindir}/olive-gtk
87 %attr(755,root,root) %{_bindir}/bzr-handle-patch
88 %attr(755,root,root) %{_bindir}/bzr-notify
89 %{py_sitedir}/bzrlib/plugins/gtk
92 %{_desktopdir}/bazaar-properties.desktop
93 %{_desktopdir}/bzr-notify.desktop
94 %{_desktopdir}/bzr-handle-patch.desktop
95 %{_desktopdir}/olive-gtk.desktop
96 %{_pixmapsdir}/olive-gtk.png
97 %{_pixmapsdir}/bzr-icon-64.png
98 %{_iconsdir}/hicolor/scalable/emblems
99 %{_datadir}/application-registry/bzr-gtk.applications