# Note that this is NOT a relocatable package %define ver @SPEC_VERSION@ %define rel 0 #%define prefix @prefix@ %define prefix /usr %define name @PACKAGE@ Name: %{name} Summary: A Free Video Player. Version: %{ver} Release: %{rel} Copyright: GPL Group: Development/Libraries Source: http://xine.sourceforge.net/files/@PACKAGE@-@VERSION@.tar.gz URL: http://xine.sourceforge.net Packager: Guenter Bartsch BuildRoot: /tmp/%{name}-root # dangerous hack AutoReqProv: no Requires: libX11, libXext, libdl, libm, ld-linux, libpthread, libslang, libc %description xine is a free gpl-licensed video player for unix-like systems. It supports mpeg-2 and mpeg-1 streams as well as AVI files that contain MS MPEG-4 / OpenDivX Video. xine plays the video and audio data and synchronizes the playback of both. Depending on the properties of the stream, playback will need more or less processor power, 100% frame rate has been seen on a 400 MHz P II system. %prep %setup -n @TAR_NAME@ %build ./configure --prefix=%{prefix} 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 prefix=$RPM_BUILD_ROOT%{prefix} #cp doc/*.xpm $RPM_BUILD_ROOT/usr/include/X11/pixmaps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{prefix}/bin/xine-config %{prefix}/man/man3/xine-lib.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}/include/xine/*.h %{prefix}/include/xine.h # plugins %{prefix}/lib/xine/plugins/xineplug_*.la %{prefix}/lib/xine/plugins/xineplug_*.so # doc, lib, skins %{prefix}/share/doc/xine/xine-lib-API/* %{prefix}/lib/libxine*.la %{prefix}/lib/libxine*.so* %{prefix}/share/xine/skins/* %changelog