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