summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/xine-lib.spec.in441
1 files changed, 96 insertions, 345 deletions
diff --git a/misc/xine-lib.spec.in b/misc/xine-lib.spec.in
index 34a6c9196..284ae7d59 100644
--- a/misc/xine-lib.spec.in
+++ b/misc/xine-lib.spec.in
@@ -1,369 +1,120 @@
-# Note that this is NOT a relocatable package
-%define ver @SPEC_VERSION@
-%define rel 0
-%define prefix /usr
-%define name @PACKAGE@
+%define name libxine
+%define version @SPEC_VERSION@
+%define release 1
+
+%define major 0
+%define libname %{name}%{major}
Name: %{name}
-Summary: A Free Video Player.
-Summary(ko): °ø°³ µ¿¿µ»ó Ç÷¹À̾î
-Version: %{ver}
-Release: %{rel}
-Copyright: GPL
+Summary: A portable video/audio library for unix-like systems.
+Version: %{version}
+Release: %{release}
+License: GPL
Group: Development/Libraries
Source: http://xine.sourceforge.net/files/@PACKAGE@-@VERSION@.tar.gz
-URL: http://xine.sourceforge.net
+URL: http://xine.sourceforge.net/
Packager: Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
-Requires: zlib
-BuildRoot: /tmp/%{name}-root
-
-@HAVE_OSS_TRUE@%package oss
-@HAVE_OSS_TRUE@Summary: XINE - oss support.
-@HAVE_OSS_TRUE@Group: Development/Libraries
-@HAVE_OSS_TRUE@Requires: xine-lib >= %{ver}
-
-@HAVE_ALSA09_TRUE@%package alsa09
-@HAVE_ALSA09_TRUE@Summary: XINE - alsa >= 0.9.x support.
-@HAVE_ALSA09_TRUE@Group: Development/Libraries
-@HAVE_ALSA09_TRUE@Requires: xine-lib >= %{ver}
-
-@HAVE_ARTS_TRUE@%package arts
-@HAVE_ARTS_TRUE@Summary: XINE - arts support.
-@HAVE_ARTS_TRUE@Group: Development/Libraries
-@HAVE_ARTS_TRUE@Requires: xine-lib >= %{ver}
-
-@HAVE_ESD_TRUE@%package esd
-@HAVE_ESD_TRUE@Summary: XINE - esd support.
-@HAVE_ESD_TRUE@Group: Development/Libraries
-@HAVE_ESD_TRUE@Requires: xine-lib >= %{ver}, esound
-
-@HAVE_DXR3_TRUE@%package dxr3
-@HAVE_DXR3_TRUE@Summary: XINE - DXR3 support.
-@HAVE_DXR3_TRUE@Group: Development/Libraries
-@HAVE_DXR3_TRUE@Requires: xine-lib >= %{ver}
-
-@HAVE_XV_TRUE@%package xv
-@HAVE_XV_TRUE@Summary: XINE - XFree XVideo support.
-@HAVE_XV_TRUE@Group: Development/Libraries
-@HAVE_XV_TRUE@Requires: xine-lib >= %{ver}
-
-#@HAVE_SDL_TRUE@%package sdl
-#@HAVE_SDL_TRUE@Summary: XINE - SDL (Simple DirectMedia Layer) video support.
-#@HAVE_SDL_TRUE@Group: Development/Libraries
-#@HAVE_SDL_TRUE@Requires: xine-lib >= %{ver}, libSDL
-
-@HAVE_AA_TRUE@%package aa
-@HAVE_AA_TRUE@Summary: XINE - Ascii Art support.
-@HAVE_AA_TRUE@Group: Development/Libraries
-@HAVE_AA_TRUE@Requires: xine-lib >= %{ver}
-
-@HAVE_OPENGL_TRUE@%package opengl
-@HAVE_OPENGL_TRUE@Summary: XINE - OpenGL support.
-@HAVE_OPENGL_TRUE@Group: Development/Libraries
-@HAVE_OPENGL_TRUE@Requires: xine-lib >= %{ver}
-
-@W32DLL_DEP@%package w32dll
-@W32DLL_DEP@Summary: XINE - win32dll decoder support.
-@W32DLL_DEP@Group: Development/Libraries
-@W32DLL_DEP@Requires: xine-lib >= %{ver}
-
-@HAVE_VORBIS_TRUE@%package oggvorbis
-@HAVE_VORBIS_TRUE@Summary: XINE - ogg/vorbis decoder/demuxer support.
-@HAVE_VORBIS_TRUE@Group: Development/Libraries
-@HAVE_VORBIS_TRUE@Requires: xine-lib >= %{ver}, libogg, libvorbis
-
-%package docs
-Summary: XINE - html API documentation.
-Group: Documentation
+BuildPreReq: zlib
+BuildRoot: %{_tmppath}/%{name}-buildroot
%description
-xine is a free gpl-licensed video player for unix-like systems.
-We support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
-eventually mpeg-4 and other formats might be added.
-
-xine plays the video and audio data of mpeg-2 videos and synchronizes
-the playback of both. Depending on the properties of the mpeg stream,
-playback will need more or less processor power, 100% frame rate
-has been seen on a 400 MHz P II system.
-
-%description -l fr
-xine est un lecteur vidéo libre sous license GPL pour les systèmes de
-type unix. Nous supportons les flux mpeg-2 et mpeg-1 (audio + vidéo
-multiplexés), éventuellement le mpeg-4 et d'autres formats peuvent
-êtres ajoutés.
-
-xine joue les données vidéo et audio de vidéo mpeg-2 et synchronise
-la lecture des deux. En fonction des propriétes du flux mpeg,
-la lecture aura besoin de plus ou moins de puissance du processeur,
-100% de restitution de trame a été vus sur un système PII 400MHz.
-
-%description -l ko
-xine ´Â GPL¶óÀ̼±½º¸¦ µû¸£´Â UNIX¿ë °ø°³ µ¿¿µ»ó Ç÷¹À̾îÀÔ´Ï´Ù. ÀÌ
-Ç÷¹À̾î´Â mpeg-2 ¿Í mpeg 1 ½ºÆ®¸²À» Áö¿øÇϸç, ÇöÀç´Â Áö¿øÇÏÁö
-¾ÊÁö¸¸ ³ªÁß¿¡´Â mpeg-4 ¿Í ´Ù¸¥ Çü½ÄÀÇ µ¿¿µ»óµµ Áö¿øÇÒ ¿¹Á¤ÀÔ´Ï´Ù.
-
-%description -l pt
-O xine é um leitor de vídeo livre ao abrigo da GPL para sistemas tipo
-Unix. Lê ficheiros MPEG-2 e MPEG-1, bem como AVIs que contenham
-MS MPEG-4 / OpenDivX Video.
-
-O xine lê o conteúdo vídeo e áudio e sincroniza-os em tempo-real. As
-necessidades de processador dependem das propriedades de cada ficheiro.
-Em princípio, um sistema equipado com um Pentium-II a 400 MHz consegue
-ler qualquer vídeo com máximo desempenho.
-
-@HAVE_OSS_TRUE@%description oss
-@HAVE_OSS_TRUE@audio plugin with oss support.
-
-@HAVE_ALSA09_TRUE@%description alsa09
-@HAVE_ALSA09_TRUE@audio plugin with alsa >= 0.9.x support.
-
-@HAVE_ARTS_TRUE@%description arts
-@HAVE_ARTS_TRUE@audio plugin with arts support.
-
-@HAVE_ESD_TRUE@%description esd
-@HAVE_ESD_TRUE@audio plugin with esd support.
-
-@HAVE_DXR3_TRUE@%description dxr3
-@HAVE_DXR3_TRUE@video/decoder plugins for DXR3 card support.
-
-@HAVE_XV_TRUE@%description xv
-@HAVE_XV_TRUE@video plugin using XFree XVideo extension.
-
-#@HAVE_SDL_TRUE@%description sdl
-#@HAVE_SDL_TRUE@video plugin using SDL (Simple DirectMedia Layer) library.
-
-@HAVE_AA_TRUE@%description aa
-@HAVE_AA_TRUE@video plugin using Ascii Art library.
-
-@HAVE_OPENGL_TRUE@%description opengl
-@HAVE_OPENGL_TRUE@video plugin using OpenGL library.
-
-@W32DLL_DEP@%description w32dll
-@W32DLL_DEP@win32dll decoder support.
-
-@HAVE_VORBIS_TRUE@%description oggvorbis
-@HAVE_VORBIS_TRUE@ogg/vorbis decoder/demuxer support.
-
-%description docs
-HTML documentation of XINE API.
+%{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.
+
+%package -n %{libname}
+Summary: Required libs to run programs dynamically linked with %{name}.
+Group: Development/Libraries
+Obsoletes: %{name}
+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.
+
+%package -n %{libname}-devel
+Summary: Header files and documentation to develope programs with %{name}.
+Group: Development/Libraries
+Obsoletes: %{name}-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.
%prep
-%setup -n @TAR_NAME@
+%setup -q -n @TAR_NAME@
%build
-./configure --prefix=%{prefix}
-make
+if [ ! -f configure ]; then
+ ./cvscompile.sh
+fi
+%configure
+%make
%install
-if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
-#mkdir -p $RPM_BUILD_ROOT/usr/include/X11/pixmaps
-make install-strip DESTDIR=$RPM_BUILD_ROOT LIBRARY_PATH=$RPM_BUILD_ROOT%{prefix}/lib
-#cp doc/*.xpm $RPM_BUILD_ROOT/usr/include/X11/pixmaps
+rm -rf $RPM_BUILD_ROOT
+%makeinstall_std
%clean
rm -rf $RPM_BUILD_ROOT
-%files
-%defattr(-,root,root)
-%{prefix}/bin/xine-config
-%{prefix}/man/man1/xine-config.1*
-%{prefix}/man/man3/xine-lib.3*
-%{prefix}/man/man3/ao_driver_t.3*
-%{prefix}/man/man3/ao_functions_t.3*
-%{prefix}/man/man3/demux_strategy.3*
-%{prefix}/man/man3/video_cap.3*
-%{prefix}/man/man3/vo_overlay_t.3*
-%{prefix}/man/man3/autoplay_group.3*
-%{prefix}/man/man3/event_group.3*
-%{prefix}/man/man3/video_group.3*
-%{prefix}/man/man3/xine.h.3*
-%{prefix}/man/man3/browse_group.3*
-%{prefix}/man/man3/loadplugins_group.3*
-%{prefix}/man/man3/video_prop.3*
-%{prefix}/man/man3/xine_api.3*
-%{prefix}/man/man3/build_info.3*
-%{prefix}/man/man3/mrl_t.3*
-%{prefix}/man/man3/video_ratio.3*
-%{prefix}/man/man3/xine_init.3*
-%{prefix}/man/man3/cfg_data_t.3*
-%{prefix}/man/man3/mrl_types.3*
-%{prefix}/man/man3/visual_types.3*
-%{prefix}/man/man3/xine_management.3*
-%{prefix}/man/man3/config_group.3*
-%{prefix}/man/man3/status_group.3*
-%{prefix}/man/man3/vo_driver_s.3*
-%{prefix}/man/man3/xine_t.3*
-%{prefix}/man/man3/config_values_s.3*
-%{prefix}/man/man3/ui_callbacks.3*
-%{prefix}/man/man3/vo_driver_t.3*
-%{prefix}/man/man3/xine_version.3*
-%{prefix}/man/man3/config_values_t.3*
-%{prefix}/man/man3/version_group.3*
-%{prefix}/man/man3/vo_frame_t.3*
-%{prefix}/man/man3/audio_cap.3*
-%{prefix}/man/man3/audio_group.3*
-%{prefix}/man/man3/audio_prop.3*
-%{prefix}/include/xine/*.h
-%{prefix}/include/xine.h
-@INSTALL_M4_TRUE@@ACLOCAL_DIR@/xine.m4
-# input plugins
-%{prefix}/lib/xine/plugins/xineplug_inp_dvd.la
-%{prefix}/lib/xine/plugins/xineplug_inp_dvd.so
-%{prefix}/lib/xine/plugins/xineplug_inp_file.la
-%{prefix}/lib/xine/plugins/xineplug_inp_file.so
-%{prefix}/lib/xine/plugins/xineplug_inp_http.la
-%{prefix}/lib/xine/plugins/xineplug_inp_http.so
-%{prefix}/lib/xine/plugins/xineplug_inp_mms.la
-%{prefix}/lib/xine/plugins/xineplug_inp_mms.so
-%{prefix}/lib/xine/plugins/xineplug_inp_net.la
-%{prefix}/lib/xine/plugins/xineplug_inp_net.so
-%{prefix}/lib/xine/plugins/xineplug_inp_rtp.la
-%{prefix}/lib/xine/plugins/xineplug_inp_rtp.so
-%{prefix}/lib/xine/plugins/xineplug_inp_stdin_fifo.la
-%{prefix}/lib/xine/plugins/xineplug_inp_stdin_fifo.so
-%{prefix}/lib/xine/plugins/xineplug_inp_vcd.la
-%{prefix}/lib/xine/plugins/xineplug_inp_vcd.so
-%{prefix}/lib/xine/plugins/xineplug_inp_cda.la
-%{prefix}/lib/xine/plugins/xineplug_inp_cda.so
-# demuxer plugins
-@BUILD_ASF_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_asf.la
-@BUILD_ASF_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_asf.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_avi.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_avi.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_audio.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_audio.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_block.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_block.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_elem.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_elem.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_pes.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_pes.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_ts.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_mpeg_ts.so
-@HAVE_ZLIB_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_qt.la
-@HAVE_ZLIB_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_qt.so
-%{prefix}/lib/xine/plugins/xineplug_dmx_cda.la
-%{prefix}/lib/xine/plugins/xineplug_dmx_cda.so
-# decoder plugins
-%{prefix}/lib/xine/plugins/xineplug_decode_a52.la
-%{prefix}/lib/xine/plugins/xineplug_decode_a52.so
-%{prefix}/lib/xine/plugins/xineplug_decode_cinepak.la
-%{prefix}/lib/xine/plugins/xineplug_decode_cinepak.so
-%{prefix}/lib/xine/plugins/xineplug_decode_cyuv.la
-%{prefix}/lib/xine/plugins/xineplug_decode_cyuv.so
-%{prefix}/lib/xine/plugins/xineplug_decode_ff.so
-%{prefix}/lib/xine/plugins/xineplug_decode_ff.la
-%{prefix}/lib/xine/plugins/xineplug_decode_lpcm.so
-%{prefix}/lib/xine/plugins/xineplug_decode_lpcm.la
-%{prefix}/lib/xine/plugins/xineplug_decode_mad.so
-%{prefix}/lib/xine/plugins/xineplug_decode_mad.la
-%{prefix}/lib/xine/plugins/xineplug_decode_mpeg2.la
-%{prefix}/lib/xine/plugins/xineplug_decode_mpeg2.so
-%{prefix}/lib/xine/plugins/xineplug_decode_msvc.la
-%{prefix}/lib/xine/plugins/xineplug_decode_msvc.so
-%{prefix}/lib/xine/plugins/xineplug_decode_spu.la
-%{prefix}/lib/xine/plugins/xineplug_decode_spu.so
-%{prefix}/lib/xine/plugins/xineplug_decode_spucc.la
-%{prefix}/lib/xine/plugins/xineplug_decode_spucc.so
-%{prefix}/lib/xine/plugins/xineplug_decode_sputext.la
-%{prefix}/lib/xine/plugins/xineplug_decode_sputext.so
-%{prefix}/lib/xine/plugins/xineplug_decode_dts.la
-%{prefix}/lib/xine/plugins/xineplug_decode_dts.so
-#%{prefix}/lib/xine/plugins/xineplug_decode_vfill.la
-#%{prefix}/lib/xine/plugins/xineplug_decode_vfill.so
-%{prefix}/lib/xine/plugins/xineplug_decode_divx4.la
-%{prefix}/lib/xine/plugins/xineplug_decode_divx4.so
-# audio driver plugins
-# see other packages.
-#
-# video driver plugins
-%{prefix}/lib/xine/plugins/xineplug_vo_out_syncfb.la
-%{prefix}/lib/xine/plugins/xineplug_vo_out_syncfb.so
-%{prefix}/lib/xine/plugins/xineplug_vo_out_xshm.la
-%{prefix}/lib/xine/plugins/xineplug_vo_out_xshm.so
-# lib, logo and fonts.
-%{prefix}/lib/libxine*.la
-%{prefix}/lib/libxine*.so*
-%{prefix}/share/xine/skins/xine_logo.png
-%{prefix}/share/xine/skins/xine_logo.mpg
-%{prefix}/share/xine/fonts/*
-## intl files
-%{prefix}/share/locale/fr/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/de/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/pt_BR/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/sk/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/es/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/cs/LC_MESSAGES/xine-lib.mo
-%{prefix}/share/locale/pl_PL/LC_MESSAGES/xine-lib.mo
-
-@HAVE_OSS_TRUE@%files oss
-@HAVE_OSS_TRUE@%defattr(-,root,root)
-@HAVE_OSS_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_oss.la
-@HAVE_OSS_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_oss.so
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
-@HAVE_ALSA09_TRUE@%files alsa09
-@HAVE_ALSA09_TRUE@%defattr(-,root,root)
-@HAVE_ALSA09_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_alsa.la
-@HAVE_ALSA09_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_alsa.so
-
-@HAVE_ARTS_TRUE@%files arts
-@HAVE_ARTS_TRUE@%defattr(-,root,root)
-@HAVE_ARTS_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_arts.la
-@HAVE_ARTS_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_arts.so
-
-@HAVE_ESD_TRUE@%files esd
-@HAVE_ESD_TRUE@%defattr(-,root,root)
-@HAVE_ESD_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_esd.la
-@HAVE_ESD_TRUE@%{prefix}/lib/xine/plugins/xineplug_ao_out_esd.so
-
-@HAVE_DXR3_TRUE@%files dxr3
-@HAVE_DXR3_TRUE@%defattr(-,root,root)
-@HAVE_DXR3_TRUE@%{prefix}/lib/xine/plugins/xineplug_decode_dxr3.la
-@HAVE_DXR3_TRUE@%{prefix}/lib/xine/plugins/xineplug_decode_dxr3.so
-@HAVE_DXR3_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_dxr3.la
-@HAVE_DXR3_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_dxr3.so
-@HAVE_DXR3_TRUE@%{prefix}/include/dxr3_video_out.h
-@HAVE_DXR3_TRUE@%{prefix}/include/dxr3_vo_encoder.h
-
-@HAVE_XV_TRUE@%files xv
-@HAVE_XV_TRUE@%defattr(-,root,root)
-@HAVE_XV_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_xv.la
-@HAVE_XV_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_xv.so
-
-#@HAVE_SDL_TRUE@%files sdl
-#@HAVE_SDL_TRUE@%defattr(-,root,root)
-#@HAVE_SDL_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_sdl.la
-#@HAVE_SDL_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_sdl.so
-
-@HAVE_AA_TRUE@%files aa
-@HAVE_AA_TRUE@%defattr(-,root,root)
-@HAVE_AA_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_aa.la
-@HAVE_AA_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_aa.so
-
-@HAVE_OPENGL_TRUE@%files opengl
-@HAVE_OPENGL_TRUE@%defattr(-,root,root)
-@HAVE_OPENGL_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_opengl.la
-@HAVE_OPENGL_TRUE@%{prefix}/lib/xine/plugins/xineplug_vo_out_opengl.so
-
-@W32DLL_DEP@%files w32dll
-@W32DLL_DEP@%defattr(-,root,root)
-@W32DLL_DEP@%{prefix}/lib/xine/plugins/xineplug_decode_w32dll.la
-@W32DLL_DEP@%{prefix}/lib/xine/plugins/xineplug_decode_w32dll.so
-
-@HAVE_VORBIS_TRUE@%files oggvorbis
-@HAVE_VORBIS_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_ogg.la
-@HAVE_VORBIS_TRUE@%{prefix}/lib/xine/plugins/xineplug_dmx_ogg.so
-@HAVE_VORBIS_TRUE@%{prefix}/lib/xine/plugins/xineplug_decode_vorbis.la
-@HAVE_VORBIS_TRUE@%{prefix}/lib/xine/plugins/xineplug_decode_vorbis.so
-
-%files docs
+%files -n %{libname}
+%defattr(-,root,root)
+%doc README TODO AUTHORS COPYING ChangeLog
+%{_bindir}/xine-config
+%{_libdir}/libxine*.so.*
+%{_libdir}/xine/plugins/xineplug*.*
+%{_datadir}/xine/skins/*
+%{_datadir}/xine/fonts/*
+%{_mandir}/man1/*
+%{_datadir}/locale/*
+
+%files -n %{libname}-devel
%defattr(-,root,root)
-%{prefix}/share/doc/xine/xine-lib-API/*
+%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
+* Sat May 11 2002 Matthias Dahl <matthew2k@web.de>
+- reworked/revamped spec file, still needs some tuning (BuildPreReq, ...)
* Thu May 2 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
- sync with new logo stuff.
* Wed May 1 2002 Matthias Dahl <matthew2k@web.de>