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