1# INTEL CONFIDENTIAL
2# Copyright 2009 Intel Corporation All Rights Reserved. 
3# The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel’s prior express written permission.
4#
5# No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
6
7Summary: MIX Video Bitstream Parser
8Name: mixvbp
9Version: 0.1.15
10Release: 1
11Source0: %{name}-%{version}.tar.gz
12NoSource: 0
13License: Proprietary
14Group: System Environment/Libraries
15BuildRoot: %{_tmppath}/%{name}-root
16ExclusiveArch: i586
17
18%description
19MIX Video Bitstream Parser is an user library interface for various video format bitstream parsing
20
21%package devel
22Summary: Libraries include files
23Group: Development/Libraries
24Requires: %{name} = %{version}
25
26%description devel
27The %{name}-devel package contains the header files and static libraries for building applications which use %{name}.
28
29%prep
30%setup -q
31%build
32./autogen.sh
33./configure --prefix=%{_prefix}
34make
35%install
36make DESTDIR=$RPM_BUILD_ROOT install
37rm -f $RPM_BUILD_ROOT/%{_prefix}/lib/libmixvbp_mpeg2*
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41%files
42%defattr(-,root,root)
43%{_prefix}/lib/libmixvbp.so*
44%{_prefix}/lib/libmixvbp_vc1.so*
45%{_prefix}/lib/libmixvbp_h264.so*
46%{_prefix}/lib/libmixvbp_mpeg4.so*
47
48%files devel
49%defattr(-,root,root)
50%{_prefix}/include
51%{_prefix}/lib/*.la
52%{_prefix}/lib/pkgconfig/mixvbp.pc
53