packages: libvpx/libvpx.spec (NEW) - initial

arekm arekm at pld-linux.org
Wed May 19 20:47:12 CEST 2010


Author: arekm                        Date: Wed May 19 18:47:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/libvpx/libvpx.spec
diff -u /dev/null packages/libvpx/libvpx.spec:1.1
--- /dev/null	Wed May 19 20:47:12 2010
+++ packages/libvpx/libvpx.spec	Wed May 19 20:47:07 2010
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+Summary:	VP8, a high-quality video codec
+Name:		libvpx
+Version:	0.9.0
+Release:	0.1
+License:	BSD
+Group:		Libraries
+Source0:	http://webm.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	9eb8e818d2f3263623c258fe66924082
+URL:		http://www.webmproject.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+VP8, a high-quality video codec.
+
+%package devel
+Summary:	Header files and develpment documentation for libvpx
+Group:		Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and documentation for libvpx.
+
+%package static
+Summary:	Static libvpx library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static libvpx library.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+# not autoconf configure
+../configure \
+%ifarch %{x8664}
+	--target=x86_64-linux-gcc \
+%endif
+%ifarch %{ix86}
+	--target=x86-linux-gcc \
+%endif
+	--enable-install-docs \
+	--enable-vp8 \
+	--enable-postproc \
+	--enable-runtime-cpu-detect
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/vainfo
+%attr(755,root,root) %{_libdir}/libvpx*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvpx*.so.1
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/dri
+%attr(755,root,root) %{_libdir}/%{name}/dri/*.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libvpx*.so
+%{_includedir}/va
+%{_libdir}/libvpx*.la
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libvpx*.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/05/19 18:47:07  arekm
+- initial
+
+
================================================================


More information about the pld-cvs-commit mailing list