Changes of Revision 18
[-] | Changed | xine-lib.spec |
x 1
2 # --without distributable -> build libxine1-codecs 3 # 4 # default for buildservice is no patented codecs 5 -%bcond_without distributable 6 %bcond_with onlynondistributable 7 %if 0%{suse_version} >= 1100 8 %bcond_without pulseaudio 9 %else 10 %bcond_with pulseaudio 11 %endif 12 -%bcond_with sdl 13 -%bcond_with aalib 14 -%bcond_with arts 15 -%bcond_with esd 16 -%bcond_with jack 17 +%bcond_without sdl 18 +%bcond_without aalib 19 +%bcond_without arts 20 +%bcond_without esd 21 +%bcond_without jack 22 %bcond_without gnome_vfs 23 -%bcond_with directfb 24 +%bcond_without directfb 25 %if 0%{suse_version} > 1110 26 %bcond_without modplug 27 %else 28
29 BuildRequires: libcdio-devel libdrm-devel libmng-devel libsmbclient 30 BuildRequires: Mesa-devel libsmbclient-devel libtheora-devel libvorbis-devel 31 BuildRequires: readline-devel update-desktop-files vcdimager-devel 32 -BuildRequires: speex-devel 33 +BuildRequires: libspeex-devel 34 %if 0%{suse_version} >= 1110 35 BuildRequires: libv4l-devel 36 %endif 37
38 BuildRequires: libmodplug-devel 39 %endif 40 Version: 1.1.19 41 -Release: 45 42 +Release: 1.pm.44.5 43 # bug437293 44 %ifarch ppc64 45 Obsoletes: xine-lib-64bit 46
47 # install documentation 48 install -m 0644 %{SOURCE10} COPYING AUTHORS %{buildroot}%{_defaultdocdir}/xine/ 49 %if !%{with distributable} 50 -touch ${RPM_BUILD_ROOT}%{_datadir}/xine/mad 51 +touch ${RPM_BUILD_ROOT}%{_datadir}/xine/mad || echo "can't touch" 52 %endif 53 # remove usless READMEs 54 rm %{buildroot}%{_defaultdocdir}/xine/README.{irix,solaris,WIN32} 55
56 xargs -i+ strip --strip-debug %{buildroot}/+ <files.codecs 57 %endif 58 %endif 59 -%if %{with onlynondistributable} 60 +%if %{with distributable} 61 for i in files files.*; do 62 test "$i" = 'files.codecs' || xargs -i+ rm -f %{buildroot}/+ < $i 63 done 64
65 66 %clean 67 rm -rf %{buildroot} 68 -%if !%{with onlynondistributable} 69 +%if !%{with distributable} 70 71 %post -n libxine1 -p /sbin/ldconfig 72 73
74 %endif 75 76 %changelog 77 -* Thu Nov 18 2010 coolo@novell.com 78 -- add patch from arch linux to fix build with newer xorg 79 * Tue Aug 3 2010 lnussel@suse.de 80 - remove unneeded libcdio-mini-devel buildignore again 81 * Mon Jul 26 2010 Manfred.Tremmel@iiv.de 82 |
||
[+] | Added | xine-lib.spec.pm ^ |
@@ -0,0 +1,1870 @@ +# +# spec file for package xine-lib (Version 1.1.19) +# +# Copyright (c) 2010 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: xine-lib +# %bcond_with = default off +# %bcond_without = default on +# +# --with distributable -> don't build libxine1-codecs +# --without distributable -> build libxine1-codecs +# +# default for buildservice is no patented codecs +%bcond_without distributable +%bcond_with onlynondistributable +%if 0%{suse_version} >= 1100 +%bcond_without pulseaudio +%else +%bcond_with pulseaudio +%endif +%bcond_with sdl +%bcond_with aalib +%bcond_with arts +%bcond_with esd +%bcond_with jack +%bcond_without gnome_vfs +%bcond_with directfb +%if 0%{suse_version} > 1110 +%bcond_without modplug +%else +%bcond_with modplug +%endif +# +%bcond_without external_ffmpeg +# +BuildRequires: ImageMagick-devel alsa-devel flac-devel giflib-devel +BuildRequires: glib2-devel gnutls-devel gtk2-devel imlib2-devel krb5-devel +BuildRequires: libcdio-devel libdrm-devel libmng-devel libsmbclient +BuildRequires: Mesa-devel libsmbclient-devel libtheora-devel libvorbis-devel +BuildRequires: readline-devel update-desktop-files vcdimager-devel +BuildRequires: speex-devel +%if 0%{suse_version} >= 1110 +BuildRequires: libv4l-devel +%endif +%if 0%{suse_version} >= 1030 +BuildRequires: lirc-devel +%else +BuildRequires: lirc +%endif +%if !%{with distributable} +# those requiremens are optional but internal copies are likely old +%if %{with external_ffmpeg} +BuildRequires: libfaad-devel libffmpeg-devel +%endif +%endif +%if %{with pulseaudio} +BuildRequires: libpulse-devel +%endif +%if %{with sdl} +BuildRequires: SDL-devel +%endif +%if %{with aalib} +BuildRequires: aalib-devel +BuildRequires: libcaca-devel +%endif +%if %{with arts} +BuildRequires: arts-devel +%endif +%if %{with esd} +BuildRequires: esound-devel +%endif +%if %{with gnome_vfs} +BuildRequires: gnome-vfs2-devel +%endif +%if %{with jack} +BuildRequires: libjack-devel +%endif +%if %{with directfb} +%if 0%{suse_version} >= 1020 +BuildRequires: DirectFB-devel +%else +BuildRequires: DirectFB +%endif +%endif +%if %{with modplug} +BuildRequires: libmodplug-devel +%endif +Version: 1.1.19 +Release: 45 +# bug437293 +%ifarch ppc64 +Obsoletes: xine-lib-64bit +%endif +%define abiversion 1.29 +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +License: GPLv2+ +Url: http://www.xine-project.org/home +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with distributable} +Source: xine-lib-%{version}-crippled.tar.bz2 +%else +Source: http://downloads.sourceforge.net/project/xine/xine-lib/%{version}/xine-lib-%{version}.tar.bz2 +%endif +Source2: baselibs.conf +Source10: README.SuSE +Source99: precheckin_cripple_tarball.sh +# *** xine-lib: Bugfixes +Patch26: xine-lib-doc-fix-X11R6.diff +Patch28: xine-lib-%{version}-ia64-is-not-alpha.diff +Patch31: xine-lib-%{version}-glitch-free-pulseaudio.patch +Patch32: http://repos.archlinux.org/wsvn/packages/xine-lib/trunk/xine-lib-1.1.19-xvmc.patch +# *** Addons +Patch50: vdr-xine-0.9.3.diff.bz2 +Patch51: vdr-xine-SUSE.diff +Patch61: xine-lib-%{version}-mjpegplugin.diff +Patch62: xine-lib-libdvdread_udf.diff +# *** SUSE only changes +Patch70: xine-lib-crippled-LOCAL.diff +Patch71: xine-lib-%{version}-demuxcheckfor_mad_ffmpeg.patch +Patch72: xine-lib-%{version}-install-plugins-helper.diff +Patch73: xine-lib-%{version}-assert.patch +Patch74: xine-configure.diff +# *** Only working for noncrippled source +Patch80: xine-lib-various-noncrippled.diff + +%description +xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It +also decodes multimedia files like AVI, MOV, WMV, and MP3 from local +disk drives, and displays multimedia streamed over the Internet. It +interprets many of the most common multimedia formats available - and +some of the most uncommon formats, too. + +%description -l de +xine ist ein freies Multimedia Wiedergabeprogramm. Es spielt Musik-CDs, +Video-DVDs und VCDs. Es gibt auch Multimeda Dateien wie AVI, MOV, WMV +und MP3 von der lokalen Platte sowie über das Internet wieder. Es gibt +die meisten übliche Multimedia Formate wieder, sowie einige weniger +verbreitete. + +%package -n libxine1 +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +License: GPLv2+ +Provides: xine-lib = %{version}-%{release} +Obsoletes: xine-lib < %{version}-%{release} +Provides: xine-extra = %{version}-%{release} +Obsoletes: xine-extra < %{version}-%{release} +Provides: libxine1-syncfb = %{version}-%{release} +Obsoletes: libxine1-syncfb < %{version}-%{release} +Provides: libxine1-xvmc = %{version}-%{release} +Obsoletes: libxine1-xvmc < %{version}-%{release} +Provides: libxine1-dvb = %{version}-%{release} +Obsoletes: libxine1-dvb < %{version}-%{release} +# bug437293 +%ifarch ppc64 +Obsoletes: xine-lib-64bit +%endif +# +Recommends: libxine1-codecs = %{version} +Recommends: opensuse-codecs-installer + +%description -n libxine1 +xine is a video player with a graphical front-end that supports a large +number of file formats (VCD and MPEG2, for example) using plug-ins. +Several plug-ins are included. Others can be installed after xine +installation. xine supports stereo sound using OSS and AC5.1 using +Alsa. + +xine ist ein Videoplayer mit grafischem Frontend und unterstützt +eine vielzahl an Dateiformaten (z.B. VCD und MPEG2) mit hilfe von +Plugins. Einige Plugins sind enthalten, andere können nach der +Installation von xine nachinstalliert werden. xine untersützt +Stereosound via OSS und AC5.1 per Alsa. + +xine is a video player with a graphical front-end that supports a large +number of file formats (VCD and MPEG2, for example) using plug-ins. +Several plug-ins are included. Others can be installed after xine +installation. xine supports stereo sound using OSS and AC5.1 using +Alsa. + +xine ist ein Videoplayer mit grafischem Frontend und unterstützt +eine vielzahl an Dateiformaten (z.B. VCD und MPEG2) mit hilfe von +Plugins. Einige Plugins sind enthalten, andere können nach der |