1 Summary: Berkeley MPEG-1 Video Decoder
2 Summary(pl.UTF-8): Dekoder obrazu MPEG-1 z Berkeley
7 Group: X11/Applications/Multimedia
8 Source0: ftp://mm-ftp.cs.berkeley.edu/pub/mpeg/play/%{name}-%{version}-src.tar.gz
9 # Source0-md5: 4e56f1d436639e79c3d0f49857510361
10 URL: ftp://mm-ftp.cs.berkeley.edu/pub/mpeg/
11 BuildRequires: XFree86-devel
12 Patch0: %{name}-morearchs.patch
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The decoder is implemented as a library that will take a video stream
17 and display it in an X window on an 8, 24 or 32 bit deep display. The
18 main routine is supplied to demonstrate the use of the decoder
19 library. Several dithering algorithms are supplied based on the
20 Floyd-Steinberg, ordered dither, and half-toning algorithms that
21 tradeoff quality and performance. Neither the library nor the main
22 routine handle real-time synchronization or audio streams.
24 %description -l pl.UTF-8
25 Dekoder jest zaimplementowany jako biblioteka przetwarzająca strumień
26 MPEG-1 i wyświetlająca go w okienku X Window w 8, 24 lub 32 bpp.
27 Obsługuje kilka rodzajów ditheringu (Floyd-Steinberg, ordered dither,
28 half-toning), nie obsługuje natomiast synchronizacji ani strumieni
36 %{__make} -C mpeg_play -fMakefile.proto \
38 CFLAGS="%{rpmcflags} -I/usr/X11R6/include" \
39 LDFLAGS="%{rpmldflags} -L/usr/X11R6/%{_lib}" \
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
46 install mpeg_play/mpeg_play.1 $RPM_BUILD_ROOT%{_mandir}/man1
47 install mpeg_play/mpeg_play $RPM_BUILD_ROOT%{_bindir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc mpeg_play/{ANNOUNCE,BUGS,CHANGES,PLATFORMS,README*,TODO,VERSION}
55 %attr(755,root,root) %{_bindir}/mpeg_play
56 %{_mandir}/man1/mpeg_play.1*