]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg.spec
- spec adapterized.
[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.3.2
5 Release:        1
6 License:        GPL
7 Group:          Daemons
8 Group(de):      Server
9 Group(pl):      Serwery
10 Source0:        http://download.projectmayo.com/dnload/ffmpeg/%{name}-%{version}.tar.gz
11 URL:            http://www.projectmayo.com/streaming/ffmpeg/index.php
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 ffmpeg is a hyper fast realtime audio/video encoder and streaming
16 server. It can grab from a standard Video4Linux video source and
17 convert it into several file formats based on DCT/motion compensation
18 encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
19 compatible stream.
20
21 %description -l pl
22 ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
23 oraz serwerem strumieni multimedialnych. ffmpeg potrafi zrzucaæ dane
24 ze standardowego urz±dzenia Video4Linux i przekonwertowaæ je w kilka
25 formatów plików bazuj±cych na kodowaniu DCT/kompensacyji ruchu. Dzwiêk
26 jest kompresowany do strumienia MPEG audio layer 2 lub u¿ywaj±c
27 strumienia kompatybilnego z AC3.
28
29 %prep
30 %setup -q -n %{name}
31
32 %build
33 %{__make} CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -Ilibav"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}}
38
39 install ffmpeg          $RPM_BUILD_ROOT%{_bindir}
40 install ffserver        $RPM_BUILD_ROOT%{_sbindir}
41 install doc/*.conf      $RPM_BUILD_ROOT%{_sysconfdir}
42
43 gzip -9nf README Change* doc/{BUGS,ffmpeg.txt,ffserver.txt,README*,TODO}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc *.gz doc/*.gz
51 %attr(755,root,root) %{_bindir}/*
52 %attr(755,root,root) %{_sbindir}/*
53 %attr(740,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
This page took 0.06525 seconds and 4 git commands to generate.