Packager: Igor Vlasenko <viy@altlinux.ru> Name: bzr-gtk Version: 0.95.0 Release: alt0.M41.1 Summary: Bazaar plugin for GTK+ interfaces to most Bazaar operations Group: Development/Other License: GPLv2+ URL: http://bazaar-vcs.org/bzr-gtk Source0: http://samba.org/~jelmer/bzr/bzr-gtk-%{version}.tar.gz # This requires some nonexistent functionality. Bug filed upstream. Disabled # for now. Patch0: bzr-gtk-disable-nautilus-pull.patch BuildRequires: python-devel BuildRequires: bzr BuildRequires: gettext BuildRequires: desktop-file-utils Requires: bzr >= 1.6 Requires: pygtk2 # This enables the bzr-notify functionality but it's not packaged for # Fedora yet. #Requires: bzr-dbus %description bzr-gtk is a plugin for Bazaar that aims to provide GTK+ interfaces to most Bazaar operations. %prep %setup -q %patch0 -p1 -b .nautilusdisable %build CFLAGS="%optflags" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT #desktop-file-validate bazaar-properties.desktop #desktop-file-validate bzr-handle-patch.desktop #desktop-file-validate olive-gtk.desktop %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT # hack :( if test "%{_libdir}" != "/usr/lib" ; then install -d -m 0755 $RPM_BUILD_ROOT%{python_sitelibdir} mv $RPM_BUILD_ROOT/usr/lib/python*/site-packages/* $RPM_BUILD_ROOT%{python_sitelibdir}/ fi pkg-config --variable=pythondir nautilus-python || rm -f $RPM_BUILD_ROOT%{python_sitelibdir}/bzrlib/plugins/gtk/nautilus-bzr.* %find_lang olive-gtk # This won't do anything until after we add bzr-dbus. rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/bzr-notify.desktop %files -f olive-gtk.lang %doc COPYING README %{_bindir}/* %{_datadir}/applications/* %{_datadir}/application-registry/bzr-gtk.applications %{_datadir}/olive/ %{_datadir}/bzr-gtk/ %{_datadir}/pixmaps/*.png %{_datadir}/icons/hicolor/scalable/emblems/ %{python_sitelibdir}/bzrlib/plugins/gtk/ #%{python_sitelibdir}/*.egg-info %changelog * Mon Oct 13 2008 Igor Vlasenko <viy@altlinux.ru> 0.95.0-alt0.M41.1 - first build