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