]> git.pld-linux.org Git - SPECS.git/blob - mpeg_encode.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / mpeg_encode.spec
1 Summary:        Berkeley MPEG-1 Video Encoder
2 Summary(pl.UTF-8):      Koder obrazu MPEG-1 z Berkeley
3 Name:           mpeg_encode
4 Version:        1.5b
5 Release:        1
6 License:        BSD
7 Group:          Applications/Graphics
8 Source0:        ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  ff125fb82118efc7c852f0d26d5552c6
10 Patch0:         %{name}-strerror.patch
11 Patch1:         %{name}-install.patch
12 Patch2:         %{name}-errno.patch
13 Patch3:         %{name}-link_jpeg.patch
14 #Patch0:                ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/encode.patch
15 URL:            http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The encoder will accept any input file format as long as you provide a
20 script to convert the images to PPM, YUV, JPEG, or JMOVIE format.
21 Input file processing is described in the file doc/INPUT.FORMAT.
22 Options to control input file processing and compression parameters
23 are specified in a parameter file. Very little error processing is
24 done when reading this file. We suggest you start with the sample
25 parameter file examples/template.param and modify it. See also
26 examples/default.param.
27
28 %description -l pl.UTF-8
29 Ten koder akceptuje dowolny format wejściowy dla którego dostarczysz
30 skrypt konwertujący ramki na PPM, YUV, JPEG lub JMOVIE. Obróbka pliku
31 wejściowego opisana jest w pliku doc/INPUT.FORMAT. Opcje kontrolujące
32 obróbkę pliku wejściowego i parametry kompresji są w pliku parametrów.
33 Przy czytaniu tego pliku obsługa błędów jest niewielka. Autorzy
34 sugerują by zaczynać od przykładowego pliku examples/template.param i
35 modyfikować go. Patrz także examples/default.param.
36
37 %prep
38 %setup -q -c
39 %patch0 -p0
40 %patch1 -p0
41 %patch2 -p0
42 # needs some libjpeg API update (from 5 to 6b)
43 #%patch3 -p0
44
45 %build
46 %{__make} -C mpeg_encode \
47         CC="%{__cc}" \
48         DEBUGFLAG="%{rpmcflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} -C mpeg_encode install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc ANNOUNCE COPYRIGHT mpeg_encode/{BUGS,CHANGES,NOTES,README,TODO,examples}
62 %doc mpeg_encode/docs/{EXTENSIONS,*param*,users-guide.ps,INPUT.FORMAT}
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
This page took 0.211574 seconds and 3 git commands to generate.