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