%define name nist %define version 0.6 %define release 5mdk %define url http://home.germany.net/100/5083/ Summary: A DVD player for linux. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 Patch0: %{url}/nist-chmou.patch.bz2 Url: %{url} Copyright: GPL Group: Video BuildRoot: /tmp/%{name}-buildroot Prefix: %{_prefix} # make 3.78 sucks, completely sucks, i should report the bugs who take # me 1 hours of debugging Exclusivearch: i386 i486 i586 i686 k6 k7 %description This is a software DVD player to read DVD. The player is capable of de-multiplexing, synchronizing audio and video, decoding, and playing audio and video. It can also de-multiplex MPEG 2 Program Streams (not tested; under construction), and decode MPEG 1 and 2 audio/video Packetized Elementary Streams (PES). The player consists primarily of 3 classes: the Mpeg2Demux (De-multiplexor), Mpeg2Video (Video decoding and display), and Mpeg2Audio (Audio decoding and playback). Support classes are available for synchronization and buffering. %prep %setup -n NIST-%{version} %patch0 -p0 %build CPPFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$RPM_BUILD_ROOT/usr make CPPFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin make install prefix=$RPM_BUILD_ROOT/%{prefix} pushd $RPM_BUILD_ROOT/%{prefix} && { mv bin/main bin/mpegmain mv bin/test bin/mpegtest } && popd %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog INSTALL AUTHORS README* %{prefix}/bin/mp* %changelog * Thu Aug 31 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.6-5mdk - Recompile for new %doc macros - Wasn't compiling with -j, seem to be a bug in make. - %configure doesn't work here, execute configure script ourself. * Tue Mar 21 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.6-4mdk - Corrected Group. * Thu Jan 20 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.6-3mdk - Exclusivearch: i386 i486 i586 i686 k6 k7 * Wed Nov 3 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - BuildConflicts: with make 3.78 who doen't work here. - First spec file for Mandrake distribution. # end of file