Version 0.94-1 with one simple fixed applied.
[packages/bzr-gtk.git] / bzr-gtk.spec
1 # TODO: 
2 #   - There is no 0.94 version packages although it is tagged in repo
3 #     so I made my own binary file and added one simple fix.
4 #     Hope regular binary files will be available soon
5 #   - Fix locale files
6 Summary:        Plugin for Bazaar-NG providing GUI to most operations
7 Summary(pl.UTF-8):      Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
8 Name:           bzr-gtk
9 %define         ver     0.94
10 %define         minor   0
11 Version:        %{ver}.%{minor}
12 Release:        1
13 License:        GPL v2+
14 Group:          Development/Version Control
15 # Source0:      https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
16 Source0:        http://beauty.ant.gliwice.pl/bugs/bzr-gtk/bzr-gtk-trunk-matkor-20080515.tbz2
17 # Source0-md5:  7448d27df65e0ca436558e143a8d69ae
18 URL:            http://bazaar-vcs.org/bzr-gtk
19 BuildRequires:  python >= 1:2.4
20 BuildRequires:  rpm-pythonprov
21 BuildRequires:  rpmbuild(macros) >= 1.219
22 Requires(post,postun):  desktop-file-utils
23 %pyrequires_eq  python
24 Requires:       bzr >= %{ver}
25 Requires:       python-pygtk-glade >= 2:2.10
26 Requires:       python-pygtk-gtk >= 2:2.10
27 Suggests:       python-pycairo
28 Suggests:       python-gnome
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
33 interfaces to most Bazaar operations. Provided commands are:
34 - gcommit
35 - gdiff
36 - visualise
37 - gannotate
38 - gbranch
39
40 %description -l pl.UTF-8
41 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
42 dostarczenie graficznego interfejsu GTK+ dla większości poleceń
43 Bazaar. Dostępnymi poleceniami są:
44 - gcommit
45 - gdiff
46 - visualise
47 - gannotate
48 - gbranch
49
50 %prep
51 %setup -q -n bzr-gtk-trunk-matkor-20080515
52
53 %build
54 %{__python} setup.py build
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__python} setup.py install \
60         --install-purelib %{py_sitedir} \
61         --optimize=2 \
62         --root=$RPM_BUILD_ROOT
63
64 %py_postclean
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %update_desktop_database_post
71 %banner %{name} -e << EOF
72 For full functionality, you need to install:
73 - python-pycairo (for graphs in the visualisation tool)
74 - python-gnome (for Nautilus integration)
75 EOF
76
77 %postun
78 %update_desktop_database_postun
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS NEWS README TODO
83 %attr(755,root,root) %{_bindir}/olive-gtk
84 %{py_sitedir}/bzrlib/plugins/gtk
85 %{_datadir}/olive
86 %{_pixmapsdir}/olive-gtk.png
87 %{_desktopdir}/bazaar-properties.desktop
88 %{_desktopdir}/bzr-notify.desktop
89 %{_desktopdir}/bzr-handle-patch.desktop
90 %{_desktopdir}/olive-gtk.desktop
91
92 %{_datadir}/application-registry/bzr-gtk.applications
93 %{_datadir}/bzr-gtk/icons
94 %{_datadir}/icons/hicolor/scalable/emblems/
95 %{_datadir}/pixmaps/bzr-icon-64.png
This page took 0.051989 seconds and 3 git commands to generate.