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