Add packaging files for Tizen 1.0 2.0alpha-wayland 1.0_branch
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 12 Jun 2012 22:56:35 +0000 (15:56 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Tue, 12 Jun 2012 22:56:35 +0000 (15:56 -0700)
packaging/libvpx.changes [new file with mode: 0644]
packaging/libvpx.spec [new file with mode: 0644]

diff --git a/packaging/libvpx.changes b/packaging/libvpx.changes
new file mode 100644 (file)
index 0000000..ca7f882
--- /dev/null
@@ -0,0 +1,2 @@
+* Wed Jun 12 2012 - Rusty Lynch <rusty.lynch@intel.com> - 1.1.0+1+965d8
+- Packaging snapshot of master
diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec
new file mode 100644 (file)
index 0000000..0b4d0d9
--- /dev/null
@@ -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