2 # - There is no 0.94 version packages although it is tagged in repo
3 # so I made my own binary file and added one simple fix.
4 # Hope regular binary files will be available soon
6 Summary: Plugin for Bazaar-NG providing GUI to most operations
7 Summary(pl.UTF-8): Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
11 Version: %{ver}.%{minor}
14 Group: Development/Version Control
15 # Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
16 Source0: http://beauty.ant.gliwice.pl/bugs/bzr-gtk/bzr-gtk-trunk-matkor-20080515.tbz2
17 # Source0-md5: 7448d27df65e0ca436558e143a8d69ae
18 URL: http://bazaar-vcs.org/bzr-gtk
19 BuildRequires: python >= 1:2.4
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-pycairo
28 Suggests: python-gnome
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:
40 %description -l pl.UTF-8
41 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
42 dostarczenie graficznego interfejsu GTK+ dla większości poleceń
43 Bazaar. Dostępnymi poleceniami są:
51 %setup -q -n bzr-gtk-trunk-matkor-20080515
54 %{__python} setup.py build
57 rm -rf $RPM_BUILD_ROOT
59 %{__python} setup.py install \
60 --install-purelib %{py_sitedir} \
62 --root=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %update_desktop_database_post
71 %banner %{name} -e << EOF
72 For full functionality, you need to install:
73 - python-pycairo (for graphs in the visualisation tool)
74 - python-gnome (for Nautilus integration)
78 %update_desktop_database_postun
81 %defattr(644,root,root,755)
82 %doc AUTHORS NEWS README TODO
83 %attr(755,root,root) %{_bindir}/olive-gtk
84 %{py_sitedir}/bzrlib/plugins/gtk
86 %{_pixmapsdir}/olive-gtk.png
87 %{_desktopdir}/bazaar-properties.desktop
88 %{_desktopdir}/bzr-notify.desktop
89 %{_desktopdir}/bzr-handle-patch.desktop
90 %{_desktopdir}/olive-gtk.desktop
92 %{_datadir}/application-registry/bzr-gtk.applications
93 %{_datadir}/bzr-gtk/icons
94 %{_datadir}/icons/hicolor/scalable/emblems/
95 %{_datadir}/pixmaps/bzr-icon-64.png