packages: chromium-ffmpegsumo/chromium-ffmpegsumo.spec (NEW)=?UTF-8?Q?=20?=- new, from sp...
glen
glen at pld-linux.org
Sun Jun 24 12:34:18 CEST 2012
Author: glen Date: Sun Jun 24 10:34:17 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new, from spot src.rpm, for completeness
---- Files affected:
packages/chromium-ffmpegsumo:
chromium-ffmpegsumo.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/chromium-ffmpegsumo/chromium-ffmpegsumo.spec
diff -u /dev/null packages/chromium-ffmpegsumo/chromium-ffmpegsumo.spec:1.1
--- /dev/null Sun Jun 24 12:34:18 2012
+++ packages/chromium-ffmpegsumo/chromium-ffmpegsumo.spec Sun Jun 24 12:34:12 2012
@@ -0,0 +1,92 @@
+# $Revision$, $Date$
+# TODO
+# - Document how to make the source for this beast from the chromium checkout
+Summary: Media playback library for chromium
+Name: chromium-ffmpegsumo
+Version: 14.0.827.10
+Release: 1
+License: LGPL v2+
+Group: Libraries
+URL: http://www.chromium.org/
+Source0: %{name}-%{version}.tar.bz2
+# Source0-md5: -
+BuildRequires: libvpx-devel
+BuildRequires: yasm
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A media playback library for chromium-browser. This is a fork of
+ffmpeg.
+
+Because Google doesn't understand open source community involvement.
+It only supports unencumbered codecs.
+
+%package devel
+Summary: Development headers and libraries for ffmpegsumo
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development headers and libraries for ffmpegsumo.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+%ifarch %{ix86}
+ ARCH=ia32 \
+%endif
+%ifarch %{x8664}
+ ARCH=x64 \
+%endif
+ CC="%{__cc}" \
+ OPTFLAGS="%{rpmcflags} %{rpmcppflags}" \
+ libdir=%{_libdir} \
+ includedir=%{_includedir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+%ifarch %{ix86}
+ ARCH=ia32 \
+%endif
+%ifarch %{x8664}
+ ARCH=x64 \
+%endif
+ libdir=%{_libdir} \
+ includedir=%{_includedir} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+
+#install -d $RPM_BUILD_ROOT%{_libdir}/chromium-browser
+#cd $RPM_BUILD_ROOT%{_libdir}/chromium-browser
+#ln -s ../libffmpegsumo.so.0.0.0 libffmpegsumo.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE COPYING.LGPLv2.1
+%attr(755,root,root) %{_libdir}/libffmpegsumo.so.*.*.*
+%ghost %{_libdir}/libffmpegsumo.so.0
+#%{_libdir}/chromium-browser/libffmpegsumo.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/ffmpegsumo
+
+%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 2012/06/24 10:34:12 glen
+- new, from spot src.rpm, for completeness
================================================================
More information about the pld-cvs-commit
mailing list