]> git.pld-linux.org Git - packages/bzr-gtk.git/blame - bzr-gtk.spec
- Removed dbus patch, included upstream
[packages/bzr-gtk.git] / bzr-gtk.spec
CommitLineData
2ece8c60
CM
1# TODO:
2# - Add locale files
3# - Add new package for Olive, previously included here now it's own project: http://wiki.bazaar.canonical.com/Olive/
4%define ver 0.99
5%define minor 1
909e8313
MK
6Summary: Plugin for Bazaar-NG (bzr)
7Summary(pl.UTF-8): Wtyczka do Bazaar-NG (bzr)
8Name: bzr-gtk
85078637 9Version: %{ver}.%{minor}
19821af5 10Release: 8
70686cd4 11License: GPL v2+
aa7c1298 12Group: Development/Version Control
d3062591 13# Source0: https://launchpad.net/bzr-gtk/%{ver}/%{version}/+download/bzr-gtk-%{version}.tar.gz
909e8313 14Source0: http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
2ece8c60 15# Source0-md5: 68354924f3104ab1ba7efc8bfe15ae0b
aa7c1298 16URL: http://bazaar-vcs.org/bzr-gtk
e55c8921 17BuildRequires: gettext-devel
18BuildRequires: pkgconfig
d3062591 19BuildRequires: python >= 1:2.4
e55c8921 20BuildRequires: python-devel
eb1b25f3 21BuildRequires: rpm-pythonprov
aa7c1298 22BuildRequires: rpmbuild(macros) >= 1.219
70686cd4
JB
23Requires(post,postun): desktop-file-utils
24%pyrequires_eq python
85078637 25Requires: bzr >= %{ver}
eb1b25f3
JB
26Requires: python-pygtk-glade >= 2:2.10
27Requires: python-pygtk-gtk >= 2:2.10
d3062591 28Suggests: python-gnome
909e8313 29Suggests: python-pycairo
aa7c1298 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
909e8313 33bzr-gtk is a plugin for Bazaar-NG (bzr) that aims to provide GTK+
aa7c1298 34interfaces to most Bazaar operations. Provided commands are:
35- gcommit
36- gdiff
37- visualise
38- gannotate
39- gbranch
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
50
51%prep
909e8313 52%setup -q
9901a0d5 53
aa7c1298 54%build
55%{__python} setup.py build
56
57%install
58rm -rf $RPM_BUILD_ROOT
eb1b25f3 59
aa7c1298 60%{__python} setup.py install \
975d0e21 61 --install-purelib %{py_sitedir} \
aa7c1298 62 --optimize=2 \
63 --root=$RPM_BUILD_ROOT
64
65%py_postclean
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post
71%update_desktop_database_post
72%banner %{name} -e << EOF
73For full functionality, you need to install:
74- python-pycairo (for graphs in the visualisation tool)
75- python-gnome (for Nautilus integration)
76EOF
77
aa7c1298 78%postun
79%update_desktop_database_postun
80
81%files
82%defattr(644,root,root,755)
70686cd4 83%doc AUTHORS NEWS README TODO
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
70686cd4
JB
88%{_desktopdir}/bazaar-properties.desktop
89%{_desktopdir}/bzr-notify.desktop
d3062591 90%{_desktopdir}/bzr-handle-patch.desktop
90598b7b
JB
91%{_pixmapsdir}/bzr-icon-64.png
92%{_iconsdir}/hicolor/scalable/emblems
d3062591 93%{_datadir}/application-registry/bzr-gtk.applications
This page took 0.089441 seconds and 4 git commands to generate.