- disable libbluray support on F16, libbluray too old

* Sat Jul 21 2012 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.1.21-2.1
- disable libbluray support on F16, libbluray too old
This commit is contained in:
Kevin Kofler 2012-07-21 15:46:43 +02:00
parent 84b672c560
commit 98180e81b4

View File

@ -23,10 +23,14 @@
%define _without_esound 1 %define _without_esound 1
%endif %endif
%if 0%{?fedora} > 16
%define bluray 1
%endif
Summary: A multimedia engine Summary: A multimedia engine
Name: xine-lib Name: xine-lib
Version: 1.1.21 Version: 1.1.21
Release: 2%{?dist} Release: 2%{?dist}.1
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.xine-project.org/ URL: http://www.xine-project.org/
@ -93,7 +97,9 @@ BuildRequires: gtk2-devel
BuildRequires: libsmbclient-devel BuildRequires: libsmbclient-devel
BuildRequires: libdvdnav-devel BuildRequires: libdvdnav-devel
BuildRequires: libdvdread-devel BuildRequires: libdvdread-devel
%if 0%{?bluray}
BuildRequires: libbluray-devel BuildRequires: libbluray-devel
%endif
# Dropped in Fedora 9 # Dropped in Fedora 9
Obsoletes: xine-lib-arts < %{version}-%{release} Obsoletes: xine-lib-arts < %{version}-%{release}
@ -315,7 +321,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_dmx_yuv_frames.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_dmx_yuv_frames.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_dmx_yuv4mpeg2.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_dmx_yuv4mpeg2.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_flac.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_flac.so
%if 0%{?bluray}
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_bluray.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_bluray.so
%endif
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_cdda.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_cdda.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_dvb.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_dvb.so
%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_dvd.so %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_dvd.so
@ -379,6 +387,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Jul 21 2012 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.1.21-2.1
- disable libbluray support on F16, libbluray too old
* Mon Jul 16 2012 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.1.21-2 * Mon Jul 16 2012 Kevin Kofler <Kevin@tigcc.ticalc.org> 1.1.21-2
- do not remove DVD plugin, not encumbered (only uses libdvdread/libdvdnav) - do not remove DVD plugin, not encumbered (only uses libdvdread/libdvdnav)