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