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
8Name: mixvideo
9Version: 0.1.14
10Release: 1
11Source0: %{name}-%{version}.tar.gz
12NoSource: 0
13License: Proprietary
14Group: System Environment/Libraries
15BuildRoot: %{_tmppath}/%{name}-root
16ExclusiveArch: i586
17Requires: glib2 , mixcommon, mixvbp
18
19%description
20MIX Video is an user library interface for various video codecs available on the platform.
21
22## devel package ##
23
24%package devel
25Summary: Libraries include files
26Group: Development/Libraries
27Requires: %{name} = %{version}, mixcommon-devel , glib2-devel, mixvbp-devel
28
29%description devel
30The %{name}-devel package contains the header files and static libraries for building applications which use %{name}.
31
32## internal devel package ##
33
34%package int-devel
35Summary: Libraries include files
36Group: Development/Libraries
37Requires: %{name} = %{version}, mixcommon-devel , glib2-devel, mixvbp-devel
38
39%description int-devel
40The %{name}-int-devel package contains the header files and static libraries for building applications which use %{name}.
41
42%prep
43%setup -q
44%build
45./autogen.sh
46./configure --prefix=%{_prefix}
47make
48%install
49make DESTDIR=$RPM_BUILD_ROOT install
50%clean
51rm -rf $RPM_BUILD_ROOT
52%files
53%defattr(-,root,root)
54%{_prefix}/lib/libmixvideo.so*
55
56%files devel
57%defattr(-,root,root)
58%{_prefix}/include/mix
59%{_prefix}/lib/*.la
60%{_prefix}/lib/pkgconfig/mixvideo.pc
61
62%files int-devel
63%defattr(-,root,root)
64%{_prefix}/include/mixvideoint
65%{_prefix}/lib/pkgconfig/mixvideoint.pc
66
67
68