]> git.pld-linux.org Git - packages/bzr-gtk.git/blobdiff - bzr-gtk.spec
- files cleanup (but fix needed)
[packages/bzr-gtk.git] / bzr-gtk.spec
index 07e90f75401588a2f992d34ef8fddc3bf842ddf3..6cf5c70df052bdbca507faa2f455dd4bc7054e47 100644 (file)
@@ -1,19 +1,28 @@
-Summary:       Plugin for Bazaar-NG providing GUI to most operations
-Summary(pl.UTF-8):     Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
+# TODO:  Add locale files
+%define                ver     0.95
+%define                minor   0
+Summary:       Plugin for Bazaar-NG (bzr)
+Summary(pl.UTF-8):     Wtyczka do Bazaar-NG (bzr)
 Name:          bzr-gtk
-Version:       0.18.0
-Release:       1
-License:       GPL v2
+Version:       %{ver}.%{minor}
+Release:       3
+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: 4be297c58fc6aeb79e660d77770f24fd
+# Source0-md5: 00aedce625672abca13d2d962b047ac0
+Patch0:                %{name}-dbus_detection_fix.patch
 URL:           http://bazaar-vcs.org/bzr-gtk
 BuildRequires: python >= 1:2.4
+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
@@ -24,6 +33,7 @@ interfaces to most Bazaar operations. Provided commands are:
 - visualise
 - gannotate
 - gbranch
+- olive-gtk (complete GUI branch manager)
 
 %description -l pl.UTF-8
 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
@@ -34,16 +44,20 @@ Bazaar. Dostępnymi poleceniami są:
 - visualise
 - gannotate
 - gbranch
+- olive-gtk (kompletny graficzny zarządca gałęzi bzr)
 
 %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
 
@@ -65,9 +79,20 @@ EOF
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README TODO
-%attr(755,root,root) %{_bindir}/*
-%{py_sitescriptdir}/*
-%{_pixmapsdir}/*
-%{_desktopdir}/*.desktop
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/olive-gtk
+%attr(755,root,root) %{_bindir}/bzr-handle-patch
+%attr(755,root,root) %{_bindir}/bzr-notify
+%{py_sitedir}/bzrlib/plugins/gtk
+%{_datadir}/bzr-gtk
 %{_datadir}/olive
+%{_desktopdir}/bazaar-properties.desktop
+%{_desktopdir}/bzr-notify.desktop
+%{_desktopdir}/bzr-handle-patch.desktop
+%{_desktopdir}/olive-gtk.desktop
+%{_pixmapsdir}/olive-gtk.png
+%{_pixmapsdir}/bzr-icon-64.png
+%{_iconsdir}/hicolor/scalable/emblems
+# FIXME: file duplicate
+%{_datadir}/application-registry
+%{_datadir}/application-registry/bzr-gtk.applications
This page took 0.066505 seconds and 4 git commands to generate.