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