* Sun Nov 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.16.3-5

- move -pulseaudio into main pkg (f12+)
- update URL
This commit is contained in:
Rex Dieter 2009-11-30 14:10:33 +00:00
parent 727d12ce69
commit 1622a9369f

View File

@ -23,17 +23,21 @@
%define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0} %define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0}
%endif # Fedora %endif # Fedora
%if 0%{?fedora} > 8 %if 0%{?fedora} > 8 || 0%{?rhel} > 5
%define _without_arts --without-arts %define _without_arts --without-arts
%endif %endif
%if 0%{?fedora} > 11
%define pa_in_main 1
%endif
Summary: A multimedia engine Summary: A multimedia engine
Name: xine-lib Name: xine-lib
Version: 1.1.16.3 Version: 1.1.16.3
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://xinehq.de/ URL: http://www.xine-project.org/
# The tarball is generated from the upstream tarball using # The tarball is generated from the upstream tarball using
# the script in SOURCE1. It prunes potentially patented code # the script in SOURCE1. It prunes potentially patented code
#Source0: http://downloads.sourceforge.net/xine/xine-lib-%{version}.tar.bz2 #Source0: http://downloads.sourceforge.net/xine/xine-lib-%{version}.tar.bz2
@ -115,6 +119,11 @@ BuildRequires: samba-common
%endif %endif
BuildRequires: libdvdnav-devel BuildRequires: libdvdnav-devel
%if 0%{?pa_in_main}
Obsoletes: xine-lib-pulseaudio < 1.1.16.3-5
Provides: xine-lib-pulseaudio = %{version}-%{release}
%endif
%description %description
This package contains the Xine library. It can be used to play back This package contains the Xine library. It can be used to play back
various media, decode multimedia files from local disk drives, and display various media, decode multimedia files from local disk drives, and display
@ -146,8 +155,6 @@ This package contains the aRts plugin for %{name}.
Summary: Pulseaudio plugin for %{name} Summary: Pulseaudio plugin for %{name}
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
# -pulseaudio was split off -extras at 1.1.11.1-2
#Obsoletes: xine-lib-extras < 1.1.11.1-2
%description pulseaudio %description pulseaudio
This package contains the pulseaudio plugin for %{name}. This package contains the pulseaudio plugin for %{name}.
@ -378,18 +385,21 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xxmc.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xxmc.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_wavpack.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_wavpack.so
%if %{with_pa}
%if ! 0%{?pa_in_main}
%files pulseaudio
%defattr(-,root,root,-)
%endif
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_pulseaudio.so
%endif
%if 0%{!?_without_arts:1} %if 0%{!?_without_arts:1}
%files arts %files arts
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_arts.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_arts.so
%endif %endif
%if %{with_pa}
%files pulseaudio
%defattr(-,root,root,-)
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_pulseaudio.so
%endif
%files extras %files extras
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_esd.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_esd.so
@ -425,6 +435,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Nov 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.16.3-5
- move -pulseaudio into main pkg (f12+)
- update URL
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.16.3-4 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.16.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild