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