1 Summary: FFmpegSource - FFmpeg wrapper library
2 Summary(pl.UTF-8): FFmpegSource - biblioteka obudowująca FFmpeg
6 License: MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
8 #Source0Download: http://code.google.com/p/ffmpegsource/downloads/list
9 Source0: http://ffmpegsource.googlecode.com/files/ffms-%{version}-src.tar.bz2
10 # Source0-md5: de5d8a4ba7b9920fa5cc290b012bbbf0
11 URL: http://code.google.com/p/ffmpegsource/
12 BuildRequires: autoconf >= 2.58
13 BuildRequires: automake
14 BuildRequires: ffmpeg-devel >= 0.8
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:2.0
18 BuildRequires: pkgconfig >= 1:0.22
19 BuildRequires: rpmbuild(macros) >= 1.566
20 BuildRequires: sed >= 4.0
21 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
26 wrapper library around FFmpeg, plus some additional components to deal
27 with file formats FFmpeg's libavformat has (or used to have) problems
28 with. It gives you an easy, convenient way to say "open and decompress
29 this media file for me, I don't care how you do it" and get frame- and
30 sample-accurate access (usually), without having to bother with the
31 sometimes less than straightforward and less than perfectly documented
34 %description -l pl.UTF-8
35 FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
36 biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
37 mającymi radzić sobie z formatami plików, z którymi libavformat z
38 FFmpeg ma (lub miał) problemy. Umożliwia w łatwy sposób zażądanie
39 "otwórz i zdekompresuj ten plik, nieważne jak" i uzyskanie dostępu
40 (zwykle) z dokładnością do ramek i próbek, bez potrzeby zajmowania
41 się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
44 Summary: Header files for FFmpegSource library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FFmpegSource
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: ffmpeg-devel >= 0.8
49 Requires: libstdc++-devel
53 Header files for FFmpegSource library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki FFmpegSource.
59 Summary: Static FFmpegSource library
60 Summary(pl.UTF-8): Statyczna biblioteka FFmpegSource
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static FFmpegSource library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka FFmpegSource.
71 %setup -q -n ffms-%{version}-src
72 %undos src/core/{indexing,lavfindexer,utils}.cpp
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_bindir}/ffmsindex
103 %attr(755,root,root) %{_libdir}/libffms2.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libffms2.so.2
107 %defattr(644,root,root,755)
108 %doc doc/*.{html,css}
109 %attr(755,root,root) %{_libdir}/libffms2.so
110 %{_libdir}/libffms2.la
111 %{_includedir}/ffms.h
112 %{_includedir}/ffmscompat.h
113 %{_pkgconfigdir}/ffms2.pc
116 %defattr(644,root,root,755)
117 %{_libdir}/libffms2.a