]> git.pld-linux.org Git - packages/ffms2.git/blob - ffmpegsource.spec
- updated to 2.15
[packages/ffms2.git] / ffmpegsource.spec
1 Summary:        FFmpegSource - FFmpeg wrapper library
2 Summary(pl.UTF-8):      FFmpegSource - biblioteka obudowująca FFmpeg
3 Name:           ffmpegsource
4 Version:        2.15
5 Release:        1
6 License:        MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
7 Group:          Libraries
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
18 BuildRequires:  p7zip
19 BuildRequires:  pkgconfig >= 1:0.22
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
31 FFmpeg API.
32
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.
41
42 %package devel
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
49 Requires:       zlib-devel
50
51 %description devel
52 Header files for FFmpegSource library.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki FFmpegSource.
56
57 %package static
58 Summary:        Static FFmpegSource library
59 Summary(pl.UTF-8):      Statyczna biblioteka FFmpegSource
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static FFmpegSource library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka FFmpegSource.
68
69 %prep
70 %setup -q -c -T -n %{name}-%{version}_src
71 7z -o.. x %{SOURCE0}
72 %undos src/core/utils.cpp
73 %patch0 -p1
74 %{__rm} configure
75
76 %build
77 %{__libtoolize}
78 %{__aclocal} -I m4
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure \
83         --enable-shared
84 %{__make} \
85         V=1
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -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.077526 seconds and 4 git commands to generate.