%define name xmovie %define version 1.5.1 %define release 2mdk Summary: A movie player for QuickTime and MPEG-2 movies Name: %{name} Version: %{version} Release: %{release} Group: Video Source0: http://heroine.linuxave.net/xmovie-%{version}.tar.bz2 Source1: %{name} Source2: %{name}.xpm URL: http://heroine.linuxave.net/xmovie.html Copyright: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: XFree86-devel >= 4.0.1, XFree86-static-libs >= 4.0.1, nasm %description Introducing a movie player for MPEG-2, DVD, and Quicktime movies with stereo sound. It won't play any movies you download from the internet. What XMovie is used for is playing long, high resolution movies you capture or composite yourself with stereo sound. The other Quicktime players, well, the other player is not convenient for movies over 50 minutes and it doesn't support aspect ratios or stereo sound. XMovie plays MPEG-1/MPEG-2 system streams, MP2/MP3/AC3 audio, MPEG-1/2 video, Quicktime video (Motion JPEG A, Uncompressed RGB, Component video, Progressive JPEG, PNG, YUV 4:2:0, DV), Quicktime audio: Twos complement, IMA4, ulaw). %prep %setup -q %build chmod -R u+rw,go+r . CFLAGS="$RPM_OPT_FLAGS" ./configure export PATH=$PATH:. # Im sucks -fpermissive to get rid of gcc2.95 warning. gcc --version|grep -q 2.95 && CFLAGS="$RPM_OPT_FLAGS -fpermissive" make gcc --version|grep -q 2.95 || CFLAGS="$RPM_OPT_FLAGS" make %install mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin install -s xmovie/xmovie $RPM_BUILD_ROOT%{_prefix}/X11R6/bin install -m 755 -d $RPM_BUILD_ROOT%{_menudir} install -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_menudir} install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/icons install -m 644 %SOURCE2 $RPM_BUILD_ROOT%{_datadir}/icons/ %post %update_menus %postun %clean_menus %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README docs/index.html %attr(755,root,root) %{_prefix}/X11R6/bin/xmovie %{_menudir}/* %{_datadir}/icons/* %changelog * Fri Oct 24 2000 Montel Laurent <lmontel@mandrakesoft.com> 1.5.1-2mdk - Now xmovie is the first application to read video when you click on konqueror * Tue Aug 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.5.1-1mdk - s|1.5|1.5.1|; * Fri Aug 25 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.5-1mdk - new and shiny version, major changes ..!! - get untar of source to shut up as it is too annoying to watch. * Thu Aug 10 2000 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4-1mdk - updated to version 1.4. * Thu Jul 06 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.1-6mdk - ExludArch: ppc too. * Wed May 24 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.1-5mdk - ExcludeArch: alpha since it contain non portable asm. * Sat Apr 29 2000 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.3.1-4mdk - updated to real 1.3.1 version. - fixed absolute path in for icon in menu entry. * Tue Apr 18 2000 dam's <damien@mandrakesoft.com> 1.3.1-3mdk - Convert gif icon to xpm. * Mon Apr 17 2000 dam's <damien@mandrakesoft.com> 1.3.1-2mdk - Added menu entry. * Thu Mar 30 2000 dam's <damien@mandrakesoft.com> 1.3.1-1mdk - Update to 1.3.1. * Mon Nov 15 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Fix gcc2.95 compilation. * Sat Nov 06 1999 John Buswell <johnb@mandrakesoft.com> - 1.1.1 - Build Release * Sat Sep 18 1999 Giuseppe Ghibò <ghibo@linux-mandrake.com> - initial SPEC file for Mandrake distribution.