]> git.pld-linux.org Git - packages/bzr-gtk.git/blobdiff - bzr-gtk.spec
- Up to 0.99.1
[packages/bzr-gtk.git] / bzr-gtk.spec
index de298b6d843818cb745fcc13651c228dc029dd3d..150aef08db59e14cf3dbf603727175e326191ea0 100644 (file)
@@ -1,19 +1,33 @@
-Summary:       Plugin for Bazaar-NG providing GUI to most operations.
-Summary(pl):   Wtyczka do Bazaar-NG udostêpniaj±ca interfejs graficzny dla wiêkszo¶ci operacji
+# TODO:
+# - Add locale files
+# - Add new package for Olive, previously included here now it's own project: http://wiki.bazaar.canonical.com/Olive/
+%define                ver     0.99
+%define                minor   1
+Summary:       Plugin for Bazaar-NG (bzr)
+Summary(pl.UTF-8):     Wtyczka do Bazaar-NG (bzr)
 Name:          bzr-gtk
-Version:       0.13.0
-Release:       1
-License:       GPL v2
+Version:       %{ver}.%{minor}
+Release:       8
+License:       GPL v2+
 Group:         Development/Version Control
+# Source0:     https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
 Source0:       http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
-# Source0-md5: e5734611d676ad2a1e5b0cd32679e10b
+# Source0-md5: 68354924f3104ab1ba7efc8bfe15ae0b
+Patch0:                %{name}-dbus_detection_fix.patch
 URL:           http://bazaar-vcs.org/bzr-gtk
+BuildRequires: gettext-devel
+BuildRequires: pkgconfig
 BuildRequires: python >= 1:2.4
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
-%pyrequires_eq  python
-Requires:      bzr >= 0.13
-Requires:      python-pygtk-glade
-BuildArch:     noarch
+Requires(post,postun): desktop-file-utils
+%pyrequires_eq python
+Requires:      bzr >= %{ver}
+Requires:      python-pygtk-glade >= 2:2.10
+Requires:      python-pygtk-gtk >= 2:2.10
+Suggests:      python-gnome
+Suggests:      python-pycairo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,10 +39,10 @@ interfaces to most Bazaar operations. Provided commands are:
 - gannotate
 - gbranch
 
-%description -l pl
-bzr-gtk jest wtyczk± dla Bazaar-NG (bzr), która ma na celu
-dostarczenie graficznego interfejsu GTK+ dla wiêkszo¶ci poleceñ
-Bazaar.  Dostêpnymi poleceniami s±:
+%description -l pl.UTF-8
+bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
+dostarczenie graficznego interfejsu GTK+ dla większości poleceń
+Bazaar. Dostępnymi poleceniami są:
 - gcommit
 - gdiff
 - visualise
@@ -37,13 +51,16 @@ Bazaar.  Dost
 
 %prep
 %setup -q
+#%patch0 -p1
 
 %build
 %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__python} setup.py install \
+       --install-purelib %{py_sitedir} \
        --optimize=2 \
        --root=$RPM_BUILD_ROOT
 
@@ -60,15 +77,19 @@ For full functionality, you need to install:
 - python-gnome (for Nautilus integration)
 EOF
 
-
 %postun
 %update_desktop_database_postun
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README TODO
-%{py_sitescriptdir}/*
-%{_pixmapsdir}/*
-%{_desktopdir}/*
-%{_datadir}/olive
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/bzr-handle-patch
+%attr(755,root,root) %{_bindir}/bzr-notify
+%{py_sitedir}/bzrlib/plugins/gtk
+%{_datadir}/bzr-gtk
+%{_desktopdir}/bazaar-properties.desktop
+%{_desktopdir}/bzr-notify.desktop
+%{_desktopdir}/bzr-handle-patch.desktop
+%{_pixmapsdir}/bzr-icon-64.png
+%{_iconsdir}/hicolor/scalable/emblems
+%{_datadir}/application-registry/bzr-gtk.applications
This page took 0.075351 seconds and 4 git commands to generate.