author | yippi |
Thu, 05 Aug 2010 11:47:22 +0000 | |
changeset 19973 | f05dadadf325 |
parent 17937 | 664c0536875a |
child 20342 | 393ae73665bc |
permissions | -rw-r--r-- |
15075 | 1 |
# |
2 |
# spec file for package SUNWgst-python |
|
3 |
# |
|
19973 | 4 |
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. |
15075 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner yippi |
15075 | 9 |
# |
10 |
%include Solaris.inc |
|
11 |
||
12 |
%define pythonver 2.6 |
|
13 |
%use gstp = gst-python.spec |
|
14 |
||
15 |
Name: SUNWgst-python26 |
|
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
16 |
IPS_package_name: library/python-2/python-gst-26 |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
17 |
Meta(info.classification): %{classification_prefix}:Development/Python |
15324 | 18 |
Summary: Python %{pythonver} bindings for the GStreamer streaming media framework |
15075 | 19 |
URL: %{gstp.url} |
20 |
Version: %{gstp.version} |
|
15836 | 21 |
#owner:yippi date:2009-06-02 type:bug bugzilla:584633 bugster:6843650 |
22 |
Patch1: gst-python-01-python26.diff |
|
15075 | 23 |
SUNW_BaseDir: %{_basedir} |
24 |
SUNW_Copyright: SUNWgst-python.copyright |
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
26 |
%include default-depend.inc |
|
15650 | 27 |
Requires: SUNWglib2 |
15075 | 28 |
Requires: SUNWPython26 |
29 |
Requires: SUNWgnome-python26-libs |
|
30 |
Requires: SUNWgnome-media |
|
15650 | 31 |
BuildRequires: SUNWglib2-devel |
15075 | 32 |
BuildRequires: SUNWgnome-python26-libs-devel |
33 |
BuildRequires: SUNWgnome-media-devel |
|
34 |
BuildRequires: SUNWpython26-setuptools |
|
35 |
||
36 |
%package devel |
|
37 |
Summary: %{summary} - development files |
|
38 |
SUNW_BaseDir: %{_basedir} |
|
39 |
%include default-depend.inc |
|
40 |
Requires: %{name} |
|
41 |
||
42 |
%prep |
|
43 |
rm -rf %name-%version |
|
44 |
mkdir -p %name-%version |
|
45 |
%gstp.prep -d %name-%version |
|
15836 | 46 |
cd %{name}-%{gstp.version} |
16906 | 47 |
cd gst-python-%version |
48 |
%patch1 -p1 |
|
15075 | 49 |
|
50 |
%build |
|
51 |
%gstp.build -d %name-%version |
|
52 |
||
53 |
%install |
|
54 |
rm -rf $RPM_BUILD_ROOT |
|
55 |
%gstp.install -d %name-%version |
|
56 |
||
57 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
58 |
||
59 |
%clean |
|
60 |
rm -rf $RPM_BUILD_ROOT |
|
61 |
||
62 |
%files |
|
63 |
%defattr (-, root, bin) |
|
64 |
%dir %attr (0755, root, bin) %{_libdir} |
|
15746 | 65 |
%{_libdir}/gstreamer-0.10/libgstpython.so |
15075 | 66 |
%{_libdir}/python%{pythonver}/vendor-packages/gst-0.10/* |
67 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.pth |
|
68 |
%{_libdir}/python%{pythonver}/vendor-packages/pygst.py |
|
69 |
%{_libdir}/python%{pythonver}/vendor-packages/*.so |
|
70 |
%doc -d gst-python-%{gstp.version} AUTHORS |
|
71 |
%doc -d gst-python-%{gstp.version} README |
|
72 |
%doc(bzip2) -d gst-python-%{gstp.version} COPYING |
|
73 |
%doc(bzip2) -d gst-python-%{gstp.version} ChangeLog |
|
74 |
%doc(bzip2) -d gst-python-%{gstp.version} NEWS |
|
75 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
76 |
%dir %attr (0755, root, sys) %{_datadir} |
|
77 |
||
78 |
%files devel |
|
79 |
%defattr (-, root, bin) |
|
80 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
81 |
%{_libdir}/pkgconfig/* |
|
82 |
%dir %attr (0755, root, sys) %{_datadir} |
|
83 |
%{_datadir}/gst-python |
|
84 |
||
85 |
%changelog |
|
16906 | 86 |
* Wed Nov 04 2009 - [email protected] |
87 |
- Fix the way the patch is applied so it does not fail when the module is |
|
88 |
bumped. |
|
15836 | 89 |
* Tue Jun 02 2009 - [email protected] |
90 |
- Add patch gst-python-01-python26.diff so that when building the Python 2.6 |
|
91 |
bindings, all files use Python 2.6 instead of "#!/usr/bin/env python". |
|
92 |
Otherwise this package depends on the gst-python 2.4 bindings. |
|
15075 | 93 |
* Thu Feb 12 2009 - [email protected] |
94 |
- created 2.6 version based on SUNWgst-python.spec. |
|
95 |
* Mon Oct 13 2008 - [email protected] |
|
96 |
- Bump to 0.10.13. Remove upstream patch gst-python-01-pipelinetester.diff. |
|
97 |
* Fri Sep 12 2008 - [email protected] |
|
98 |
- Update copyright |
|
99 |
* Wed Jul 16 2008 - [email protected] |
|
100 |
- Update %files for newly delivered library. |
|
101 |
* Thu Jun 19 2008 - [email protected] |
|
102 |
- Bump to 0.10.12. |
|
103 |
* Thu Mar 20 2008 - [email protected] |
|
104 |
- Bump to 0.10.11. |
|
105 |
* Tue Mar 18 2008 - [email protected] |
|
106 |
- Add Build/Requires for SUNWgnome-python-libs and SUNWgnome-media. |
|
107 |
* Tue Feb 12 2008 - [email protected] |
|
108 |
- initial version |
|
109 |