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