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/%{name}-%{version}_src.7z
10 # Source0-md5: 0d0e2d4f6c4424e5f182f40f451c064e
11 Patch0: %{name}-c++.patch
12 Patch1: %{name}-ffmpeg-0.8.patch
13 URL: http://code.google.com/p/ffmpegsource/
14 BuildRequires: autoconf >= 2.58
15 BuildRequires: automake
16 BuildRequires: ffmpeg-devel >= 0.8.0
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool >= 2:2.0
20 BuildRequires: pkgconfig >= 1:0.22
21 BuildRequires: rpmbuild(macros) >= 1.566
22 BuildRequires: sed >= 4.0
23 BuildRequires: zlib-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
28 wrapper library around FFmpeg, plus some additional components to deal
29 with file formats FFmpeg's libavformat has (or used to have) problems
30 with. It gives you an easy, convenient way to say "open and decompress
31 this media file for me, I don't care how you do it" and get frame- and
32 sample-accurate access (usually), without having to bother with the
33 sometimes less than straightforward and less than perfectly documented
36 %description -l pl.UTF-8
37 FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
38 biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
39 mającymi radzić sobie z formatami plików, z którymi libavformat z
40 FFmpeg ma (lub miał) problemy. Umożliwia w łatwy sposób zażądanie
41 "otwórz i zdekompresuj ten plik, nieważne jak" i uzyskanie dostępu
42 (zwykle) z dokładnością do ramek i próbek, bez potrzeby zajmowania
43 się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
46 Summary: Header files for FFmpegSource library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FFmpegSource
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: ffmpeg-devel >= 0.8.0
51 Requires: libstdc++-devel
55 Header files for FFmpegSource library.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki FFmpegSource.
61 Summary: Static FFmpegSource library
62 Summary(pl.UTF-8): Statyczna biblioteka FFmpegSource
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 Static FFmpegSource library.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka FFmpegSource.
73 %setup -q -c -T -n %{name}-%{version}_src
75 %undos src/core/{indexing,lavfindexer,utils}.cpp
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/ffmsindex
107 %attr(755,root,root) %{_libdir}/libffms2.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libffms2.so.2
111 %defattr(644,root,root,755)
112 %doc doc/*.{html,css}
113 %attr(755,root,root) %{_libdir}/libffms2.so
114 %{_libdir}/libffms2.la
115 %{_includedir}/ffms.h
116 %{_includedir}/ffmscompat.h
117 %{_pkgconfigdir}/ffms2.pc
120 %defattr(644,root,root,755)
121 %{_libdir}/libffms2.a