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