packages: ffmpegsource/ffmpegsource.spec (NEW) - new

qboosh qboosh at pld-linux.org
Tue Nov 2 21:17:18 CET 2010


Author: qboosh                       Date: Tue Nov  2 20:17:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/ffmpegsource:
   ffmpegsource.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ffmpegsource/ffmpegsource.spec
diff -u /dev/null packages/ffmpegsource/ffmpegsource.spec:1.1
--- /dev/null	Tue Nov  2 21:17:18 2010
+++ packages/ffmpegsource/ffmpegsource.spec	Tue Nov  2 21:17:13 2010
@@ -0,0 +1,124 @@
+# $Revision$, $Date$
+Summary:	FFmpegSource - FFmpeg wrapper library
+Summary(pl.UTF-8):	FFmpegSource - biblioteka obudowująca FFmpeg
+Name:		ffmpegsource
+Version:	2.14
+Release:	1
+License:	MIT (ffmpegsource itself), GPL v3+ (forced by ffmpeg)
+Group:		Libraries
+Source0:	http://ffmpegsource.googlecode.com/files/%{name}-%{version}_src.7z
+# Source0-md5:	59e7d09a4c8af57a7907b2ec58b9f249
+URL:		http://code.google.com/p/ffmpegsource/
+BuildRequires:	autoconf >= 2.58
+BuildRequires:	automake
+BuildRequires:	ffmpeg-devel >= 0.5.0
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool >= 2:2.0
+BuildRequires:	p7zip
+BuildRequires:	pkgconfig >= 1:0.22
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform
+wrapper library around FFmpeg, plus some additional components to deal
+with file formats FFmpeg's libavformat has (or used to have) problems
+with. It gives you an easy, convenient way to say "open and decompress
+this media file for me, I don't care how you do it" and get frame- and
+sample-accurate access (usually), without having to bother with the
+sometimes less than straightforward and less than perfectly documented
+FFmpeg API.
+
+%description -l pl.UTF-8
+FFmpegSource (zwykle zwana FFMS lub FFMS2) to wieloplatformowa
+biblioteka obudowująca FFmpeg wraz z paroma dodatkowymi komponentami
+mającymi radzić sobie z formatami plików, z którymi libavformat z
+FFmpeg ma (lub miał) problemy. Umożliwia w łatwy sposób zażądanie
+"otwórz i zdekompresuj ten plik, nieważne jak" i uzyskanie dostępu
+(zwykle) z dokładnością do ramek i próbek, bez potrzeby zajmowania
+się często złożonym, nie najlepiej udokumentowanym API FFmpeg.
+
+%package devel
+Summary:	Header files for FFmpegSource library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki FFmpegSource
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	ffmpeg-devel >= 0.5.0
+Requires:	libstdc++-devel
+Requires:	zlib-devel
+
+%description devel
+Header files for FFmpegSource library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki FFmpegSource.
+
+%package static
+Summary:	Static FFmpegSource library
+Summary(pl.UTF-8):	Statyczna biblioteka FFmpegSource
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static FFmpegSource library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka FFmpegSource.
+
+%prep
+%setup -q -c -T -n %{name}-%{version}_src
+7z -o.. x %{SOURCE0}
+
+%{__rm} configure
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-shared
+%{__make} \
+	V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING
+%attr(755,root,root) %{_bindir}/ffmsindex
+%attr(755,root,root) %{_libdir}/libffms2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libffms2.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/*.{html,css}
+%attr(755,root,root) %{_libdir}/libffms2.so
+%{_libdir}/libffms2.la
+%{_includedir}/ffms.h
+%{_includedir}/ffmscompat.h
+%{_pkgconfigdir}/ffms2.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libffms2.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/11/02 20:17:13  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list