11818
|
1 |
#
|
|
2 |
# spec file for package SUNWgst-python
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: dkenny
|
|
9 |
#
|
|
10 |
%include Solaris.inc
|
|
11 |
|
|
12 |
Name: SUNWgst-python
|
|
13 |
Summary: Python bindings for the GStreamer streaming media framework
|
|
14 |
URL: http://gstreamer.freedesktop.org/src/gst-python/
|
|
15 |
Version: 0.10.10
|
|
16 |
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
|
|
17 |
#owner:yippi date:2008-02-21 type:bug bugzilla:517993
|
|
18 |
Patch1: gst-python-01-pipelinetester.diff
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
Requires: SUNWPython
|
11875
|
22 |
Requires: SUNWgnome-python-libs
|
|
23 |
Requires: SUNWgnome-media
|
|
24 |
BuildRequires: SUNWgnome-python-libs-devel
|
|
25 |
BuildRequires: SUNWgnome-media-devel
|
11818
|
26 |
|
|
27 |
%include default-depend.inc
|
|
28 |
|
|
29 |
%define pythonver 2.4
|
|
30 |
|
|
31 |
%prep
|
|
32 |
%setup -q -n gst-python-%version
|
|
33 |
%patch1 -p1
|
|
34 |
|
|
35 |
%build
|
|
36 |
./configure --prefix=%{_prefix}
|
|
37 |
make
|
|
38 |
|
|
39 |
%install
|
|
40 |
rm -rf $RPM_BUILD_ROOT
|
|
41 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
42 |
|
|
43 |
# move to vendor-packages
|
|
44 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
|
|
45 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
|
|
46 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
|
|
47 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
|
|
48 |
|
|
49 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
50 |
|
|
51 |
%clean
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
|
53 |
|
|
54 |
%files
|
|
55 |
%defattr (-, root, bin)
|
|
56 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
57 |
%{_libdir}/python%{pythonver}/vendor-packages/gst-0.10/*
|
|
58 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.pth
|
|
59 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.py
|
|
60 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
61 |
%{_libdir}/pkgconfig/*
|
|
62 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
63 |
%{_datadir}/gst-python
|
|
64 |
|
|
65 |
%changelog
|
11875
|
66 |
* Tue Mar 18 2008 - [email protected]
|
|
67 |
- Add Build/Requires for SUNWgnome-python-libs and SUNWgnome-media.
|
|
68 |
|
11818
|
69 |
* Tue Feb 12 2008 - [email protected]
|
|
70 |
- initial version
|