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