]> git.pld-linux.org Git - packages/bzr-gtk.git/blame - bzr-gtk.spec
Version 0.94-1 with one simple fixed applied.
[packages/bzr-gtk.git] / bzr-gtk.spec
CommitLineData
d3062591
MK
1# TODO:
2# - There is no 0.94 version packages although it is tagged in repo
3# so I made my own binary file and added one simple fix.
4# Hope regular binary files will be available soon
5# - Fix locale files
4bd21258 6Summary: Plugin for Bazaar-NG providing GUI to most operations
75afe277 7Summary(pl.UTF-8): Wtyczka do Bazaar-NG udostępniająca interfejs graficzny dla większości operacji
aa7c1298 8Name: bzr-gtk
d3062591 9%define ver 0.94
85078637
MK
10%define minor 0
11Version: %{ver}.%{minor}
d3062591 12Release: 1
70686cd4 13License: GPL v2+
aa7c1298 14Group: Development/Version Control
d3062591
MK
15# Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
16Source0: http://beauty.ant.gliwice.pl/bugs/bzr-gtk/bzr-gtk-trunk-matkor-20080515.tbz2
17# Source0-md5: 7448d27df65e0ca436558e143a8d69ae
aa7c1298 18URL: http://bazaar-vcs.org/bzr-gtk
d3062591 19BuildRequires: python >= 1:2.4
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
MK
27Suggests: python-pycairo
28Suggests: python-gnome
aa7c1298 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
6902538c
JR
40%description -l pl.UTF-8
41bzr-gtk jest wtyczką dla Bazaar-NG (bzr), która ma na celu
42dostarczenie graficznego interfejsu GTK+ dla większości poleceń
43Bazaar. Dostępnymi poleceniami są:
aa7c1298 44- gcommit
45- gdiff
46- visualise
47- gannotate
48- gbranch
49
50%prep
d3062591 51%setup -q -n bzr-gtk-trunk-matkor-20080515
aa7c1298 52
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
84%{py_sitedir}/bzrlib/plugins/gtk
eb1b25f3 85%{_datadir}/olive
70686cd4
JB
86%{_pixmapsdir}/olive-gtk.png
87%{_desktopdir}/bazaar-properties.desktop
88%{_desktopdir}/bzr-notify.desktop
d3062591 89%{_desktopdir}/bzr-handle-patch.desktop
70686cd4 90%{_desktopdir}/olive-gtk.desktop
d3062591
MK
91
92%{_datadir}/application-registry/bzr-gtk.applications
93%{_datadir}/bzr-gtk/icons
94%{_datadir}/icons/hicolor/scalable/emblems/
95%{_datadir}/pixmaps/bzr-icon-64.png
This page took 0.071619 seconds and 4 git commands to generate.