]> git.pld-linux.org Git - packages/ffms2.git/blame - ffmpegsource.spec
- document individual ffmpeg component BRs
[packages/ffms2.git] / ffmpegsource.spec
CommitLineData
f99faf48
JB
1Summary: FFmpegSource - FFmpeg wrapper library
2Summary(pl.UTF-8): FFmpegSource - biblioteka obudowująca FFmpeg
3Name: ffmpegsource
cf17c716 4Version: 2.17
2d6e0a12 5Release: 1
f99faf48
JB
6License: MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
7Group: Libraries
d7192954 8#Source0Download: http://code.google.com/p/ffmpegsource/downloads/list
cf17c716
AM
9Source0: http://ffmpegsource.googlecode.com/files/ffms-%{version}-src.tar.bz2
10# Source0-md5: 13770e29d5215ad4b68caad44b09da07
f99faf48
JB
11URL: http://code.google.com/p/ffmpegsource/
12BuildRequires: autoconf >= 2.58
13BuildRequires: automake
3678bed3 14# libavformat >= 52.64.2 libavcodec >= 52.72.0 libswscale >= 0.7.0 libavutil >= 50.15.1
7d6fea5e 15BuildRequires: ffmpeg-devel >= 0.9
f99faf48
JB
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:2.0
18BuildRequires: p7zip
19BuildRequires: pkgconfig >= 1:0.22
f36cd6f2
JB
20BuildRequires: rpmbuild(macros) >= 1.566
21BuildRequires: sed >= 4.0
f99faf48
JB
22BuildRequires: zlib-devel
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
27wrapper library around FFmpeg, plus some additional components to deal
28with file formats FFmpeg's libavformat has (or used to have) problems
29with. It gives you an easy, convenient way to say "open and decompress
30this media file for me, I don't care how you do it" and get frame- and
31sample-accurate access (usually), without having to bother with the
32sometimes less than straightforward and less than perfectly documented
33FFmpeg API.
34
35%description -l pl.UTF-8
36FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
37biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
38mającymi radzić sobie z formatami plików, z którymi libavformat z
39FFmpeg ma (lub miał) problemy. Umożliwia w łatwy sposób zażądanie
40"otwórz i zdekompresuj ten plik, nieważne jak" i uzyskanie dostępu
41(zwykle) z dokładnością do ramek i próbek, bez potrzeby zajmowania
42się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
43
44%package devel
45Summary: Header files for FFmpegSource library
46Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FFmpegSource
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
7d6fea5e 49Requires: ffmpeg-devel >= 0.9
f99faf48
JB
50Requires: libstdc++-devel
51Requires: zlib-devel
52
53%description devel
54Header files for FFmpegSource library.
55
56%description devel -l pl.UTF-8
57Pliki nagłówkowe biblioteki FFmpegSource.
58
59%package static
60Summary: Static FFmpegSource library
61Summary(pl.UTF-8): Statyczna biblioteka FFmpegSource
62Group: Development/Libraries
63Requires: %{name}-devel = %{version}-%{release}
64
65%description static
66Static FFmpegSource library.
67
68%description static -l pl.UTF-8
69Statyczna biblioteka FFmpegSource.
70
71%prep
cf17c716 72%setup -q -n ffms-%{version}-src
f36cd6f2 73%undos src/core/{indexing,lavfindexer,utils}.cpp
f99faf48
JB
74%{__rm} configure
75
76%build
77%{__libtoolize}
78%{__aclocal} -I m4
79%{__autoconf}
80%{__autoheader}
81%{__automake}
cf17c716 82
f99faf48 83%configure \
cf17c716
AM
84 --enable-shared
85
f99faf48
JB
86%{__make} \
87 V=1
88
89%install
90rm -rf $RPM_BUILD_ROOT
91
92%{__make} install \
93 DESTDIR=$RPM_BUILD_ROOT
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%files
102%defattr(644,root,root,755)
103%doc COPYING
104%attr(755,root,root) %{_bindir}/ffmsindex
105%attr(755,root,root) %{_libdir}/libffms2.so.*.*.*
106%attr(755,root,root) %ghost %{_libdir}/libffms2.so.2
107
108%files devel
109%defattr(644,root,root,755)
110%doc doc/*.{html,css}
111%attr(755,root,root) %{_libdir}/libffms2.so
112%{_libdir}/libffms2.la
113%{_includedir}/ffms.h
114%{_includedir}/ffmscompat.h
115%{_pkgconfigdir}/ffms2.pc
116
117%files static
118%defattr(644,root,root,755)
119%{_libdir}/libffms2.a
This page took 0.041289 seconds and 4 git commands to generate.