%define name libxine %define version @SPEC_VERSION@ %define release 1 %define major 0 %define libname %{name}%{major} 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 Unix-basierende Systeme. Version: %{version} Release: %{release} License: GPL Group: Development/Libraries Source: http://xine.sourceforge.net/files/@PACKAGE@-@VERSION@.tar.gz URL: http://xine.sourceforge.net/ Packager: Daniel Caujolle-Bert BuildPreReq: zlib BuildRoot: %{_tmppath}/%{name}-buildroot %description %{name} 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, mpeg-2 and mpeg-1 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 %{name} in your own projects as long as your usage complies to the GPL. %description -l cs %{name} 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 %{name} ve vašich vlastních projektech. %description -l de %{name} ist das Herzstueck von xine (einem freien, GPL lizensiertem Audio/Video-Abspielprogramm für Unix-basierende Systeme). %{name} stellt die Funktionen zur Dekodierung und Wiedergabe vieler aktueller Audio- und Video- codecs zur Verfügung, wie z.B. MPEG-4, MPEG-2 und MPEG-1, um nur einige zu nennen. Die Bibliothek enthaelt und benutzt eine Vielzahl von prozessor- spezifischen Optimierungen, um eine fluessige Wiedergabe mit minimaler Prozessorbelastung gewaehrleisten zu koennnen. Zoegern Sie nicht %{name} in Ihren eigenen Projekten zu nutzen. Beachten Sie hierzu jedoch die in der GPL Lizenz vereinbarten Bestimmungen. %package -n %{libname} Summary: Required libs to run programs dynamically linked with %{name}. Summary(cs): Knihovny nutné pro běh programů dynamicky linkovaných s %{name} Summary(de): Benoetigte Bibliotheken, um Programme, die dynamisch gegen %{name} gelinkt sind, benutzen zu koennen. Group: Development/Libraries Obsoletes: xine, xine-lib, xine-lib-oss, xine-lib-alsa09, xine-lib-arts, xine-lib-esd, xine-lib-dxr3, xine-lib-xv, xine-lib-sdl, xine-lib-aa, xine-lib-opengl, xine-lib-w32dll, xine-lib-oggvorbis Provides: %{name} = %{version}-%{release} Requires: zlib %description -n %{libname} This package is required to run programs dynamically linked with %{name}. %{name} 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, mpeg-2 and mpeg-1 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 %{name} in your own projects as long as your usage complies to the GPL. %description -n %{libname} -l cs Tento balíček je nutný pro běh programů dynamicky linkovaných s %{name}. %{name} 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 %{name} ve vašich vlastních projektech. %description -n %{libname} -l de Dieses Paket wird benoetigt, um Programme, die dynamisch gegen %{name} gelinkt sind, benutzen zu koennen. %{name} ist das Herzstueck von xine (einem freien, GPL lizensiertem Audio/Video-Abspielprogramm für Unix-basierende Systeme). %{name} stellt die Funktionen zur Dekodierung und Wiedergabe vieler aktueller Audio- und Video- codecs zur Verfügung, wie z.B. MPEG-4, MPEG-2 und MPEG-1, um nur einige zu nennen. Die Bibliothek enthaelt und benutzt eine Vielzahl von prozessor- spezifischen Optimierungen, um eine fluessige Wiedergabe mit minimaler Prozessorbelastung gewaehrleisten zu koennnen. Zoegern Sie nicht %{name} in Ihren eigenen Projekten zu nutzen. Beachten Sie hierzu jedoch die in der GPL Lizenz vereinbarten Bestimmungen. %package -n %{libname}-devel Summary: Header files and documentation to develope programs with %{name}. Summary(cs): Hlavičkové soubory a dokumentace pro vývoj programů používajících %{name}. Summary(de): Headerdateien und Dokumentationen, um Programme mit %{name} entwickeln zu koennen. Group: Development/Libraries Obsoletes: xine-lib-devel Provides: %{name}-devel = %{version}-%{release} Requires: %{libname} = %{version}-%{release} %description -n %{libname}-devel This package contains header files and documentation required to develope programs with %{name}. %{name} 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, mpeg-2 and mpeg-1 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 %{name} in your own projects as long as your usage complies to the GPL. %description -n %{libname}-devel -l cs Tento balíček obsahuje hlavičkové soubory a dokumentaci potřebnou pro vývoj programů používajících %{name}. %{name} 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 %{name} ve vašich vlastních projektech. %description -n %{libname}-devel -l de Dieses Paket enthaelt die Headerdateien und Dokumentationen, um Programme mit %{name} entwickeln zu koennen. %{name} ist das Herzstueck von xine (einem freien, GPL lizensiertem Audio/Video-Abspielprogramm für Unix-basierende Systeme). %{name} stellt die Funktionen zur Dekodierung und Wiedergabe vieler aktueller Audio- und Video- codecs zur Verfügung, wie z.B. MPEG-4, MPEG-2 und MPEG-1, um nur einige zu nennen. Die Bibliothek enthaelt und benutzt eine Vielzahl von prozessor- spezifischen Optimierungen, um eine fluessige Wiedergabe mit minimaler Prozessorbelastung gewaehrleisten zu koennnen. Zoegern Sie nicht %{name} in Ihren eigenen Projekten zu nutzen. Beachten Sie hierzu jedoch die in der GPL Lizenz vereinbarten Bestimmungen. %prep %setup -q -n @TAR_NAME@ %build if [ ! -f configure ]; then NO_CONFIGURE=1 ./cvscompile.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} $BUILD_ARGS make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=%{?buildroot:%{buildroot}} LIBRARY_PATH=%{?buildroot:%{buildroot}}%{_libdir} install %clean rm -rf $RPM_BUILD_ROOT %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) %doc README TODO AUTHORS COPYING ChangeLog %{_bindir}/xine-config %{_libdir}/libxine*.so.* %{_libdir}/xine/plugins/* %{_datadir}/xine/skins/* %{_datadir}/xine/fonts/* %{_mandir}/man1/* %{_datadir}/locale/* %files -n %{libname}-devel %defattr(-,root,root) %doc doc/xine-lib-API/html/*.html doc/xine-lib-API/html/*.css %doc doc/xine-lib-API/html/*.gif doc/xine-lib-API/html/*.png %doc doc/hackersguide/*.sgml doc/hackersguide/*.fig doc/hackersguide/README %{_libdir}/libxine*.so %{_libdir}/libxine*.la %{_includedir}/xine.h %{_includedir}/xine/*.h %{_datadir}/aclocal/xine.m4 %{_mandir}/man3/* %changelog * 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.