10139N/A#
10139N/A# base spec file for package gst-python
10139N/A#
10139N/A# Copyright 2008 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner lin
10139N/A#
17178N/A%{?!pythonver:%define pythonver 2.6}
17178N/A
17178N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
10139N/AName: gnome-python-extras
10139N/ASummary: Supplemental Python bindings for GNOME
10139N/AURL: http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras
10139N/AVersion: 2.25.3
10139N/AVendor: Gnome Community
10139N/ALicense: GPL v2, LGPL v2.1
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/2.25/gnome-python-extras-%{version}.tar.bz2
10139N/A# date:2008-02-18 owner:dkenny type:feature
10139N/APatch1: gnome-python-extras-01-libgksu-missing-funcs.diff
10139N/A# date:2008-05-29 owner:hawklu type:bug bugzilla:532856
10139N/APatch2: gnome-python-extras-02-using-firefox3.diff
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ARequires: python
10139N/A
10139N/A%prep
10139N/A%setup -q -n %name-%version
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A
10139N/A%build
10139N/Aexport PYTHON=/usr/bin/python%{pythonver}
10139N/Aautoconf
10139N/A./configure --prefix=%{_prefix}
10139N/Amake
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A# move to vendor-packages
10139N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
10139N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
10139N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
10139N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
10139N/A
10139N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
10139N/A* Tue Mar 03 2009 - brian.cameron@sun.com
10139N/A- Use find command to remove .la files.
10139N/A files.
10139N/A* Thu Feb 26 2009 - brian.cameron@sun.com
10139N/A- Split from SUNWgnome-python-extras.spec file.
10139N/A
10139N/A