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