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