]> git.pld-linux.org Git - packages/bzr-gtk.git/blame_incremental - bzr-gtk.spec
- release 8
[packages/bzr-gtk.git] / bzr-gtk.spec
... / ...
CommitLineData
1# TODO: Add locale files
2%define ver 0.95
3%define minor 0
4Summary: Plugin for Bazaar-NG (bzr)
5Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
6Name: bzr-gtk
7Version: %{ver}.%{minor}
8Release: 8
9License: GPL v2+
10Group: Development/Version Control
11# Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
12Source0: http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
13# Source0-md5: 00aedce625672abca13d2d962b047ac0
14Patch0: %{name}-dbus_detection_fix.patch
15URL: http://bazaar-vcs.org/bzr-gtk
16BuildRequires: gettext-devel
17BuildRequires: pkgconfig
18BuildRequires: python >= 1:2.4
19BuildRequires: python-devel
20BuildRequires: rpm-pythonprov
21BuildRequires: rpmbuild(macros) >= 1.219
22Requires(post,postun): desktop-file-utils
23%pyrequires_eq python
24Requires: bzr >= %{ver}
25Requires: python-pygtk-glade >= 2:2.10
26Requires: python-pygtk-gtk >= 2:2.10
27Suggests: python-gnome
28Suggests: python-pycairo
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
33interfaces to most Bazaar operations. Provided commands are:
34- gcommit
35- gdiff
36- visualise
37- gannotate
38- gbranch
39- olive-gtk (complete GUI branch manager)
40
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ą:
45- gcommit
46- gdiff
47- visualise
48- gannotate
49- gbranch
50- olive-gtk (kompletny graficzny zarządca gałęzi bzr)
51
52%prep
53%setup -q
54%patch0 -p1
55
56%build
57%{__python} setup.py build
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__python} setup.py install \
63 --install-purelib %{py_sitedir} \
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
80%postun
81%update_desktop_database_postun
82
83%files
84%defattr(644,root,root,755)
85%doc AUTHORS NEWS README TODO
86%attr(755,root,root) %{_bindir}/olive-gtk
87%attr(755,root,root) %{_bindir}/bzr-handle-patch
88%attr(755,root,root) %{_bindir}/bzr-notify
89%{py_sitedir}/bzrlib/plugins/gtk
90%{_datadir}/bzr-gtk
91%{_datadir}/olive
92%{_desktopdir}/bazaar-properties.desktop
93%{_desktopdir}/bzr-notify.desktop
94%{_desktopdir}/bzr-handle-patch.desktop
95%{_desktopdir}/olive-gtk.desktop
96%{_pixmapsdir}/olive-gtk.png
97%{_pixmapsdir}/bzr-icon-64.png
98%{_iconsdir}/hicolor/scalable/emblems
99%{_datadir}/application-registry/bzr-gtk.applications
This page took 0.051966 seconds and 4 git commands to generate.