source: projects/specs/trunk/p/pyclutter-gst/pyclutter-gst-vl.spec @ 1901

Revision 1901, 2.0 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
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 2%{?_dist_release}
5
6Summary:        Python binding for the Clutter-Gst
7Summary(ja):    Clutter-Gst 用 Python バインディング
8Name:           pyclutter-gst
9Version:        %{pkg_version}
10Release:        %{pkg_release}
11Source0:        http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
12License:        LGPLv2+
13Group:          Development/Languages
14URL:            http://www.clutter-project.org/
15
16BuildRequires:  python-devel            >= 2.5.0
17BuildRequires:  clutter-devel           >= 1.0.0
18BuildRequires:  clutter-gst-devel       >= 1.0.0
19BuildRequires:  pyclutter-devel         >= 1.0.0
20BuildRequires:  gstreamer-devel         >= 0.10
21BuildRequires:  gstreamer-python        >= 0.10
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24Vendor: Project Vine
25Distribution: Vine Linux
26Packager: Takemikaduchi
27
28
29%description
30This archive provides Python bindings for the clutter-gtk integration library.
31
32
33%package devel
34Summary:        PyClutter-Gst development environment
35Summary(ja):    PyClutter-Gst の開発環境
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       pyclutter-devel
39
40%description devel
41Header 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* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-2
77- rebuild with rpm-4.8.1 for pkg-config file
78
79* Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
80- initial build for Vine Linux
81
Note: See TracBrowser for help on using the repository browser.