]> git.pld-linux.org Git - packages/bzr-gtk.git/blame - bzr-gtk.spec
- BR: rpm-pythonprov
[packages/bzr-gtk.git] / bzr-gtk.spec
CommitLineData
4bd21258 1Summary: Plugin for Bazaar-NG providing GUI to most operations
75afe277 2Summary(pl.UTF-8): Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
aa7c1298 3Name: bzr-gtk
a21ffc2a 4%define ver 0.93
85078637
MK
5%define minor 0
6Version: %{ver}.%{minor}
ac3b593d 7Release: 2
aa7c1298 8License: GPL v2
9Group: Development/Version Control
85078637 10Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
a21ffc2a 11# Source0-md5: de4951911d7e39d88916d276177476f3
aa7c1298 12URL: http://bazaar-vcs.org/bzr-gtk
13BuildRequires: python >= 1:2.4
eb1b25f3 14BuildRequires: rpm-pythonprov
aa7c1298 15BuildRequires: rpmbuild(macros) >= 1.219
16%pyrequires_eq python
85078637 17Requires: bzr >= %{ver}
eb1b25f3
JB
18Requires: python-pygtk-glade >= 2:2.10
19Requires: python-pygtk-gtk >= 2:2.10
aa7c1298 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
24interfaces 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
32bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
33dostarczenie graficznego interfejsu GTK+ dla większości poleceń
34Bazaar. 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
48rm -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
58rm -rf $RPM_BUILD_ROOT
59
60%post
61%update_desktop_database_post
62%banner %{name} -e << EOF
63For full functionality, you need to install:
64- python-pycairo (for graphs in the visualisation tool)
65- python-gnome (for Nautilus integration)
66EOF
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
This page took 0.061071 seconds and 4 git commands to generate.