]> git.pld-linux.org Git - packages/python-pygoocanvas.git/blob - python-pygoocanvas.spec
- unconditional noarch subpackages
[packages/python-pygoocanvas.git] / python-pygoocanvas.spec
1 Summary:        Python bindings for GooCanvas library
2 Summary(pl.UTF-8):      Wiązania języka Python do biblioteki GooCanvas
3 Name:           python-pygoocanvas
4 Version:        0.14.1
5 Release:        6
6 License:        LGPL v2
7 Group:          Libraries/Python
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/0.14/pygoocanvas-%{version}.tar.bz2
9 # Source0-md5:  e0e7b694af2f81a78b0838555d150252
10 Patch0:         %{name}-pyc.patch
11 URL:            http://live.gnome.org/PyGoocanvas
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake >= 1:1.7
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  goocanvas-devel >= 0.14
16 BuildRequires:  gtk-doc >= 1.4
17 BuildRequires:  libtool
18 BuildRequires:  libxslt-progs
19 BuildRequires:  pkgconfig
20 BuildRequires:  python-devel >= 2.2
21 BuildRequires:  python-pycairo-devel >= 1.8.0
22 BuildRequires:  python-pygobject-apidocs >= 2.11.3
23 BuildRequires:  python-pygobject-devel >= 2.11.3
24 BuildRequires:  python-pygtk-devel >= 2:2.10.0
25 BuildRequires:  rpm-pythonprov
26 Requires:       goocanvas >= 0.14
27 Requires:       python-pycairo >= 1.8.0
28 Requires:       python-pygobject >= 2.11.3
29 Requires:       python-pygtk-gtk >= 2:2.10.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Python bindings for GooCanvas library.
34
35 %description -l pl.UTF-8
36 Wiązania języka Python do biblioteki GooCanvas.
37
38 %package apidocs
39 Summary:        pygoocanvas API documentation
40 Summary(pl.UTF-8):      Dokumentacja API pygoocanvas
41 Group:          Documentation
42 Requires:       gtk-doc-common
43 BuildArch:      noarch
44
45 %description apidocs
46 pygoocanvas API documentation.
47
48 %description apidocs -l pl.UTF-8
49 Dokumentacja API pygoocanvas.
50
51 %prep
52 %setup -q -n pygoocanvas-%{version}
53 %patch0 -p1
54
55 %build
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__autoheader}
60 %{__automake}
61 %configure \
62         --with-html-dir=%{_gtkdocdir}
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         HTMLdir=%{_gtkdocdir}/pygoocanvas
71
72 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS
80 %attr(755,root,root) %{py_sitedir}/goocanvasmodule.so
81 %{_pkgconfigdir}/pygoocanvas.pc
82
83 %files apidocs
84 %defattr(644,root,root,755)
85 %{_gtkdocdir}/pygoocanvas
This page took 0.026784 seconds and 3 git commands to generate.