Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15283382
en ru br
ALT Linux repos
S:0.104.0-alt2.bzr20161127
5.0: 0.95.0-alt1.1
4.1: 0.95.0-alt0.M41.1
4.0: 0.95.0-alt0.M40.1

Group :: Development/Other
RPM: bzr-gtk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Packager: Anatoly Kitaikin <cetus at altlinux.ru>
Name:           bzr-gtk
Version:        0.104.0
Release:        alt2.bzr20161127
Summary:        Bazaar plugin for GTK+ interfaces to most Bazaar operations

Group:          Development/Other
License:        GPLv2+
URL:            https://launchpad.net/bzr-gtk
Source0:        bzr-gtk-%version.tar
Patch0:         bzr-gtk-%version.patch
Patch1:         bzr-gtk-gi.require_version.patch

BuildRequires:  python-devel
BuildRequires:  bzr
BuildRequires:  gettext
BuildRequires:  desktop-file-utils
Requires:       bzr >= 2.0
Requires:       libgtk+3-gir
Requires:       libgtksourceview3-gir

%description
bzr-gtk is a plugin for Bazaar that aims to provide GTK+ interfaces to most
Bazaar operations.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%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/
%_datadir/icons/hicolor/scalable/apps/
%python_sitelibdir/bzrlib/plugins/gtk/
%python_sitelibdir/*.egg-info

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin