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