%define shortname libxine %define name libxine1 %define version @SPEC_VERSION@ %define dirversion 1.0.0 %define release 0 %define major 1 %define libname %{shortname}%{major} # Build separat packages: # 1 create a sparate package # 0 include files in main package %define BUILD_AA 0 %define BUILD_ALSA09 0 %define BUILD_ARTS 0 %define BUILD_DEVEL 1 %define BUILD_DVB 0 %define BUILD_DVD 0 %define BUILD_DXR3 0 %define BUILD_ESD 0 %define BUILD_FLAC 0 %define BUILD_GNOME_VFS 0 %define BUILD_OGG 0 %define BUILD_OPENGL 0 %define BUILD_SDL 0 %define BUILD_DIRECTFB 0 %define BUILD_SYNCFB 0 %define BUILD_W32DLL 0 %define BUILD_XVMC 0 %define BUILD_STK 0 Name: %{name} Summary: A portable video/audio library for unix-like systems. Summary(cs): Přenositelná video/audio knihovna pro unixovské systémy Summary(de): Eine portabele Audio-/Video-Bibliothek für unixartige Systeme. Summary(fi): Joustava video- ja ääniohjelmointikirjasto Unix-tyylisille käyttöjärjestelmille. Version: %{version} Release: %{release} License: GPL Group: Development/Libraries URL: http://xinehq.de Source: http://xinehq.de/files/@PACKAGE@-@VERSION@.tar.gz Packager: Manfred Tremmel Obsoletes: xine Obsoletes: xine-lib Obsoletes: xine-lib-oss Obsoletes: xine-lib-xv Obsoletes: libxine0 Obsoletes: %{shortname} Obsoletes: xine-vcdx Provides: xine Provides: xine-lib Provides: %{shortname} = %{version}-%{release} Provides: xine-vcdx BuildRoot: %{_tmppath}/%{name}-buildroot %description libxine is the beating heart of xine (a free gpl-licensed video player for unix-like systems) which among others provides support for decoding (and playing back) of many today available audio/video codecs, like mpeg-4 (DivX), mpeg-2 (DVD, SVCD), mpeg-1 (VCD), Quicktime and RealMedia just to name a few. This library contains (and uses) numerous processor specific optimizations to provide a smooth playback and to minimize the overall demand of CPU power. Don't hesitate to use libxine in your own projects as long as your usage complies to the GPL. More information about GPL-license can be found at http://www.gnu.org/licenses/gpl.html %description -l cs libxine je tepající srdce xine (volně šiřitelného videopřehrávače pod gpl licencí pro unixovské systémy). Mimo jiné poskytuje podporu pro dekódování (a přehrávání) s mnoha dnes dostupnými audio/video kodeky jako jsou např. mpeg-4, mpeg-2 a mpeg-1. Tato knihovna obsahuje a používá velký počet procesorově závislých optimalizací k dosažení plynulého přehrávání a zmenšení celkového nároku na výkon procesoru. Dokud to bude ve shodě s GPL, neváhejte použít libxine ve vašich vlastních projektech. %description -l de libxine ist das Herzstück von xine (einem freien, GPL lizensiertem Audio- und Video-Abspielprogramm für unixartige Systeme). libxine stellt die Funktionen zur Dekodierung und Wiedergabe vieler aktueller Audio- und Videocodecs zur Verfügung, wie z.B. MPEG-4 (DivX), MPEG-2 (DVD, SVCD) und MPEG-1 (VCD), Quicktime und RealMedia um nur einige zu nennen. Die Bibliothek enthält und benutzt eine Vielzahl von prozessorspezifischen Optimierungen, um eine flüssige Wiedergabe mit minimaler Prozessorbelastung gewährleisten zu könnnen. Zögern Sie nicht libxine in Ihren eigenen Projekten zu nutzen. Beachten Sie hierzu jedoch die in der GPL Lizenz vereinbarten Bestimmungen. Weitere Informationen zur GPL-Lizenz finden Sie unter http://www.gnu.org/licenses/gpl.html %description -l fi libxine on xinen sydän (vapaa GPL-linsensoitu videosoitinohjelma Unix-tyylisille käyttöjärjestelmille), joka muun muassa tarjoaa mahdollisuudet pakatun videon ja äänen purkamiseen (sekä näyttämiseen) suurimmalla osalla nykyaikaista äänen- ja kuvanpakkausformaateista. Tällaisia ovat mpeg-4 (DivX;-)), mpeg-2 (DVD, SVCD), mpeg-1 (VCD) muutamia mainitaksemme. xinen purkukirjasto käyttää monia matalan tason prosessoripohjaisia optimisaatiomenetelmiä tarjotakseen sulavan kuvantoistokokemuksen. Tämä on tarpeen myös minimoimaan tarvittavaa prosessoritehoa. Olet tervetullut käyttämään libxine:a omissa projekteissasi kunhan ne ovat GPL- lisenssin kanssa yhteensopivia. lisätietoja GPL-lisenssistä löytyy osoitteesta: http://www.gnu.org/licenses/gpl.html %if %BUILD_DEVEL %package devel Summary: Header files and documentation to develope programs with libxine. Summary(cs): Hlavičkové soubory a dokumentace pro vývoj programů používajících libxine. Summary(de): Headerdateien und Dokumentationen, um Programme mit libxine entwickeln zu können. Summary(fi): Header-tiedostot ja dokumentaatio, joita tarvitset kehittäessäsi ohjelmia libxine:n kanssa. Group: Development/Libraries Obsoletes: xine-lib-devel Obsoletes: xine-devel Obsoletes: libxine0-devel Provides: %{shortname}-devel = %{version}-%{release} Provides: xine-devel %description devel This package contains header files and documentation required to develope programs with libxine. libxine is the beating heart of xine (a free gpl-licensed video player for unix-like systems) which among others provides support for decoding (and playing back) of many today available audio/video codecs, like mpeg-4 (DivX), mpeg-2 (DVD, SVCD), mpeg-1 (VCD), Quicktime and RealMedia just to name a few. This library contains (and uses) numerous processor specific optimizations to provide a smooth playback and to minimize the overall demand of CPU power. Don't hesitate to use libxine in your own projects as long as your usage complies to the GPL. More information about GPL-license can be found at http://www.gnu.org/licenses/gpl.html %description devel -l cs Tento balíček obsahuje hlavičkové soubory a dokumentaci potřebnou pro vývoj programů používajících libxine. libxine je tepající srdce xine (volně šiřitelného videopřehrávače pod gpl licencí pro unixovské systémy). Mimo jiné poskytuje podporu pro dekódování (a přehrávání) s mnoha dnes dostupnými audio/video kodeky jako jsou např. mpeg-4, mpeg-2 a mpeg-1. Tato knihovna obsahuje a používá velký počet procesorově závislých optimalizací k dosažení plynulého přehrávání a zmenšení celkového nároku na výkon procesoru. Dokud to bude ve shodě s GPL, neváhejte použít libxine ve vašich vlastních projektech. %description devel -l de Dieses Paket enthält die Headerdateien und Dokumentationen, um Programme mit libxine entwickeln zu können. libxine ist das Herzstück von xine (einem freien, GPL lizensiertem Audio- und Video-Abspielprogramm für unixartige Systeme). libxine stellt die Funktionen zur Dekodierung und Wiedergabe vieler aktueller Audio- und Videocodecs zur Verfügung, wie z.B. MPEG-4 (DivX), MPEG-2 (DVD, SVCD) und MPEG-1 (VCD), Quicktime und RealMedia um nur einige zu nennen. Die Bibliothek enthält und benutzt eine Vielzahl von prozessorspezifischen Optimierungen, um eine flüssige Wiedergabe mit minimaler Prozessorbelastung gewährleisten zu könnnen. Zögern Sie nicht libxine in Ihren eigenen Projekten zu nutzen. Beachten Sie hierzu jedoch die in der GPL Lizenz vereinbarten Bestimmungen. Weitere Informationen zur GPL-Lizenz finden Sie unter http://www.gnu.org/licenses/gpl.html %description devel -l fi libxine on xinen sydän (vapaa GPL-linsensoitu videosoitinohjelma Unix-tyylisille käyttöjärjestelmille), joka muun muassa tarjoaa mahdollisuudet pakatun videon ja äänen purkamiseen (sekä näyttämiseen) suurimmalla osalla nykyaikaista äänen- ja kuvanpakkausformaateista. Tällaisia ovat mpeg-4 (DivX;-)), mpeg-2 (DVD, SVCD), mpeg-1 (VCD) muutamia mainitaksemme. xinen purkukirjasto käyttää monia matalan tason prosessoripohjaisia optimisaatiomenetelmiä tarjotakseen sulavan kuvantoistokokemuksen. Tämä on tarpeen myös minimoimaan tarvittavaa prosessoritehoa. Olet tervetullut käyttämään libxine:a omissa projekteissasi kunhan ne ovat GPL- lisenssin kanssa yhteensopivia. lisätietoja GPL-lisenssistä löytyy osoitteesta: http://www.gnu.org/licenses/gpl.html %endif %if %BUILD_ALSA09 %package alsa09 Summary: libxine sound output plugin for alsa >= 0.9 Summary(de): libxine Soundausgabeplguin für Alsa >= 0.9 Summary(fi): libxine-Ddnilisdke uudelle Linux:n ddniarkkitehtuurille (ALSA >= 0.9) Group: Development/Libraries Obsoletes: xine-lib-alsa09 Obsoletes: libxine0-alsa09 %description alsa09 libxine sound output plugin for alsa >= 0.9 %description alsa09 -l de libxine Soundausgabe Plugin für alsa >= 0.9 %description alsa09 -l fi libxine-ddnilisdke uudelle Linux:n ddniarkkitehtuurille (ALSA >= 0.9) %endif %if %BUILD_ARTS %package arts Summary: libxine sound output plugin for arts (KDE-soundserver) Summary(de): libxine Soundausgabeplugin für arts (KDE-Soundserver) Summary(fi): libxine-Ddnilisdke Arts ddnipalvelimelle (KDE:n ddnipalvelin) Group: Development/Libraries Obsoletes: xine-lib-arts Obsoletes: libxine0-arts %description arts libxine sound output plugin for arts (KDE-soundserver) %description arts -l de libxine Soundausgabeplugin für arts (KDE-Soundserver) %description arts -l fi libxine-Ddnilisdke Arts ddnipalvelimelle (KDE:n ddnipalvelin) %endif %if %BUILD_ESD %package esd Summary: libxine sound output plugin for enlightmend sound daemon Summary(de): libxine Soundausgabeplugin für den Enlightmend Sound Daemon Summary(fi): libxine-ddnilisdke Enlightmend ddnipalvelimelle Group: Development/Libraries Obsoletes: xine-lib-esd Obsoletes: libxine0-esd %description esd libxine sound output plugin for enlightmend sound daemon (Gnome and Enlightment) %description esd -l de libxine Soundausgabeplugin für den Enlightmend Sound Daemon (Gnome und Enlightment) %description esd -l fi libxine-ddnilisdke Enlightmend ddnipalvelimelle %endif %if %BUILD_SDL %package sdl Summary: libxine video output plugin for SDL-library (Simple DirectMedia Layer) Summary(de): libxine Videoausgabeplguin für SDL-Bibliothek (Simple DirectMedia Layer) Summary(fi): libxine-Videolisdke SDL grafiikkakirjastolle (Simple DirectMedia Layer) Group: Development/Libraries Obsoletes: xine-lib-sdl Obsoletes: libxine0-sdl %description sdl libxine video output plugin for SDL-library (Simple DirectMedia Layer) %description sdl -l de libxine Videoausgabeplguin für SDL-Bibliothek (Simple DirectMedia Layer) %description sdl -l fi libxine-Videolisdke SDL-grafiikkakirjastolle (Simple DirectMedia Layer) %endif %if %BUILD_AA %package aa Summary: libxine video output plugin for aa-library (ASCII Art) Summary(de): libxine Videoausgabeplugin für aa-Bibliothek (ASCII Art) Summary(fi): libxine-Videolisdke aa-grafiikkakirjastolle (ASCII Art) Group: Development/Libraries Obsoletes: xine-lib-aa Obsoletes: libxine0-aa Obsoletes: xine-extra Provides: xine-extra %description aa libxine video output plugin for aa-library (ASCII Art) %description aa -l de libxine Videoausgabeplugin für aa-Bibliothek (ASCII Art) %description aa -l fi libxine-Videolisdke aa-grafiikkakirjastolle (ASCII Art) %endif %if %BUILD_OPENGL %package opengl Summary: libxine video output plugin using OpenGL (3D graphic cards) Summary(de): libxine Videoausgabeplugin per OpenGL (3D Grafikkarte) Group: Development/Libraries Obsoletes: xine-lib-opengl Obsoletes: libxine0-opengl %description opengl libxine video output plugin using OpenGL (3D graphic cards) %description opengl -l de libxine Videoausgabeplugin per OpenGL (3D Grafikkarte) %endif %if %BUILD_SYNCFB %package syncfb Summary: libxine video output plugin using synchroniced framebuffer (Matrox cards) Summary(de): libxine Videoausgabeplugin per synchronisiertem Framebuffer (Matrox Karten) Summary(fi): libxine-Videolisdke Matrox-ndyttvkorttien synkronisoitua ndyttvmuistia varten. Group: Development/Libraries Obsoletes: libxine0-syncfb %description syncfb libxine video output plugin using synchroniced framebuffer (Matrox cards) %description syncfb -l de libxine Videoausgabeplugin per synchronisiertem Framebuffer (Matrox Karten) %description syncfb -l fi libxine-Videolisdke Matrox-ndyttvkorttien synkronisoitua ndyttvmuistia varten. %endif %if %BUILD_DVD %package dvd Summary: libxine input plugin for playing video-dvd's with dvd-navigation Summary(de): libxine Inputplugin zum abspielen von Video-DVDs mit DVD-Navigation Summary(fi): libxine-Lukulisdke, jolla kdyttdjd voi soittaa DVD-levyjd Group: Development/Libraries Obsoletes: xine-dvdnav %description dvd libxine input plugin for playing video-dvd's with dvd-navigation %description dvd -l de libxine Inputplugin zum abspielen von Video-DVDs mit DVD-Navigation %description dvd -l fi libxine-Lukulisdke, jolla kdyttdjd voi soittaa DVD-levyjd %endif %if %BUILD_DVB %package dvb Summary: libxine input plugin for DigitalTV devices Summary(de): libxine Einabeplugin für digitale TV-Karten Summary(fi): libxine-Lukulisdke, jolla kdyttdjd voi katsella DigitalTV-korttien ohjelmia Group: Development/Libraries %description dvb libxine input plugin for Digital TV (Digital Video Broadcast - DVB) devices e.g. Hauppauge WinTV Nova supported by DVB drivers from Convergence %description dvb -l de libxine Eingabeplugin für digitale TV-Karten (Digital Video Broadcast - DVB) z.B. wird die Hauppauge WinTV Nova von Convergence unterstützt. %description dvb -l fi libxine-Lukulisdke, jolla kdyttdjd voi katsella DigitalTV-korttien ohjelmia Esimerkiksi Haupaugen WinTV kortit ovat tuettuja DVB ajureilla. %endif %if %BUILD_GNOME_VFS %package gnome-vfs Summary: libxine input plugin for totem (a gnome frontend) Summary(de): libxine Einabeplugin für totem (ein Gnome Frontend) Summary(fi): libxine-Lukulisdke Totem ohjelmaa varten, joka on libxine:n Gnome2 kdyttvliittymd Group: Development/Libraries %description gnome-vfs libxine input plugin for totem (a gnome frontend) %description gnome-vfs -l de libxine Einabeplugin für totem (ein Gnome Frontend) %description gnome-vfs -l fi libxine-Lukulisdke Totem ohjelmaa varten, joka on libxine Gnome2 kdyttvliittymd %endif %if %BUILD_FLAC %package flac Summary: libxine sound input plugin for flac-files (Free Lossless Audio Codec) Summary(de): libxine Soundeinabeplugin für flac-Dateien (Free Lossless Audio Codec) Summary(fi): libxine-Ddnilisdke flac-tiedostojen toistamiseen (Free Lossless Audio Codec) Group: Development/Libraries %description flac libxine sound input plugin for flac-files (Free Lossless Audio Codec) %description flac -l de libxine Soundeinabeplugin für flac-Dateien (Free Lossless Audio Codec == Freier, verlustfreier Audio-Codec) %description flac -l fi libxine-Ddnilisdke flac-tiedostojen toistamiseen (Free Lossless Audio Codec) %endif %if %BUILD_OGG %package ogg Summary: libxine sound/video input plugin for ogg/ogm-files Summary(de): libxine Sound-/Videoeinabeplugin für ogg/ogm-Dateien Summary(fi): libxine-Ddni/Videolisdke Ogg/Ogm tiedostojen toistamiseen Group: Development/Libraries Obsoletes: xine-lib-oggvorbis Obsoletes: %{libname}-oggvorbis Obsoletes: %{libname}-oggtheora Provides: xine-lib-oggvorbis Provides: %{libname}-oggvorbis Provides: %{libname}-oggtheora %description ogg libxine sound/video input plugin for ogg/ogm-files %description ogg -l de libxine Sound-/Videoeinabeplugin für ogg/ogm-Dateien %description ogg -l fi libxine-Ddni/Videolisdke Ogg/Ogm tiedostojen toistamiseen %endif %if %BUILD_DIRECTFB %package directfb Summary: libxine video output plugin using libdirectfb Summary(de): libxine Videoausgabeplugin per libdirectfb Group: Development/Libraries %description directfb libxine video output plugin using libdirectfb %description directfb -l de libxine Videoausgabeplugin per libdirectfb %endif %if %BUILD_STK %package stk Summary: libxine video output plugin using libstk Summary(de): libxine Videoausgabeplugin per libstk Group: Development/Libraries %description stk libxine video output plugin using libstk (Set-top Toolkit) %description stk -l de libxine Videoausgabeplugin per libstk (Set-top Toolkit) %endif %if %BUILD_DXR3 %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %package dxr3 Summary: libxine video output plugin using mpeg2 decoding cards with dxr3 decoder-chip Summary(de): libxine Videoausgabeplugin, nutzt MPEG2-decoder-Karten mit dxr3 Decoder-Chip Summary(fi): libxine-Videolisdke MPEG2-videopurkukorteille, joissa on DXR3 purkusiru Group: Development/Libraries Obsoletes: xine-lib-dxr3 Obsoletes: libxine0-dxr3 %description dxr3 libxine video output plugin using mpeg2 decoding cards with dxr3 decoder-chip %description dxr3 -l de libxine Videoausgabeplugin, nutzt MPEG2-decoder-Karten mit dxr3 Decoder-Chip %description dxr3 -l fi libxine-Videolisdke MPEG2-videopurkukorteille, joissa on DXR3 purkusiru %endif %endif %if %BUILD_XVMC %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %package xvmc Summary: libxine video output plugin using XVideo-extension with motion compensation Summary(de): libxine Videoausgabeplugin per XVideo-Erweiterung mit Motion Compensation Group: Development/Libraries Obsoletes: libxine0-xvmc Autoreqprov: Off %description xvmc libxine video output plugin using XVideo-extension with motion compensation %description xvmc -l de libxine Videoausgabeplugin per XVideo-Erweiterung mit Motion Compensation %endif %endif %if %BUILD_W32DLL %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %package w32dll Summary: libxine decoding plugin using win32 dlls for native not supported formats Summary(de): libxine Dekodierplugin, nutzt Win32 dlls für natvie nicht unterstützte Formate Summary(fi): libxine-Purkulisdke, joka mahdollistaa Win32 DLL:n kdytvn. Group: Development/Libraries Obsoletes: xine-lib-w32dll Obsoletes: libxine0-w32dll %description w32dll libxine decoding plugin using win32 dlls for native not supported formats %description w32dll -l de libxine Dekodierplugin, nutzt Win32 dlls für native nicht unterstützte Formate %description w32dll -l fi libxine-Purkulisdke, joka mahdollistaa Win32 DLL:n kdytvn. %endif %endif %prep %setup -q -n @TAR_NAME@ %build export CFLAGS="${RPM_OPT_FLAGS}" if [ ! -f configure ]; then NO_CONFIGURE=1 ./autogen.sh fi # # currently we do not use %%configure as it seems to cause trouble with # certain automake produced configure scripts - depending on automake version. # Use BUILD_ARGS envvar to pass extra parameters to configure (like --enable-dha-mod/etc...) # ./configure --build=%{_target_platform} --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} \ --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} --includedir=%{_includedir} \ --libdir=%{_libdir} --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \ --infodir=%{_infodir} \ --with-internal-vcdlibs # Error in libfaad when compiling with mmx or sse enabled, remove it mv src/libfaad/Makefile src/libfaad/Makefile_save cat src/libfaad/Makefile_save | sed -e "s/-mmmx/-mno-mmx/g" -e "s/-msse/-mno-sse/g" > src/libfaad/Makefile make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=%{?buildroot:%{buildroot}} LIBRARY_PATH=%{?buildroot:%{buildroot}}%{_libdir} install cd ${RPM_BUILD_ROOT} echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_zw %if %BUILD_DEVEL echo "%doc README TODO AUTHORS COPYING ChangeLog" >> ${RPM_BUILD_DIR}/filelist_libxine1_zw %else echo "%doc README TODO AUTHORS COPYING ChangeLog doc/hackersguide/*.sgml doc/hackersguide/*.fig doc/hackersguide/README" >> ${RPM_BUILD_DIR}/filelist_libxine1_zw %endif find . -type f | sed 's,^\.%{_datadir}/doc,\%doc %{_datadir}/doc,' | sed 's,^\.,,' >> ${RPM_BUILD_DIR}/filelist_libxine1_zw find . -type l | sed 's,^\.%{_datadir}/doc,\%doc %{_datadir}/doc,' | sed 's,^\.,,' >> ${RPM_BUILD_DIR}/filelist_libxine1_zw grep -v "/man/" ${RPM_BUILD_DIR}/filelist_libxine1_zw | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 grep "/man/" ${RPM_BUILD_DIR}/filelist_libxine1_zw | sed -e 's/$/\*/g' | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_zw %if %BUILD_DEVEL echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_devel echo "%doc doc/hackersguide/*.sgml doc/hackersguide/*.fig doc/hackersguide/README" >> ${RPM_BUILD_DIR}/filelist_libxine1_devel mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "/include/|dhahelper\.o|libxine*\.(so|la)$|\.m4$" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_devel grep -v -E "/include/|dhahelper\.o|libxine*\.(so|la)$|\.m4$" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_ALSA09 echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_alsa09 mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_ao_out_alsa\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_alsa09 grep -v "xineplug_ao_out_alsa\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_ARTS echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_arts mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_ao_out_arts\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_arts grep -v "xineplug_ao_out_arts\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_ESD echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_esd mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_ao_out_esd\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_esd grep -v "xineplug_ao_out_esd\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_DXR3 echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_dxr3 mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "dxr3" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_dxr3 grep -v "dxr3" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_SDL echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_sdl mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_vo_out_sdl\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_sdl grep -v "xineplug_vo_out_sdl\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_AA echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_aa mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_vo_out_aa\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_aa grep -v "xineplug_vo_out_aa\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_OPENGL echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_opengl mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_vo_out_opengl\.|README.opengl" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_opengl grep -v -E "xineplug_vo_out_opengl\.|README.opengl" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_SYNCFB echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_syncfb mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_vo_out_syncfb\.|README\.syncfb" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_syncfb grep -v -E "xineplug_vo_out_syncfb\.|README\.syncfb" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_DIRECTFB echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_directfb mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_vo_out_directfb\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_directfb grep -v -E "xineplug_vo_out_directfb\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_STK echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_stk mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_vo_out_stk\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_stk grep -v -E "xineplug_vo_out_stk\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_XVMC echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_xvmc mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_vo_out_xvmc\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_xvmc grep -v "xineplug_vo_out_xvmc\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_W32DLL echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_w32dll mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_decode_qt\.|xineplug_decode_w32dll\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_w32dll grep -v -E "xineplug_decode_qt\.|xineplug_decode_w32dll\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_DVB echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_dvb mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_inp_dvb\.|README\.dvb" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_dvb grep -v -E "xineplug_inp_dvb\.|README\.dvb" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_DVD echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_dvd mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_inp_dvd\.|README\.network_dvd" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_dvd grep -v -E "xineplug_inp_dvd\.|README\.network_dvd" ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_GNOME_VFS echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_gnome_vfs mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_inp_gnome_vfs\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_gnome_vfs grep -v "xineplug_inp_gnome_vfs\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_FLAC echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_flac mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep "xineplug_flac\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_flac grep -v "xineplug_flac\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %if %BUILD_OGG echo "%defattr(-,root,root)" > ${RPM_BUILD_DIR}/filelist_libxine1_ogg mv ${RPM_BUILD_DIR}/filelist_libxine1 ${RPM_BUILD_DIR}/filelist_libxine1_old grep -E "xineplug_decode_vorbis\.|xineplug_dmx_ogg\.|xineplug_decode_theora\.|xineplug_decode_speex\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - >> ${RPM_BUILD_DIR}/filelist_libxine1_ogg grep -v -E "xineplug_decode_vorbis\.|xineplug_dmx_ogg\.|xineplug_decode_theora\.|xineplug_decode_speex\." ${RPM_BUILD_DIR}/filelist_libxine1_old | cat - > ${RPM_BUILD_DIR}/filelist_libxine1 rm ${RPM_BUILD_DIR}/filelist_libxine1_old %endif %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f ../filelist_libxine1 %if %BUILD_DEVEL %files devel -f ../filelist_libxine1_devel %endif %if %BUILD_ALSA09 %files alsa09 -f ../filelist_libxine1_alsa09 %endif %if %BUILD_ARTS %files arts -f ../filelist_libxine1_arts %endif %if %BUILD_ESD %files esd -f ../filelist_libxine1_esd %endif %if %BUILD_DXR3 %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %files dxr3 -f ../filelist_libxine1_dxr3 %endif %endif %if %BUILD_SDL %files sdl -f ../filelist_libxine1_sdl %endif %if %BUILD_AA %files aa -f ../filelist_libxine1_aa %endif %if %BUILD_OPENGL %files opengl -f ../filelist_libxine1_opengl %endif %if %BUILD_SYNCFB %files syncfb -f ../filelist_libxine1_syncfb %endif %if %BUILD_DIRECTFB %files directfb -f ../filelist_libxine1_directfb %endif %if %BUILD_STK %files stk -f ../filelist_libxine1_stk %endif %if %BUILD_XVMC %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %files xvmc -f ../filelist_libxine1_xvmc %endif %endif %if %BUILD_W32DLL %ifarch i386 i486 i586 i686 i786 i868 i986 k6 k7 athlon %files w32dll -f ../filelist_libxine1_w32dll %endif %endif %if %BUILD_DVB %files dvb -f ../filelist_libxine1_dvb %endif %if %BUILD_DVD %files dvd -f ../filelist_libxine1_dvd %endif %if %BUILD_GNOME_VFS %files gnome-vfs -f ../filelist_libxine1_gnome_vfs %endif %if %BUILD_FLAC %files flac -f ../filelist_libxine1_flac %endif %if %BUILD_OGG %files ogg -f ../filelist_libxine1_ogg %endif %changelog * Sat May 01 2004 Manfred Tremmel - activated opengl plugin * Tue Apr 06 2004 Manfred Tremmel - removed xvid modules from -devel package and put it back to main package. * Fri Feb 13 2004 Manfred Tremmel - added new sub-rpm for stk videoout plugin * Fri Nov 21 2003 Manfred Tremmel - use internal vcdlibs to keep dependencies low * Sun Oct 19 2003 Manfred Tremmel - added separate directfb-package to solve dependendies * Tue Oct 07 2003 Manfred Tremmel - activated separte xvmc package, when this is wanted. * Sun Jul 20 2003 Manfred Tremmel - made ogg-package out of oggvorbis, oggtheora and the new oggspeex xine-plugins * Sat May 24 2003 Manfred Tremmel - complete rework of the specfile * Wed May 14 2003 Manfred Tremmel - Update for > 1-beta13 * Sat Mar 08 2003 Manfred Tremmel - added missing doc-files * Wed Jan 15 2003 Manfred Tremmel - removed man3 manpages in devel-filelist * Tue Dec 24 2002 Manfred Tremmel - Update for libxine 1.0beta1 added pkgconfig-directory * Wed Dec 11 2002 Manfred Tremmel - Update for libxine 1.0beta0, fonts-directory has been changed * Sat Dec 07 2002 Manfred Tremmel - added translation for finnish by Tuukka Pasanen - some updates to german and english descriptions - added post-directory to file-list * Sat Nov 09 2002 Manfred Tremmel - Final changes for libxine 1.0alpha1 * Mon Nov 04 2002 Manfred Tremmel - another change to make it run with next version * Sat Nov 02 2002 Manfred Tremmel - Changes for next xine version * Sun Oct 27 2002 Manfred Tremmel - Update of the german descriptions. * Thu Jun 06 2002 Daniel Caujolle-Bert - ability to pass args to configure. Fix vidix/dhahelper inclusion. * Mon May 27 2002 Matthias Dahl - added passing of build parameter to configure * Sun May 26 2002 Matthias Dahl - added german translations by Manfred Tremmel - added fixes (missing -l cs) by Manfred Tremmel * Sat May 18 2002 Matthias Dahl - added czech translations by valtri@atlas.cz * Thu May 16 2002 Matthias Dahl - replaced %configure because it was causing trouble on certain configurations * Sat May 11 2002 Matthias Dahl - reworked/revamped spec file, still needs some tuning (BuildPreReq, ...) * Thu May 2 2002 Daniel Caujolle-Bert - sync with new logo stuff. * Wed May 1 2002 Matthias Dahl - added cinepak, cyuv and msvc decode plugins - commented out sdl related parts because this is currently broken in xine-lib - added 'cs,pl_PL' translation catalogs * Sun Mar 31 2002 Matthias Dahl - added mms input plugin, spucc decoder and missing xine_logo.zyuy2. - commented out video fill decoder for now as it seems to be no longer built * Wed Feb 6 2002 Daniel Caujolle-Bert - added 'de,fr,pt_BR' translation catalogs. * Sat Dec 26 2001 Matthias Dahl - added sputext decode plugin and fonts. * Sat Dec 8 2001 Daniel Caujolle-Bert - ASF plugin is optional. * Thu Dec 6 2001 Daniel Caujolle-Bert - Add cda plugins. * Wed Nov 14 2001 Daniel Caujolle-Bert - fixed dxr3 header files inclusion, aalib deps: thanks to Andrew Meredith . * Mon Oct 29 2001 Matthias Dahl - added http input plugin * Thu Oct 18 2001 Matthias Dahl - added asf demuxer plugin * Sun Oct 14 2001 Daniel Caujolle-Bert - move vorbis in separate package. Add DivX4 decoder plugin. * Wed Oct 10 2001 Matthias Dahl - added vorbis files and missing man pages to filelist. * Thu Sep 27 2001 Daniel Caujolle-Bert - Add desktop stuff from patches by Miguel Freitas - Fixed xine.m4 installation from Andrew Meredith * Fri Sep 21 2001 Matthias Dahl - added two missing files (xine-config man page and xine.m4) * Sun Sep 16 2001 Daniel Caujolle-Bert - Merge patch from José Carlos Monteiro : - Filelist and other minor updates, - Fixed some SuSE compatibility issues, - Added Portuguese summary. * Sun Sep 16 2001 Daniel Caujolle-Bert - Add missing files. * Sun Aug 19 2001 Matthias Dahl - The usual update to the filelist :) - temporarily removed mpg123 decoder plugin from filelist cause it is not built with the recent CVS tree * Thu Jul 26 2001 Daniel Caujolle-Bert - Made oss, aa, xv, esd, w32dll, documentation as separate packages. * Thu Jul 26 2001 Matthias Dahl - added seperate arts package and one missing demuxer plugin to filelist * Wed Jul 18 2001 Daniel Caujolle-Bert - list all plugins to avoid *strange* inclusion ;-). * Sun Jun 10 2001 Matthias Dahl - updated filelist - re-activated execution of /sbin/ldconfig as post install script * Thu Mar 28 2001 Daniel Caujolle-Bert - add korean summary, patch from Louis JANG * Thu Jan 11 2001 Daniel Caujolle-Bert - patch from Sung-Hyun Nam applied. * Fri Oct 17 2000 Daniel Caujolle-Bert - first spec file.