11818
|
1 |
#
|
|
2 |
# spec file for package SUNWgst-python
|
|
3 |
#
|
15213
|
4 |
# Copyright 2009 Sun Microsystems, Inc.
|
11818
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
15226
|
8 |
# Owner: yippi
|
11818
|
9 |
#
|
|
10 |
%include Solaris.inc
|
|
11 |
|
14644
|
12 |
%define pythonver 2.4
|
|
13 |
%use gstp = gst-python.spec
|
|
14 |
|
11818
|
15 |
Name: SUNWgst-python
|
15324
|
16 |
Summary: Python %{pythonver} bindings for the GStreamer streaming media framework
|
14644
|
17 |
URL: %{gstp.url}
|
|
18 |
Version: %{gstp.version}
|
11818
|
19 |
SUNW_BaseDir: %{_basedir}
|
12114
|
20 |
SUNW_Copyright: %{name}.copyright
|
11818
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
14644
|
22 |
%include default-depend.inc
|
15650
|
23 |
Requires: SUNWglib2
|
11818
|
24 |
Requires: SUNWPython
|
11875
|
25 |
Requires: SUNWgnome-python-libs
|
|
26 |
Requires: SUNWgnome-media
|
15650
|
27 |
BuildRequires: SUNWglib2-devel
|
11875
|
28 |
BuildRequires: SUNWgnome-python-libs-devel
|
|
29 |
BuildRequires: SUNWgnome-media-devel
|
14933
|
30 |
BuildRequires: SUNWpython-setuptools
|
11818
|
31 |
|
14644
|
32 |
%package devel
|
|
33 |
Summary: %{summary} - development files
|
|
34 |
SUNW_BaseDir: %{_basedir}
|
11818
|
35 |
%include default-depend.inc
|
14644
|
36 |
Requires: %{name}
|
15351
|
37 |
# the 2.6 devel package is required because it contains the headers
|
|
38 |
# (they are not duplicated in this package, since they would be identical)
|
|
39 |
Requires: SUNWgst-python26-devel
|
11818
|
40 |
|
|
41 |
%prep
|
14644
|
42 |
rm -rf %name-%version
|
|
43 |
mkdir -p %name-%version
|
|
44 |
%gstp.prep -d %name-%version
|
11818
|
45 |
|
|
46 |
%build
|
15213
|
47 |
export PYTHON=/usr/bin/python%{pythonver}
|
|
48 |
export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
|
14926
|
49 |
%gstp.build -d %name-%version
|
11818
|
50 |
|
|
51 |
%install
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
14926
|
53 |
%gstp.install -d %name-%version
|
11818
|
54 |
|
14644
|
55 |
# included in SUNWgst-python25-devel
|
|
56 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gst-python
|
11818
|
57 |
|
14644
|
58 |
# move to subdir to avoid conflict with python 2.5
|
|
59 |
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig \
|
|
60 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/
|
12826
|
61 |
|
11818
|
62 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
63 |
|
|
64 |
%clean
|
|
65 |
rm -rf $RPM_BUILD_ROOT
|
|
66 |
|
|
67 |
%files
|
|
68 |
%defattr (-, root, bin)
|
|
69 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
70 |
%{_libdir}/python%{pythonver}/vendor-packages/gst-0.10/*
|
|
71 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.pth
|
|
72 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.py
|
12826
|
73 |
%{_libdir}/python%{pythonver}/vendor-packages/*.so
|
14926
|
74 |
%doc -d gst-python-%{gstp.version} AUTHORS
|
|
75 |
%doc -d gst-python-%{gstp.version} README
|
|
76 |
%doc(bzip2) -d gst-python-%{gstp.version} COPYING
|
|
77 |
%doc(bzip2) -d gst-python-%{gstp.version} ChangeLog
|
|
78 |
%doc(bzip2) -d gst-python-%{gstp.version} NEWS
|
|
79 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
14644
|
80 |
%dir %attr (0755, root, sys) %{_datadir}
|
11818
|
81 |
|
14644
|
82 |
%files devel
|
|
83 |
%defattr (-, root, bin)
|
14926
|
84 |
%dir %attr (0755, root, bin) %{_libdir}
|
15225
|
85 |
%dir %attr (0755, root, other) %{_libdir}/python%{pythonver}/pkgconfig
|
14644
|
86 |
%{_libdir}/python%{pythonver}/pkgconfig/*
|
|
87 |
|
11818
|
88 |
%changelog
|
15213
|
89 |
* Tue Feb 24 2009 - [email protected]
|
|
90 |
- set PYTHON and PKG_CONFIG_PATH so the correct python version and
|
|
91 |
dependencies are picked up
|
14644
|
92 |
* Mon Nov 24 2008 - [email protected]
|
|
93 |
- update to use base spec file
|
|
94 |
- add devel pkg
|
|
95 |
- move pkgconfig files under /usr/lib/python2.4
|
14454
|
96 |
* Mon Oct 13 2008 - [email protected]
|
|
97 |
- Bump to 0.10.13. Remove upstream patch gst-python-01-pipelinetester.diff.
|
13570
|
98 |
* Fri Sep 12 2008 - [email protected]
|
|
99 |
- Update copyright
|
12826
|
100 |
* Wed Jul 16 2008 - [email protected]
|
|
101 |
- Update %files for newly delivered library.
|
12706
|
102 |
* Thu Jun 19 2008 - [email protected]
|
|
103 |
- Bump to 0.10.12.
|
11886
|
104 |
* Thu Mar 20 2008 - [email protected]
|
|
105 |
- Bump to 0.10.11.
|
11875
|
106 |
* Tue Mar 18 2008 - [email protected]
|
|
107 |
- Add Build/Requires for SUNWgnome-python-libs and SUNWgnome-media.
|
11818
|
108 |
* Tue Feb 12 2008 - [email protected]
|
|
109 |
- initial version
|
14454
|
110 |
|