]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg.spec
- release 3: use new %doc.
[packages/ffmpeg.git] / ffmpeg.spec
1 Summary:        Realtime audio/video encoder and streaming server
2 Summary(pl):    Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
3 Name:           ffmpeg
4 Version:        0.4.5
5 Release:        3
6 License:        GPL
7 Group:          Daemons
8 Source0:        http://prdownloads.sourceforge.net/ffmpeg/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-opt.patch
10 URL:            http://ffmpeg.sourceforge.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 %ifarch i586 i686 athlon
13 BuildRequires:  nasm
14 %endif
15
16 %description
17 ffmpeg is a hyper fast realtime audio/video encoder and streaming
18 server. It can grab from a standard Video4Linux video source and
19 convert it into several file formats based on DCT/motion compensation
20 encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
21 compatible stream.
22
23 %description -l pl
24 ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
25 oraz serwerem strumieni multimedialnych. ffmpeg potrafi zrzucaæ dane
26 ze standardowego urz±dzenia Video4Linux i przekonwertowaæ je w kilka
27 formatów plików bazuj±cych na kodowaniu DCT/kompensacji ruchu. D¼wiêk
28 jest kompresowany do strumienia MPEG audio layer 2 lub u¿ywaj±c
29 strumienia kompatybilnego z AC3.
30
31 %prep
32 %setup -q -n %{name}
33 %patch -p1
34
35 %build
36 ./configure \
37 %ifnarch i586 i686 athlon
38         --disable-mmx
39 %endif
40
41 %{__make} \
42         OPT="%{rpmcflags}" \
43         LDOPT="%{rpmldflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}}
48
49 install ffmpeg          $RPM_BUILD_ROOT%{_bindir}
50 install ffserver        $RPM_BUILD_ROOT%{_sbindir}
51 install doc/*.conf      $RPM_BUILD_ROOT%{_sysconfdir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README Change* doc/{bench.txt,ffmpeg.txt,ffserver.txt,README*,TODO,FAQ}
59 %attr(755,root,root) %{_bindir}/*
60 %attr(755,root,root) %{_sbindir}/*
61 %attr(740,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
This page took 0.108162 seconds and 4 git commands to generate.