8f32a2c276fafb12e51be6387307fef854de2fb1
[packages/bzr-gtk.git] / bzr-gtk.spec
1 Summary:        Plugin for Bazaar-NG providing GUI to most operations
2 Summary(pl.UTF-8):      Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
3 Name:           bzr-gtk
4 %define         ver     0.93
5 %define         minor   0
6 Version:        %{ver}.%{minor}
7 Release:        2
8 License:        GPL v2+
9 Group:          Development/Version Control
10 Source0:        https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
11 # Source0-md5:  de4951911d7e39d88916d276177476f3
12 URL:            http://bazaar-vcs.org/bzr-gtk
13 BuildRequires:  python >= 1:2.5
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.219
16 Requires(post,postun):  desktop-file-utils
17 %pyrequires_eq  python
18 Requires:       bzr >= %{ver}
19 Requires:       python-pygtk-glade >= 2:2.10
20 Requires:       python-pygtk-gtk >= 2:2.10
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
25 interfaces to most Bazaar operations. Provided commands are:
26 - gcommit
27 - gdiff
28 - visualise
29 - gannotate
30 - gbranch
31
32 %description -l pl.UTF-8
33 bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
34 dostarczenie graficznego interfejsu GTK+ dla większości poleceń
35 Bazaar. Dostępnymi poleceniami są:
36 - gcommit
37 - gdiff
38 - visualise
39 - gannotate
40 - gbranch
41
42 %prep
43 %setup -q
44
45 %build
46 %{__python} setup.py build
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__python} setup.py install \
52         --install-purelib %{py_sitedir} \
53         --optimize=2 \
54         --root=$RPM_BUILD_ROOT
55
56 %py_postclean
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %update_desktop_database_post
63 %banner %{name} -e << EOF
64 For full functionality, you need to install:
65 - python-pycairo (for graphs in the visualisation tool)
66 - python-gnome (for Nautilus integration)
67 EOF
68
69 %postun
70 %update_desktop_database_postun
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS README TODO
75 %attr(755,root,root) %{_bindir}/olive-gtk
76 %{py_sitedir}/bzrlib/plugins/gtk
77 %{py_sitedir}/olive
78 %{py_sitedir}/bzr_gtk-*.egg-info
79 %{_datadir}/olive
80 %{_pixmapsdir}/olive-gtk.png
81 %{_desktopdir}/bazaar-properties.desktop
82 %{_desktopdir}/bzr-notify.desktop
83 %{_desktopdir}/olive-gtk.desktop
This page took 0.048432 seconds and 2 git commands to generate.