From e51fae6b5ac741f92f6ef51521fbe77bd7730878 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Tue, 12 Jun 2012 15:56:35 -0700 Subject: [PATCH] Add packaging files for Tizen --- packaging/libvpx.changes | 2 ++ packaging/libvpx.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 packaging/libvpx.changes create mode 100644 packaging/libvpx.spec diff --git a/packaging/libvpx.changes b/packaging/libvpx.changes new file mode 100644 index 0000000..ca7f882 --- /dev/null +++ b/packaging/libvpx.changes @@ -0,0 +1,2 @@ +* Wed Jun 12 2012 - Rusty Lynch - 1.1.0+1+965d8 +- Packaging snapshot of master diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec new file mode 100644 index 0000000..0b4d0d9 --- /dev/null +++ b/packaging/libvpx.spec @@ -0,0 +1,55 @@ +Name: libvpx +Summary: vpx Multi-Format Codec SDK +Version: 1.1.0+1+965d8 +Release: 1 +Group: System/Libraries +License: BSD +URL: http://www.webmproject.org +Source0: %{name}-%{version}.tar.bz2 + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: binutils-devel +BuildRequires: yasm + +%description +This package provides the WebM VP8 Codec SDK. +WebM is an open, royalty-free, media file format designed for the web. +WebM defines the file container structure, video and audio formats. WebM +files consist of video streams compressed with the VP8 video codec and +audio streams compressed with the Vorbis audio codec. The WebM file structure +is based on the Matroska container. + +%package devel +Summary: Development components for the libvpx library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +libvpx development libraries and head files + +%prep +%setup -q -n %{name}-%{version} + +%build +./configure --prefix=/usr --as=yasm --enable-shared + +make %{?jobs:-j%jobs} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%{_libdir}/libvpx.so.* +%{_bindir}/vpxdec +%{_bindir}/vpxenc +%{_bindir}/vp8_scalable_patterns + +%files devel +%{_includedir}/vpx/* +%{_libdir}/libvpx.so +%{_libdir}/pkgconfig/vpx.pc -- 2.7.4