Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > 863d6bb7085bef9decfd3ec6b01c8cbe > files > 8

gstreamer0.10-plugins-good-0.10.22-1.1.4mdv2010.1.src.rpm

%define version 0.10.22
%define release %mkrel 1
# (cg) NB to secteam. The sub-subrel below is for main/testing packages. main/updates build should see it bumped to just 2.
%define subrel 1.4
%define         _glib2          2.2
%define major 0.10
%define majorminor 0.10
%define bname gstreamer0.10
%define name %bname-plugins-good
%define gst_required_version 0.10.29

Summary: 	GStreamer Streaming-media framework plug-ins
Name: 		%name
Version: 	%version
Release: 	%release
License: 	LGPLv2+
Group: 		Sound
Source: 	http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.bz2
#gw patches from git to fix
#https://qa.mandriva.com/show_bug.cgi?id=60072
Patch0: 0000-pulsesink-Create-and-free-the-PA-mainloop-in-NULL-RE.patch
Patch1: 0001-pulsesink-Allocate-and-free-the-custom-clock-in-NULL.patch
Patch2: 0002-pulsesrc-Allocate-free-PA-mainloop-during-state-chan.patch
Patch3: 0003-pulse-Don-t-lock-the-mainloop-in-NULL.patch
Patch4: 0004-pulsesink-use-G_TYPE_DEFINE-to-define-ring-buffer-ty.patch
#gw likely a fix for this:
#https://qa.mandriva.com/show_bug.cgi?id=60389
Patch5: 0005-pulsesink-Post-provide-clock-message-on-the-bus-if-t.patch
URL:            http://gstreamer.freedesktop.org/
BuildRoot: 	%{_tmppath}/%{name}-%{version}-root 
#gw for the pixbuf plugin
BuildRequires:  gtk+2-devel
BuildRequires:  glib2-devel >= %_glib2 
BuildRequires: libpng-devel >= 1.2.4-4mdk
BuildRequires: libjpeg-devel
BuildRequires: liboil-devel >= 0.3.2
BuildRequires: libvorbis-devel >= 1.0-4mdk
BuildRequires: libtheora-devel
BuildRequires: libshout-devel
BuildRequires: libv4l-devel
BuildRequires: libbzip2-devel
BuildRequires: gettext-devel
BuildRequires: taglib-devel
BuildRequires: hal-devel >= 0.5.6
BuildRequires: libgudev-devel
# libtool dep:
BuildRequires: dbus-glib-devel
%ifarch %ix86
BuildRequires: nasm => 0.90
%endif
%ifnarch %mips %arm
BuildRequires: valgrind
%endif
BuildRequires: libcheck-devel
BuildRequires: libgstreamer-plugins-base-devel >= %{gst_required_version}
BuildRequires: gstreamer0.10-plugins-base
BuildRequires: libmesaglu-devel
BuildRequires: libGConf2-devel
Provides:	%bname-audiosrc
Provides:	%bname-audiosink
# some plugins moved from bad to good with release 0.10.19
Conflicts: gstreamer0.10-plugins-bad < 0.10.18
# gw this is the default http source:
Suggests: %bname-soup

%description
GStreamer is a streaming-media framework, based on graphs of filters which
operate on media data. Applications using this library can do anything
from real-time sound processing to playing videos, and just about anything
else media-related.  Its plugin-based architecture means that new data
types or processing capabilities can be added simply by installing new
plug-ins.

This package contains a set of plug-ins that are considered to have
good quality code, correct functionality, the preferred license (LGPL
for the plug-in code, LGPL or LGPL-compatible for the supporting
library). People writing elements should base their code on these
elements.


%prep
%setup -q -n gst-plugins-good-%{version}
%apply_patches

%build
%configure2_5x  \
  --with-package-name='Mandriva %name package' \
  --with-package-origin='http://www.mandriva.com/' \
  --disable-dependency-tracking   --enable-experimental
%make

# FIXME: Some tests on mips are currently failing with timeouts
# so disable them.
%ifnarch %mips
%check
cd tests/check
make check
%endif

%install
rm -rf %buildroot gst-plugins-base-%majorminor.lang
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std GETTEXT_PACKAGE=gst-plugins-good-%majorminor
%find_lang gst-plugins-good-%majorminor
# Clean out files that should not be part of the rpm.
# This is the recommended way of dealing with it for RH8
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

#blino remove development doc since we don't ship devel files
rm -rf $RPM_BUILD_ROOT%{_docdir}/docs/plugins/html

%clean
rm -rf $RPM_BUILD_ROOT

%define schemas gstreamer-0.10

%post
%post_install_gconf_schemas %{schemas}

%preun
%preun_uninstall_gconf_schemas %{schemas}

%files -f gst-plugins-good-%majorminor.lang
%defattr(-, root, root)
%doc AUTHORS COPYING README NEWS
%_sysconfdir/gconf/schemas/gstreamer-%majorminor.schemas
%_libdir/gstreamer-%majorminor/libgstalaw.so
%_libdir/gstreamer-%majorminor/libgstannodex.so
%_libdir/gstreamer-%majorminor/libgstalpha.so
%_libdir/gstreamer-%majorminor/libgstalphacolor.so
%_libdir/gstreamer-%majorminor/libgstapetag.so
%_libdir/gstreamer-%majorminor/libgstaudiofx.so
%_libdir/gstreamer-%majorminor/libgstauparse.so
%_libdir/gstreamer-%majorminor/libgstautodetect.so
%_libdir/gstreamer-%majorminor/libgstavi.so
%_libdir/gstreamer-%majorminor/libgstcairo.so
%_libdir/gstreamer-%majorminor/libgstcutter.so
%_libdir/gstreamer-%majorminor/libgstdebug.so
%_libdir/gstreamer-%majorminor/libgstdeinterlace.so
%_libdir/gstreamer-%majorminor/libgstefence.so
%_libdir/gstreamer-%majorminor/libgsteffectv.so
%_libdir/gstreamer-%majorminor/libgstflv.so
%_libdir/gstreamer-%majorminor/libgstequalizer.so
%_libdir/gstreamer-%majorminor/libgstflxdec.so
%_libdir/gstreamer-%majorminor/libgstgamma.so
%_libdir/gstreamer-%majorminor/libgstgconfelements.so
%_libdir/gstreamer-%majorminor/libgstgdkpixbuf.so
%_libdir/gstreamer-%majorminor/libgstgoom.so
%_libdir/gstreamer-%majorminor/libgstgoom2k1.so
%_libdir/gstreamer-%majorminor/libgsthalelements.so
%_libdir/gstreamer-%majorminor/libgsticydemux.so
%_libdir/gstreamer-%majorminor/libgstid3demux.so
%_libdir/gstreamer-%majorminor/libgstinterleave.so
%_libdir/gstreamer-%majorminor/libgstjpeg.so
%_libdir/gstreamer-%majorminor/libgstlevel.so
%_libdir/gstreamer-%majorminor/libgstmatroska.so
%_libdir/gstreamer-%majorminor/libgstmonoscope.so
%_libdir/gstreamer-%majorminor/libgstmulaw.so
%_libdir/gstreamer-%majorminor/libgstmultifile.so
%_libdir/gstreamer-%majorminor/libgstmultipart.so
%_libdir/gstreamer-%majorminor/libgstnavigationtest.so
%_libdir/gstreamer-%majorminor/libgstossaudio.so
%_libdir/gstreamer-%majorminor/libgstpng.so
%_libdir/gstreamer-%majorminor/libgstqtdemux.so
%_libdir/gstreamer-%majorminor/libgstreplaygain.so
%_libdir/gstreamer-%majorminor/libgstrtp.so
%_libdir/gstreamer-%majorminor/libgstrtpmanager.so
%_libdir/gstreamer-%majorminor/libgstrtsp.so
%_libdir/gstreamer-%majorminor/libgstshapewipe.so
%_libdir/gstreamer-%majorminor/libgstshout2.so
%_libdir/gstreamer-%majorminor/libgstsmpte.so
%_libdir/gstreamer-%majorminor/libgstspectrum.so
%_libdir/gstreamer-%majorminor/libgsttaglib.so
%_libdir/gstreamer-%majorminor/libgstudp.so
%_libdir/gstreamer-%majorminor/libgstvideo4linux2.so
%_libdir/gstreamer-%majorminor/libgstvideobalance.so
%_libdir/gstreamer-%majorminor/libgstvideobox.so
%_libdir/gstreamer-%majorminor/libgstvideocrop.so
%_libdir/gstreamer-%majorminor/libgstvideoflip.so
%_libdir/gstreamer-%majorminor/libgstvideomixer.so
%_libdir/gstreamer-%majorminor/libgstwavenc.so
%_libdir/gstreamer-%majorminor/libgstwavparse.so
%_libdir/gstreamer-%majorminor/libgstximagesrc.so
%_libdir/gstreamer-%majorminor/libgsty4menc.so
%dir %_datadir/gstreamer-%majorminor/
%dir %_datadir/gstreamer-%majorminor/presets
%_datadir/gstreamer-%majorminor/presets/*

%package -n %bname-soup
Summary:  GStreamer HTTP plugin based on libsoup
Group:    System/Libraries
Requires: %bname-plugins = %{version}
BuildRequires: libsoup-devel >= 2.3

%description -n %bname-soup
Plug-in for HTTP access based on libsoup.

%files -n %bname-soup
%defattr(-, root, root)
%_libdir/gstreamer-%majorminor/libgstsouphttpsrc.so

%package -n %bname-pulse
Summary: Pulseaudio plugin for GStreamer
Group: Sound
Requires:      %bname-plugins >= %{version}
BuildRequires: libpulseaudio-devel >= 0.9.7
Requires: pulseaudio >= 0.9.7

%description -n %bname-pulse
This is a GStreamer audio output plugin using the Pulseaudio sound server.

%files -n %bname-pulse
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so


### LIBDV ###
%package -n %bname-dv
Summary:       GStreamer DV plug-in
Group:         Video
Requires:      %bname-plugins >= %{version}
BuildRequires: libdv-devel >= 0.98

%description -n %bname-dv
Plug-in for digital video support using libdv.

%files -n %bname-dv
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstdv.so

%package -n %bname-speex
Summary: Gstreamer plugin for encoding and decoding Ogg Speex audio files
Group: Sound
Requires: %bname-plugins >= %{version}-%release
BuildRequires: libspeex-devel 

%description -n %bname-speex
Plug-Ins for creating and playing Ogg Speex audio files.

%files -n %bname-speex  
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so

### RAW1394 ###
%package -n %bname-raw1394
Summary:       GStreamer raw1394 Firewire plug-in
Group:         System/Libraries
Requires:      %bname-plugins >= %{version}-%release
BuildRequires: libavc-devel
BuildRequires: libraw1394-devel
BuildRequires: libiec61883-devel

%description -n %bname-raw1394
Plug-in for digital video support using raw1394.

%files -n %bname-raw1394
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgst1394.so

### FLAC ###
%package -n %bname-flac
Summary:       GStreamer plug-in for FLAC lossless audio
Group:         Sound
Requires:      %bname-plugins >= %{version}-%release
BuildRequires: libflac-devel >= 1.0.4

%description -n %bname-flac
Plug-in for the free FLAC lossless audio format.

%files -n %bname-flac
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstflac.so

### ESD ###
%package -n %bname-esound
Summary: Gstreamer plugin for ESD sound output
Group: Sound
Obsoletes:     %bname-esd
Provides:      %bname-esd
Requires: esound >= 0.2.8
BuildRequires: libesound-devel >= 0.2.8
Requires: %bname-plugins >= %{version}-%release
Provides:	%bname-audiosrc
Provides:	%bname-audiosink

%description -n %bname-esound
Output plugin for GStreamer for use with the esound package

%files -n %bname-esound
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstesd.so

### AALIB ###
%package -n %bname-aalib
Summary: Gstreamer plugin for Ascii-art output
Group: Video
BuildRequires: aalib-devel >= 1.3
Requires: %bname-plugins >= %{version}-%release

%description -n %bname-aalib
Plugin for viewing movies in Ascii-art using aalib library.

%files -n %bname-aalib
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so

%package -n %bname-caca
Summary: Gstreamer plugin for Ascii-art output
Group: Video
BuildRequires: libcaca-devel
Requires: %bname-plugins >= %{version}-%release

%description -n %bname-caca
Plugin for viewing movies in Ascii-art using caca library.

%files -n %bname-caca
%defattr(-, root, root)
%_libdir/gstreamer-%majorminor/libgstcacasink.so


%package -n %bname-wavpack
Summary: Gstreamer plugin for encoding and decoding WavPack audio files
Group: Sound
Requires: %bname-plugins = %{version}
BuildRequires: libwavpack-devel

%description -n %bname-wavpack
Plug-Ins for creating and playing WavPack audio files.

%files -n %bname-wavpack
%defattr(-, root, root)
%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so



%changelog
* Mon Aug 16 2010 Colin Guthrie <cguthrie@mandriva.org> 0.10.22-1.1.4mdv2010.1
+ Revision: 570576
- Revert last patch. It exposes a crash issue in KDE Phonon+GST.
- Apply upstream fix from bgo#624338 which addresses some threading issues. May also help some issues exposed via KDE's Phonon
- Apply upstream fix for thread safety with pulsesink (bgo#624338, bko#246141)

  + Götz Waschk <waschk@mandriva.org>
    - add another pulse fix fur bug #60389
    - add git patches trying to fix bug #60072

* Wed Apr 28 2010 Götz Waschk <waschk@mandriva.org> 0.10.22-1mdv2010.1
+ Revision: 540040
- new version
- bump gstreamer dep

* Tue Mar 09 2010 Götz Waschk <waschk@mandriva.org> 0.10.21-1mdv2010.1
+ Revision: 516849
- update to new version 0.10.21

* Sun Mar 07 2010 Götz Waschk <waschk@mandriva.org> 0.10.19-2mdv2010.1
+ Revision: 515602
- update conflict with -bad plugins

* Sun Mar 07 2010 Götz Waschk <waschk@mandriva.org> 0.10.19-1mdv2010.1
+ Revision: 515586
- new version
- bump deps
- update file list

* Thu Feb 11 2010 Funda Wang <fwang@mandriva.org> 0.10.18-1mdv2010.1
+ Revision: 504214
- New version 0.10.18

* Sun Jan 10 2010 Oden Eriksson <oeriksson@mandriva.com> 0.10.17-2mdv2010.1
+ Revision: 488760
- rebuilt against libjpeg v8

* Sat Nov 21 2009 Götz Waschk <waschk@mandriva.org> 0.10.17-1mdv2010.1
+ Revision: 467802
- new version
- drop pulseaudio patches

* Sun Oct 18 2009 Colin Guthrie <cguthrie@mandriva.org> 0.10.16-3mdv2010.0
+ Revision: 458097
- Backport upstream pulse changes. Fixes mdv#53554

* Fri Sep 25 2009 Olivier Blin <oblin@mandriva.com> 0.10.16-2mdv2010.0
+ Revision: 449050
- disable testsuite on mips due to timeouts (from Arnaud Patard)
- disable valgrind on mips & arm (from Arnaud Patard)

* Sun Aug 30 2009 Götz Waschk <waschk@mandriva.org> 0.10.16-1mdv2010.0
+ Revision: 422366
- new version
- update file list
- drop patch
- update conflict with bad plugins

  + Oden Eriksson <oeriksson@mandriva.com>
    - rebuilt against libjpeg v7

* Sun Jun 21 2009 Frederik Himpe <fhimpe@mandriva.org> 0.10.15-2mdv2010.0
+ Revision: 387695
- Add upstream patch fixing CVE-2009-1932

* Thu May 21 2009 Götz Waschk <waschk@mandriva.org> 0.10.15-1mdv2010.0
+ Revision: 378302
- new version
- update file list
- bump conflict with gstreamer0.10-plugins-bad

* Fri Feb 20 2009 Götz Waschk <waschk@mandriva.org> 0.10.14-1mdv2009.1
+ Revision: 343225
- new version
- drop all patches
- update file list

* Sun Feb 08 2009 Colin Guthrie <cguthrie@mandriva.org> 0.10.13-3mdv2009.1
+ Revision: 338493
- Upgrade the pulse plugin to the git master version (rewrite with stability fixes)

* Wed Jan 28 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-2mdv2009.1
+ Revision: 334958
- patch memleak in pulse plugin
- remove build workaround

* Fri Jan 23 2009 Götz Waschk <waschk@mandriva.org> 0.10.13-1mdv2009.1
+ Revision: 332723
- update build deps
- fix test
- fix installation
- new version
- rediff patch 1
- drop patch 2
- fix build

* Mon Jan 19 2009 Frederic Crozat <fcrozat@mandriva.com> 0.10.11-3mdv2009.1
+ Revision: 331237
- Patch2 (CVS): fix pulseaudio memleak (GNOME bug #567746)
- Update buildrequires
- ensure autogen is called in noconfigure mode

* Sun Dec 28 2008 Funda Wang <fwang@mandriva.org> 0.10.11-2mdv2009.1
+ Revision: 320384
- rebuild for new raw1394

* Mon Nov 03 2008 Götz Waschk <waschk@mandriva.org> 0.10.11-1mdv2009.1
+ Revision: 299407
- new version
- drop patch 0
- update patch 1
- update build deps

* Tue Oct 14 2008 Götz Waschk <waschk@mandriva.org> 0.10.10-3mdv2009.1
+ Revision: 293583
- fix autogen call

* Mon Sep 01 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 0.10.10-2mdv2009.0
+ Revision: 278574
- Add BuildRequires for gettext-devel (needed after starting using
  autogen.sh in previous change).
- Added libv4l support, needed by gspcav2 on linux 2.6.27
  (Patch from http://bugzilla.gnome.org/show_bug.cgi?id=545033#c7)

* Mon Sep 01 2008 Götz Waschk <waschk@mandriva.org> 0.10.10-1mdv2009.0
+ Revision: 278411
- new version
- remove cdio element

* Thu Aug 07 2008 Frederic Crozat <fcrozat@mandriva.com> 0.10.9-3mdv2009.0
+ Revision: 266433
- Patch0: ensure translated strings are in UTF-8 (GNOME bug #546822)

* Mon Aug 04 2008 Götz Waschk <waschk@mandriva.org> 0.10.9-2mdv2009.0
+ Revision: 263058
- bump
- new version
- drop patch
- add pulseaudio plugin
- move some plugins from -bad and update conflict
- reenable checks

* Tue Jul 15 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-3mdv2009.0
+ Revision: 235888
- update license
- suggest soup package

* Fri May 09 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-2mdv2009.0
+ Revision: 205267
- fix default audio sink

* Fri May 09 2008 Götz Waschk <waschk@mandriva.org> 0.10.8-1mdv2009.0
+ Revision: 204901
- new version
- drop patch
- move soup plugin here
- add goom2k1 plugin

* Sun May 04 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-4mdv2009.0
+ Revision: 201188
- P0: security fix for CVE-2008-1686

* Thu Mar 13 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-3mdv2008.1
+ Revision: 187337
- add Mandriva branding

* Mon Mar 10 2008 Frederic Crozat <fcrozat@mandriva.com> 0.10.7-2mdv2008.1
+ Revision: 183328
- Fix conflicts to handle 2008.0 upgrade

* Thu Feb 21 2008 Götz Waschk <waschk@mandriva.org> 0.10.7-1mdv2008.1
+ Revision: 173578
- new version
- update file list

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Sep 20 2007 Olivier Blin <oblin@mandriva.com> 0.10.6-3mdv2008.0
+ Revision: 91471
- remove development doc since we don't ship devel files

* Thu Aug 16 2007 Götz Waschk <waschk@mandriva.org> 0.10.6-2mdv2008.0
+ Revision: 64240
- add experimental plugins

* Wed Jun 20 2007 Götz Waschk <waschk@mandriva.org> 0.10.6-1mdv2008.0
+ Revision: 41845
- new version
- drop patch
- move wavpack plugin here
- update file list

* Wed Jun 06 2007 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 0.10.5-3mdv2008.0
+ Revision: 36088
- Rebuild with libslang2.


* Sun Apr 01 2007 Frederic Crozat <fcrozat@mandriva.com> 0.10.5-2mdv2007.1
+ Revision: 150132
- Install gconf schemas
- Don't run make check when generating package, broken ATM

* Sat Dec 30 2006 Götz Waschk <waschk@mandriva.org> 0.10.5-1mdv2007.1
+ Revision: 102876
- new version
- rediff the flac patch
- update buildrequires
- reenable checks
- update file list
- add docs
- split out caca to separate package

* Mon Dec 11 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-3mdv2007.1
+ Revision: 95054
- Import gstreamer0.10-plugins-good

* Mon Dec 11 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-3mdv2007.1
- patch for new flac
- fix for new caca
- add support for checks but don't enable them

* Thu Aug 17 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-2mdv2007.0
- add missing buildrequires (spturtle)

* Tue Aug 15 2006 Götz Waschk <waschk@mandriva.org> 0.10.4-1mdv2007.0
- bump deps
- New release 0.10.4

* Wed Aug 02 2006 Frederic Crozat <fcrozat@mandriva.com> 0.10.3-3mdv2007.0
- Rebuild with latest dbus

* Sun Jun 18 2006 Götz Waschk <waschk@mandriva.org> 0.10.3-2mdv2007.0
- add hal module
- fix buildrequires

* Tue May 09 2006 Götz Waschk <waschk@mandriva.org> 0.10.3-1mdk
- update file list
- New release 0.10.3

* Sat Mar 18 2006 Götz Waschk <waschk@mandriva.org> 0.10.2-3mdk
- rebuild for new cdio

* Thu Feb 16 2006 Götz Waschk <waschk@mandriva.org> 0.10.2-2mdk
- fix buildrequires

* Mon Feb 13 2006 Götz Waschk <waschk@mandriva.org> 0.10.2-1mdk
- update file list
- bump deps
- New release 0.10.2

* Tue Jan 17 2006 Götz Waschk <waschk@mandriva.org> 0.10.1-1mdk
- update file list
- New release 0.10.1

* Thu Dec 29 2005 Götz Waschk <waschk@mandriva.org> 0.10.0-2mdk
- improve description
- fix buildrequires

* Tue Dec 06 2005 Götz Waschk <waschk@mandriva.org> 0.10.0-1mdk
- initial package