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 URL: http://code.google.com/p/ffmpegsource/
13 BuildRequires: autoconf >= 2.58
14 BuildRequires: automake
15 BuildRequires: ffmpeg-devel >= 0.5.0
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:2.0
19 BuildRequires: pkgconfig >= 1:0.22
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
25 wrapper library around FFmpeg, plus some additional components to deal
26 with file formats FFmpeg's libavformat has (or used to have) problems
27 with. It gives you an easy, convenient way to say "open and decompress
28 this media file for me, I don't care how you do it" and get frame- and
29 sample-accurate access (usually), without having to bother with the
30 sometimes less than straightforward and less than perfectly documented
33 %description -l pl.UTF-8
34 FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
35 biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
36 mającymi radzić sobie z formatami plików, z którymi libavformat z
37 FFmpeg ma (lub miał) problemy. Umożliwia w łatwy sposób zażądanie
38 "otwórz i zdekompresuj ten plik, nieważne jak" i uzyskanie dostępu
39 (zwykle) z dokładnością do ramek i próbek, bez potrzeby zajmowania
40 się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
43 Summary: Header files for FFmpegSource library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FFmpegSource
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: ffmpeg-devel >= 0.5.0
48 Requires: libstdc++-devel
52 Header files for FFmpegSource library.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki FFmpegSource.
58 Summary: Static FFmpegSource library
59 Summary(pl.UTF-8): Statyczna biblioteka FFmpegSource
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 Static FFmpegSource library.
66 %description static -l pl.UTF-8
67 Statyczna biblioteka FFmpegSource.
70 %setup -q -c -T -n %{name}-%{version}_src
72 %undos src/core/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