File libflashsupport.spec of Package libflashsupport

#
# spec file for package libflashsupport (Version 1.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libflashsupport
Summary:        Additional support for Flash-based applications
Version:        1.2
Release:        4
License:        BSD 3-Clause
Group:          System/Sound Daemons
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE libflashsupport-1.2-Makefile.diff
Patch0:         %{name}-%{version}-Makefile.diff
# PATCH-FIX-OPENSUSE libflashsupport-1.2-readme.diff
Patch1:         %{name}-%{version}-readme.diff
# PATCH-FIX-UPSTREAM libflashsupport-detect-pulseaudio.patch -- add better detection for PulseAudio
Patch2:         libflashsupport-detect-pulseaudio.patch
Url:            http://pulseaudio.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  esound-devel libpulse-devel libtool openssl-devel
ExclusiveArch:  %ix86
Supplements:    packageand(flash-player:pulseaudio)

%description
Optional Library Interfaces for Adobe Flash Player

- pulseaudio

- ESD

- OpenSSL



Authors:
--------
    Lennart Poettering

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2

%build
make %{?jobs:-j%jobs}

%install
%makeinstall
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
mv README.orig README.original

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README*
%{_libdir}/libflashsupport.so

%changelog
* Thu Nov 06 2008 ro@suse.de
- recommend libpulse0-32bit in baselibs.conf
* Mon Oct 27 2008 rodrigo@novell.com
- Add libflashsupport-detect-pulseaudio.patch to do a better
  detection (via pactl) of PulseAudio setup (bnc#437125)
* Fri Oct 24 2008 ro@suse.de
- add baselibs.conf for clean fixing of (bnc#438831)
* Wed Oct 01 2008 dominique-opensuse@leuenberger.net
- Update to version 1.2:
  + The libraries (libesd, libpulse) are now dynamically loaded
  using dlopen() and now longer linked in.
* Fri Sep 19 2008 rodrigo@novell.com
- Update to version 1.0 (fate#303943):
  + Better support for PulseAudio and esound
- Added esound-devel to BuildRequires
- Changed build instructions to fit tarball's setup
* Mon May 26 2008 jpr@suse.de
- Supplement flash-player and pulseaudio (rest of bnc #338269)
* Fri May 23 2008 jpr@suse.de
- Drop baselibs.conf and use ExclusiveArch like flash-player (bnc#338269)
* Thu May 22 2008 coolo@suse.de
- provide a 32bit version for flash (bnc#338269)
* Fri Jan 11 2008 rodrigo@suse.de
- Depend on libpulse-devel, not pulseaudio-devel
* Tue Dec 11 2007 rodrigo@suse.de
- Initial version in autobuild from home:rodrigomoya:pulseaudio BS
  project.
* Thu Nov 22 2007 cyberorg@cyberorg.info
- Initial spec for openSUSE based on Fedora 8 package
openSUSE Build Service is sponsored by