]> git.pld-linux.org Git - packages/ffms2.git/blame - ffmpegsource.spec
- up to 2.16
[packages/ffms2.git] / ffmpegsource.spec
CommitLineData
f99faf48
JB
1Summary: FFmpegSource - FFmpeg wrapper library
2Summary(pl.UTF-8): FFmpegSource - biblioteka obudowująca FFmpeg
3Name: ffmpegsource
2d6e0a12
AM
4Version: 2.16
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
2d6e0a12
AM
9Source0: http://ffmpegsource.googlecode.com/files/ffms-%{version}-src.tar.bz2
10# Source0-md5: de5d8a4ba7b9920fa5cc290b012bbbf0
f99faf48
JB
11URL: http://code.google.com/p/ffmpegsource/
12BuildRequires: autoconf >= 2.58
13BuildRequires: automake
2db2eddb 14BuildRequires: ffmpeg-devel >= 0.8
f99faf48
JB
15BuildRequires: libstdc++-devel
16BuildRequires: libtool >= 2:2.0
17BuildRequires: p7zip
18BuildRequires: pkgconfig >= 1:0.22
f36cd6f2
JB
19BuildRequires: rpmbuild(macros) >= 1.566
20BuildRequires: sed >= 4.0
f99faf48
JB
21BuildRequires: zlib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
26wrapper library around FFmpeg, plus some additional components to deal
27with file formats FFmpeg's libavformat has (or used to have) problems
28with. It gives you an easy, convenient way to say "open and decompress
29this media file for me, I don't care how you do it" and get frame- and
30sample-accurate access (usually), without having to bother with the
31sometimes less than straightforward and less than perfectly documented
32FFmpeg API.
33
34%description -l pl.UTF-8
35FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
36biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
37mającymi radzić sobie z formatami plików, z którymi libavformat z
38FFmpeg 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
41się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
42
43%package devel
44Summary: Header files for FFmpegSource library
45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FFmpegSource
46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
2db2eddb 48Requires: ffmpeg-devel >= 0.8
f99faf48
JB
49Requires: libstdc++-devel
50Requires: zlib-devel
51
52%description devel
53Header files for FFmpegSource library.
54
55%description devel -l pl.UTF-8
56Pliki nagłówkowe biblioteki FFmpegSource.
57
58%package static
59Summary: Static FFmpegSource library
60Summary(pl.UTF-8): Statyczna biblioteka FFmpegSource
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63
64%description static
65Static FFmpegSource library.
66
67%description static -l pl.UTF-8
68Statyczna biblioteka FFmpegSource.
69
70%prep
2d6e0a12 71%setup -q -n ffms-%{version}-src
f36cd6f2 72%undos src/core/{indexing,lavfindexer,utils}.cpp
f99faf48
JB
73%{__rm} configure
74
75%build
76%{__libtoolize}
77%{__aclocal} -I m4
78%{__autoconf}
79%{__autoheader}
80%{__automake}
81%configure \
2d6e0a12
AM
82 --enable-shared \
83 --enable-postproc
f99faf48
JB
84%{__make} \
85 V=1
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc COPYING
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
105
106%files devel
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
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/libffms2.a
This page took 0.109593 seconds and 4 git commands to generate.