]> git.pld-linux.org Git - packages/bzr-gtk.git/blobdiff - bzr-gtk.spec
BR: rpmbuild(macros) >= 1.710
[packages/bzr-gtk.git] / bzr-gtk.spec
index 15fc923b1f24aff6a805c541e83c3de7608a3d72..57e5b7cfc4ffabf1a740bb6c58b58ad31559617b 100644 (file)
@@ -1,31 +1,33 @@
-# TODO: 
-#   - There is no 0.94 version packages although it is tagged in repo
-#     so I made my own binary file and added one simple fix.
-#     Hope regular binary files will be available soon
-#   - Fix locale files
-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
+# - 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
-%define                ver     0.94
-%define                minor   0
 Version:       %{ver}.%{minor}
-Release:       1
+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://beauty.ant.gliwice.pl/bugs/bzr-gtk/bzr-gtk-trunk-matkor-20080515.tbz2
-# Source0-md5: 7448d27df65e0ca436558e143a8d69ae
+Source0:       http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
+# Source0-md5: 68354924f3104ab1ba7efc8bfe15ae0b
 URL:           http://bazaar-vcs.org/bzr-gtk
+BuildRequires: bzr >= %{ver}
+BuildRequires: gettext-tools
+BuildRequires: pkgconfig
 BuildRequires: python >= 1:2.4
+BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.710
 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-pycairo
 Suggests:      python-gnome
+Suggests:      python-pycairo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,15 +50,15 @@ Bazaar. Dostępnymi poleceniami są:
 - gbranch
 
 %prep
-%setup -q -n bzr-gtk-trunk-matkor-20080515
+%setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
+%py_install \
        --install-purelib %{py_sitedir} \
        --optimize=2 \
        --root=$RPM_BUILD_ROOT
@@ -80,16 +82,13 @@ EOF
 %files
 %defattr(644,root,root,755)
 %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}/olive
-%{_pixmapsdir}/olive-gtk.png
+%{_datadir}/bzr-gtk
 %{_desktopdir}/bazaar-properties.desktop
 %{_desktopdir}/bzr-notify.desktop
 %{_desktopdir}/bzr-handle-patch.desktop
-%{_desktopdir}/olive-gtk.desktop
-
+%{_pixmapsdir}/bzr-icon-64.png
+%{_iconsdir}/hicolor/scalable/emblems
 %{_datadir}/application-registry/bzr-gtk.applications
-%{_datadir}/bzr-gtk/icons
-%{_datadir}/icons/hicolor/scalable/emblems/
-%{_datadir}/pixmaps/bzr-icon-64.png
This page took 0.030478 seconds and 4 git commands to generate.