--- /dev/null
+Name: mfldv4l2camsrc
+Summary: Camera source component for Intel Medfield ISP
+Version: 0.43
+Release: 1
+Group: Applications/Multimedia
+License: LGPLv2+
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: gettext-tools
+BuildRequires: which
+BuildRequires: prelink
+BuildRequires: gstreamer-tools
+BuildRequires: gst-plugins-base-devel
+BuildRequires: pkgconfig(gstreamer-0.10)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(liboil-0.3)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(vorbis)
+BuildRequires: pkgconfig(theora)
+BuildRequires: gst-plugins-bad-devel
+
+%description
+Camera source component for Intel Medfield ISP.
+
+%prep
+%setup -q
+
+%build
+./autogen.sh
+%configure --disable-static \
+ --disable-nls \
+ --enable-swscale \
+ --prefix=%{_prefix} \
+ --with-html-dir=/tmp/dump
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/gstreamer-0.10/libgstmfldv4l2cam.so
+%{_libdir}/libgstatomisphal-0.10.so.0.0.0
+%{_libdir}/libgstmfldcamera-0.10.so.0.0.0
+%{_libdir}/libgstatomisphal-0.10.so.0
+%{_libdir}/libgstmfldcamera-0.10.so.0
+%exclude %{_includedir}/atomisp_v4l2.h
+%exclude %{_includedir}/ci_adv_property.h
+%exclude %{_includedir}/ci_adv_pub.h
+%exclude %{_includedir}/gstreamer-0.10/gst/camera/gstmfldcameracolorbalance.h
+%exclude %{_includedir}/gstreamer-0.10/gst/camera/gstmfldcamerasrc.h
+%exclude %{_includedir}/gstv4l2mfldadvci.h
+%exclude %{_includedir}/mfld_cam.h
+%exclude %{_includedir}/mfld_cam_defs.h
+%exclude %{_includedir}/sh_css_types.h
+%exclude %{_includedir}/to_upstream.h
+%exclude %{_libdir}/libgstatomisphal-0.10.so
+%exclude %{_libdir}/libgstmfldcamera-0.10.so
+%exclude %{_libdir}/pkgconfig/gstreamer-atomisphal-0.10.pc
+%exclude %{_libdir}/pkgconfig/gstreamer-mfld-videosrc-0.10.pc