]> git.pld-linux.org Git - packages/qbzr.git/blob - qbzr.spec
Version 0.23.2-1.
[packages/qbzr.git] / qbzr.spec
1 # TODO: Move %{py_sitescriptdir}/bzrlib/plugins to bzr package ?
2 Summary:        Plugin for Bazaar-NG (bzr)
3 Summary(pl.UTF-8):      Wtyczka do Bazaar-NG (bzr)
4 Name:           qbzr
5 Version:        0.23.2
6 Release:        1
7 License:        GPL v2+
8 Group:          Development/Version Control
9 Source0:        http://launchpad.net/qbzr/0.23/%{version}/+download/qbzr-%{version}.tar.gz
10 # Source0-md5:  d5e913bdc2cb94d084c196dfed6d3275
11 URL:            http://wiki.bazaar.canonical.com/QBzr
12 BuildRequires:  python >= 1:2.4
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 Requires(post,postun):  desktop-file-utils
16 %pyrequires_eq  python
17 Requires:       bzr
18 Requires:       python-PyQt4
19 # BuildArch:    noarch  # NOTE: In fact qbzr is noarch, but have to land in ../site-packages/bzrlib/plugins/ where bzr lands to work
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Plugin for Bazaar-NG (bzr)
24
25 %prep
26 %setup -q -n qbzr
27
28 %build
29 %{__python} setup.py build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__python} setup.py install \
35         --install-purelib %{py_sitedir} \
36         --optimize=2 \
37         --root=$RPM_BUILD_ROOT
38
39 %py_postclean
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS.txt NEWS.txt README.txt TODO.txt
47 %dir %{py_sitedir}/bzrlib/plugins
48 %{py_sitedir}/bzrlib/plugins/qbzr
49 %{py_sitedir}/qbzr*.egg-info
This page took 0.050823 seconds and 3 git commands to generate.