1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | %define pkg_version 0.10.0 |
---|
4 | %define pkg_release 2%{?_dist_release} |
---|
5 | |
---|
6 | Summary: Python binding for the Clutter-Gtk |
---|
7 | Summary(ja): Clutter-Gtk 用 Python バインディング |
---|
8 | Name: pyclutter-gtk |
---|
9 | Version: %{pkg_version} |
---|
10 | Release: %{pkg_release} |
---|
11 | Source0: http://www.clutter-project.org/sources/%{name}/0.10/%{name}-%{version}.tar.bz2 |
---|
12 | License: LGPLv2+ |
---|
13 | Group: Development/Languages |
---|
14 | URL: http://www.clutter-project.org/ |
---|
15 | |
---|
16 | BuildRequires: clutter-devel >= 1.0.0 |
---|
17 | BuildRequires: pyclutter-devel >= 1.0.0 |
---|
18 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
19 | BuildRequires: clutter-gtk-devel >= 0.10.2 |
---|
20 | BuildRequires: pygtk2-devel >= 2.8.0 |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | |
---|
28 | %description |
---|
29 | This archive provides Python bindings for the clutter-gtk integration library. |
---|
30 | |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: PyClutter-Gtk development environment |
---|
34 | Summary(ja): PyClutter-Gtk の開発環境 |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | Requires: pyclutter-devel |
---|
38 | |
---|
39 | %description devel |
---|
40 | Header files and libraries for building a extension library for the pyclutter-gtk. |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | %configure --enable-static=no |
---|
49 | %{__make} %{?_smp_mflags} |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
54 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{python_sitearch}/cluttergtk/*.la |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root) |
---|
65 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
66 | %{python_sitearch}/cluttergtk |
---|
67 | %{_datadir}/pyclutter/1.0/defs/cluttergtk* |
---|
68 | |
---|
69 | %files devel |
---|
70 | %defattr(-,root,root) |
---|
71 | %{_libdir}/pkgconfig/pyclutter-gtk-0.10.pc |
---|
72 | |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-2 |
---|
76 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
77 | |
---|
78 | * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1 |
---|
79 | - initial build for Vine Linux |
---|
80 | |
---|