From ff34c470ce0ab65c9a1b3168e424b4485f66b5c092803004b7b9f38f418f783b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 8 Sep 2008 15:07:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=14 --- xine-lib.changes | 5 + xine-lib.spec | 633 +++++++++++++++++++++++++++++++++++++---------- 2 files changed, 506 insertions(+), 132 deletions(-) diff --git a/xine-lib.changes b/xine-lib.changes index 0360675..fc68321 100644 --- a/xine-lib.changes +++ b/xine-lib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 4 14:56:47 CEST 2008 - lnussel@suse.de + +- split and rename package to adhere to library package conventions + ------------------------------------------------------------------- Tue Aug 26 11:15:41 CEST 2008 - lnussel@suse.de diff --git a/xine-lib.spec b/xine-lib.spec index 21d12af..488d664 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -19,39 +19,77 @@ Name: xine-lib -# --with-internal -> build xine+xine-internal -# --without-internal -> don't build xine-internal +# %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 -%if 0%{?opensuse_bs} - %define build_xine_default 0 -%else - %if 0%{?_without_internal:1} - %define build_xine_default 0 - %else - %define build_xine_default 2 - %endif -%endif -# 0: Build all except xine-internal 1: Build only xine-internal 2: Build all -# 1+2 need uncrippled source -%define BUILD_XINE %{?_with_internal:2}%{!?_with_internal:%build_xine_default} -BuildRequires: ImageMagick-devel SDL-devel aalib-devel arts-devel cdparanoia curl-devel esound-devel flac-devel giflib-devel glib2-devel gnome-common gnome-vfs2-devel gnutls-devel gtk2-devel imlib2-devel krb5-devel libcdio-devel libdrm-devel libmng-devel libsmbclient libsmbclient-devel libtheora-devel libvorbis-devel lirc readline-devel speex-devel update-desktop-files vcdimager-devel -%if %BUILD_XINE > 0 +%bcond_without distributable +%bcond_with onlynondistributable +%bcond_without pulseaudio +%bcond_with sdl +%bcond_with aalib +%bcond_with arts +%bcond_with esd +%bcond_with jack +%bcond_without gnome_vfs +%bcond_with directfb +%bcond_with modplug +# +%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: libsmbclient-devel libtheora-devel libvorbis-devel lirc-devel +BuildRequires: readline-devel speex-devel update-desktop-files vcdimager-devel +%if !%{with distributable} # those requiremens are optional but internal copies are likely old -BuildRequires: faad2-devel ffmpeg-devel +%if %{with external_ffmpeg} +BuildRequires: libfaad2-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} +BuildRequires: DirectFB-devel +%endif +%if %{with modplug} +BuildRequires: libmodplug %endif -Recommends: opensuse-codecs-installer Version: 1.1.15 -Release: 5 +Release: 16 %define abiversion 1.24 Summary: Video Player with Plug-Ins Group: Productivity/Multimedia/Video/Players License: GPL v2 or later; Public Domain, Freeware Url: http://xine.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: xine-lib-%version-crippled.tar.bz2 +Source: xine-lib-%{version}-crippled.tar.bz2 %if 0 -Source: xine-lib-%version.tar.bz2 +Source: xine-lib-%{version}.tar.bz2 %endif Source10: README.SuSE Source99: precheckin_cripple_tarball.sh @@ -94,15 +132,51 @@ Authors: -------- Guenter Bartsch -%if %BUILD_XINE != 1 +%package -n libxine1 +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +License: GPL v2 or later; Public Domain, Freeware +Provides: xine-lib = %{version}-%{release} +Obsoletes: xine-lib < %{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} +Recommends: libxine1-codecs < %{version}-%{release} +Recommends: opensuse-codecs-installer -%package -n xine-devel +%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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%package -n libxine-devel License: GPL v2 or later Summary: Development environment for Xine-based media players Group: Development/Libraries/C and C++ -Requires: glibc-devel freetype2-devel zlib-devel xine-lib = %version +Requires: glibc-devel freetype2-devel zlib-devel libxine1 = %{version} +Obsoletes: xine-devel < %{version}-%{release} +Provides: xine-devel = %{version}-%{release} -%description -n xine-devel +%description -n libxine-devel This package contains all necessary include files, libraries and configuration files needed to compile applications that use the Xine media player. @@ -125,13 +199,16 @@ Authors: -------- Guenter Bartsch -%package -n xine-extra +%if %{with pulseaudio} + +%package -n libxine1-pulse License: GPL v2 or later Summary: Optional Xine plugins Group: Productivity/Multimedia/Video/Players -Requires: xine-lib = %version +Requires: libxine1 = %{version} +Supplements: packageand(libpulse0:libxine1) -%description -n xine-extra +%description -n libxine1-pulse The package contains less often needed xine plugins with extra dependencies. For example to use aRts or esd audio output or visual output via SDL or aalib. @@ -143,22 +220,233 @@ Authors: Guenter Bartsch %endif -%if %BUILD_XINE != 0 +%if %{with sdl} -%package -n xine-internal +%package -n libxine1-sdl +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-sdl +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with arts} + +%package -n libxine1-arts +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-arts +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with aalib} + +%package -n libxine1-aa +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-aa +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with esd} + +%package -n libxine1-esd +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-esd +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with jack} + +%package -n libxine1-jack +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-jack +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with directfb} + +%package -n libxine1-directfb +License: GPL v2 or later; Public Domain, Freeware +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} + +%description -n libxine1-directfb +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at +http://www.xinehq.de/ + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if %{with gnome_vfs} + +%package -n libxine1-gnome-vfs +License: GPL v2 or later +Summary: Optional Xine plugins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} +Supplements: packageand(gnome-vfs2:libxine1) + +%description -n libxine1-gnome-vfs +The package contains less often needed xine plugins with extra +dependencies. For example to use aRts or esd audio output or visual +output via SDL or aalib. + + + +Authors: +-------- + Guenter Bartsch + +%endif +%if !%{with distributable} + +%package -n libxine1-codecs License: GPL v2 or later; Public Domain, Freeware # these libs are possibly illegal and may not work without libdvdcss anyway -Summary: xine plugins for watching DVDs, DivX and more -Group: SUSE internal -Requires: xine-lib = %version -Provides: xine-lib:%_libdir/xine/plugins/1.0.0/xineplug_decode_mad.so xine-mad +Summary: Video Player with Plug-Ins +Group: Productivity/Multimedia/Video/Players +Requires: libxine1 = %{version} Obsoletes: xine-mad +Obsoletes: xine-internal < %{version}-%{release} +Provides: libxine1-dvd = %{version}-%{release} +Obsoletes: libxine1-dvd < %{version}-%{release} +Provides: libxine1-dxr3 = %{version}-%{release} +Obsoletes: libxine1-dxr3 < %{version}-%{release} +%ifarch %{ix86} +Provides: libxine1-w32dll = %{version}-%{release} +Obsoletes: libxine1-w32dll < %{version}-%{release} +%endif Recommends: libdvdcss >= 1.2.6 -Recommends: opensuse-codecs-installer -%description -n xine-internal -With these Xine plug-ins, you can watch DVDs and all other kind of -media using Xine. More information about Xine plug-ins can be found at +%description -n libxine1-codecs +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. + +This version of Xine may lack certain features because of legal +requirements (potential patent violation). See +http://www.opensuse.org/XINE#Legal_Matters + +More information about Xine plug-ins can be found at http://www.xinehq.de/ @@ -170,14 +458,35 @@ Authors: %endif %prep +%if %{with distributable} && %{with onlynondistributable} +%error need --without distributable for --with onlynondistributable +%endif +cat < 0 +%if !%{with distributable} %patch80 %endif %patch72 -p1 @@ -200,40 +509,54 @@ sed -i 's|^noinst_HEADERS = input_vdr.h|xineinclude_HEADERS = input_vdr.h|' src/ rm -f m4/libtool15.m4 %build -cd xine-lib-%version -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-force-addr" +%if %{with external_ffmpeg} +# remove included ffmpeg header, they are old and may cause incompatibility +rm -rf src/libffmpeg/libav*/*.h +%endif +cd xine-lib-%{version} +export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fno-force-addr" export CCASFLAGS=-Wa,--noexecstack -%if 0%suse_version < 1011 +%if 0%{suse_version} < 1011 echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4 %endif +if [ ! -f configure ]; then + NO_CONFIGURE=1 ./autogen.sh +fi AUTOPOINT=true autoreconf -fi ./configure --prefix=/usr \ - --libdir=%_libdir \ - --mandir=%_mandir \ -%if 0%suse_version > 1010 - --docdir=%_defaultdocdir/xine \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ +%if 0%{suse_version} > 1010 + --docdir=%{_defaultdocdir}/xine \ %else - docdir=%_defaultdocdir/xine \ + docdir=%{_defaultdocdir}/xine \ %endif --enable-fpic \ --enable-antialiasing \ - --with-arts \ --with-libflac \ --with-freetype \ + %{?with_modplug:--enable-modplug} \ + %{?with_directfb:--enable-directfb} \ + %{?with_arts:--with-arts} \ +%if !%{with distributable} + %{?with_external_ffmpeg:--with-external-ffmpeg} \ +%endif +%ifarch %{ix86} --with-w32-path=/usr/lib/win32 \ - --with-install-plugins-helper=%_prefix/lib/opensuse-codecs-installer -make %{?jobs:-j%jobs} +%endif + --with-install-plugins-helper=${_prefix}/lib/opensuse-codecs-installer +make %{?jobs:-j%{jobs}} %install -cd xine-lib-%version -make install DESTDIR=%buildroot -LIB="%buildroot%_libdir/xine/plugins/%abiversion" +cd xine-lib-%{version} +make install DESTDIR=%{buildroot} +LIB="%{buildroot}%{_libdir}/xine/plugins/%{abiversion}" # install documentation -install -m 0644 %SOURCE10 COPYING AUTHORS %buildroot%_defaultdocdir/xine/ +install -m 0644 %{SOURCE10} COPYING AUTHORS %{buildroot}%{_defaultdocdir}/xine/ # remove usless READMEs -rm %buildroot%_defaultdocdir/xine/README.{irix,solaris,WIN32} -%ifarch %ix86 - mkdir -p %buildroot/usr/lib/win32 +rm %{buildroot}%{_defaultdocdir}/xine/README.{irix,solaris,WIN32} +%ifarch %{ix86} + mkdir -p %{buildroot}/usr/lib/win32 %endif cd - # @@ -250,7 +573,7 @@ xineplug_vo_out_none xineplug_vo_out_opengl xineplug_vo_out_xshm xineplug_vo_out_xv -%if 0%suse_version > 1020 +%if 0%{suse_version} > 1020 xineplug_vo_out_xcbshm xineplug_vo_out_xcbxv %endif @@ -281,6 +604,8 @@ xineplug_decode_mpc xineplug_decode_gdk_pixbuf xineplug_decode_spucmml xineplug_decode_sputext +# requires ImageMagick +xineplug_decode_image xineplug_dmx_yuv_frames xineplug_dmx_real xineplug_dmx_audio @@ -303,6 +628,10 @@ xineplug_flac xineplug_vdr xineplug_vo_out_xxmc xineplug_vo_out_xvmc +xineplug_vo_out_syncfb +%ifarch %{ix86} +xineplug_vo_out_vidix +%endif post/xineplug_post_audio_filters post/xineplug_post_goom post/xineplug_post_mosaico @@ -310,27 +639,33 @@ post/xineplug_post_switch post/xineplug_post_tvtime post/xineplug_post_visualizations # -.extra -# -# we do not want the depending stuff installed by default +.pulse +xineplug_ao_out_pulseaudio # +.arts xineplug_ao_out_arts -xineplug_ao_out_esd -xineplug_ao_out_jack -xineplug_vo_out_aa -%if 0%suse_version > 1010 -xineplug_vo_out_sdl -%endif -xineplug_vo_out_syncfb -xineplug_inp_gnome_vfs -# requires ImageMagick -xineplug_decode_image -%ifarch %ix86 -# needs dha ... -xineplug_vo_out_vidix -%endif # -.internal +.esd +xineplug_ao_out_esd +# +.jack +xineplug_ao_out_jack +# +.aalib +xineplug_vo_out_aa +xineplug_vo_out_caca +# +.sdl +xineplug_vo_out_sdl +# +.gnome-vfs +xineplug_inp_gnome_vfs +# +.directfb +xineplug_vo_out_directfb +xineplug_vo_out_xdirectfb +# +.codecs # libmad and MPEG related plugins xineplug_decode_mad xineplug_decode_spudvb @@ -359,7 +694,7 @@ xineplug_decode_spu xineplug_decode_nsf # Philips claimed intellectual property on GSM 06.10 xineplug_decode_gsm610 -%ifarch %ix86 +%ifarch %{ix86} xineplug_decode_qt xineplug_decode_w32dll %endif @@ -373,94 +708,128 @@ post/xineplug_post_planar EOF # OUT_FILE="" -grep -v ^# plugins | while read i; do - [ "${i:0:1}" = "." ] && OUT_FILE=$i && continue - echo %_libdir/xine/plugins/%abiversion/$i.so >> files$OUT_FILE +grep -v ^# plugins | while read i; do + [ "${i:0:1}" = "." ] && OUT_FILE=${i} && continue + echo %{_libdir}/xine/plugins/%{abiversion}/${i}.so >> files${OUT_FILE} done %find_lang libxine1 cat libxine1.lang >>files -%if %BUILD_XINE == 0 -xargs -i+ rm -f %buildroot/+ 0 -# we need this dir to detect mp3 support easily -mkdir -p %buildroot/usr/share/xine -touch %buildroot/usr/share/xine/mad -echo "/usr/share/xine/mad" >> files.internal +%if %{with onlynondistributable} +for i in files files.*; do + test "$i" = 'files.codecs' || xargs -i+ rm -f %{buildroot}/+ < $i +done +rm -rf %{buildroot}/usr/share %{buildroot}/usr/bin +rm -rf %{buildroot}%{_defaultdocdir}/xine %{buildroot}/usr/include +rm -rf %{buildroot}/usr/lib/win32 %{buildroot}/%{_libdir}/pkgconfig +rm -rf %{buildroot}%{_libdir}/xine/plugins/%{abiversion}/{vidix,mime.types} +rm -f %{buildroot}%{_libdir}/libxine* %endif %clean - rm -rf %buildroot -%if %BUILD_XINE != 1 +rm -rf %{buildroot} +%if !%{with onlynondistributable} -%post -n xine-lib -p /sbin/ldconfig +%post -n libxine1 -p /sbin/ldconfig -%postun -n xine-lib -p /sbin/ldconfig +%postun -n libxine1 -p /sbin/ldconfig -%files -n xine-lib -f files +%files -n libxine1 -f files %defattr(-,root,root) %_bindir/xine-list-1.1 -%ifarch %ix86 +%ifarch %{ix86} %dir /usr/lib/win32 %endif -%dir /%_libdir/xine -%dir /%_libdir/xine/plugins -%dir /%_libdir/xine/plugins/%abiversion +%dir /%{_libdir}/xine +%dir /%{_libdir}/xine/plugins +%dir /%{_libdir}/xine/plugins/%{abiversion} %dir /usr/share/xine %dir /usr/share/xine/libxine1 -%_libdir/libxine.so.* -%doc %_mandir/man1/xine-list-1.1.1.gz -%doc %_mandir/man5/xine.* -%_defaultdocdir/xine -%dir %_libdir/xine/plugins/%abiversion/post -%_libdir/xine/plugins/%abiversion/vidix -%_libdir/xine/plugins/%abiversion/mime.types +%{_libdir}/libxine.so.* +%doc %{_mandir}/man1/xine-list-1.1.1.gz +%doc %{_mandir}/man5/xine.* +%{_defaultdocdir}/xine +%dir %{_libdir}/xine/plugins/%{abiversion}/post +%{_libdir}/xine/plugins/%{abiversion}/vidix +%{_libdir}/xine/plugins/%{abiversion}/mime.types # # xine fonts # cetus is a freeware font from http://www.fontfreak.com/authors/gregfonts.htm # /usr/share/xine/libxine1/fonts +%if %{with pulseaudio} -%files -n xine-extra -f files.extra +%files -n libxine1-pulse -f files.pulse %defattr(-,root,root,0755) +%endif +%if %{with sdl} -%files -n xine-devel +%files -n libxine1-sdl -f files.sdl +%defattr(-,root,root,0755) +%endif +%if %{with arts} + +%files -n libxine1-arts -f files.arts +%defattr(-,root,root,0755) +%endif +%if %{with esd} + +%files -n libxine1-esd -f files.esd +%defattr(-,root,root,0755) +%endif +%if %{with jack} + +%files -n libxine1-jack -f files.jack +%defattr(-,root,root,0755) +%endif +%if %{with aalib} + +%files -n libxine1-aa -f files.aalib +%defattr(-,root,root,0755) +%endif +%if %{with directfb} + +%files -n libxine1-directfb -f files.directfb +%defattr(-,root,root,0755) +%endif +%if %{with gnome_vfs} + +%files -n libxine1-gnome-vfs -f files.gnome-vfs +%defattr(-,root,root,0755) +%endif + +%files -n libxine-devel %defattr(-,root,root) -%doc %_mandir/man1/xine-config.1.gz +%doc %{_mandir}/man1/xine-config.1.gz /usr/bin/xine-config -%_libdir/pkgconfig/libxine.pc -%_libdir/libxine.la -%_libdir/libxine.so +%{_libdir}/pkgconfig/libxine.pc +%{_libdir}/libxine.la +%{_libdir}/libxine.so /usr/share/aclocal/xine.m4 /usr/include/xine /usr/include/xine.h -%endif -%if %BUILD_XINE != 0 +%endif # onlynondistributable +%if !%{with distributable} -%files -n xine-internal -f files.internal +%files -n libxine1-codecs -f files.codecs %defattr(-,root,root) -%dir %_libdir/xine -%dir %_libdir/xine/plugins -%dir %_libdir/xine/plugins/%abiversion -%dir /usr/share/xine +%dir %{_libdir}/xine +%dir %{_libdir}/xine/plugins +%dir %{_libdir}/xine/plugins/%{abiversion} +%dir %{_libdir}/xine/plugins/%{abiversion}/post %endif %changelog +* Thu Sep 04 2008 lnussel@suse.de +- split and rename package to adhere to library package conventions * Tue Aug 26 2008 lnussel@suse.de - remove fuzzy hunk from xine-lib-1.1.15-cpp-compilation.diff to fix build on older distributions