add devel package 15/11515/1 accepted/tizen/2.1/main tizen_2.1 accepted/tizen_2.1/20131031.063201 submit/tizen_2.1/20131031.062420 submit/tizen_2.1/20131031.063910
authorJie Chen <jie.a.chen@intel.com>
Tue, 29 Oct 2013 06:12:29 +0000 (14:12 +0800)
committerJie Chen <jie.a.chen@intel.com>
Tue, 29 Oct 2013 06:25:28 +0000 (14:25 +0800)
add the devel package for those apps/libs like
xwalk that still want to use the camera device
via linux v4l2 interface

gst-libs/atomisphal/Makefile.am
packaging/gst-plugins-atomisp.spec
pkgconfig/gstreamer-atomisphal.pc.in

index 0369816..4c66763 100644 (file)
@@ -11,7 +11,8 @@ libgstatomisphal_@GST_MAJORMINOR@include_HEADERS = mfld_cam.h  \
                                                gstv4l2mfldadvci.h \
                                                atomisp_v4l2.h \
                                                atomisp.h \
-                                               sh_css_types.h
+                                               sh_css_types.h \
+                                                mfld_driver.h
 
 libgstatomisphal_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)\
                                        -DSTDC99 -D__user= \
@@ -22,4 +23,3 @@ libgstatomisphal_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
 libgstatomisphal_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LDFLAGS)\
                                        $(LIBMFLDADVCI_LIBS)
 
-noinst_HEADERS = mfld_driver.h
index 3c21ffa..f7c8d77 100644 (file)
@@ -14,6 +14,13 @@ BuildRequires:  gst-plugins-bad-devel
 %description
 Camera source component for Intel Medfield ISP.
 
+%package devel
+Summary: atomisp
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Camera dev library for Intel Medfield ISP (developement files)
+
 %prep
 %setup -q
 
@@ -36,16 +43,20 @@ rm -rf %{buildroot}
 %{_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}/atomisp.h
-%exclude %{_includedir}/gstreamer-0.10/gst/camera/gstmfldcameracolorbalance.h
-%exclude %{_includedir}/gstreamer-0.10/gst/camera/gstmfldcamerasrc.h
-%exclude %{_includedir}/gstreamer-0.10/gst/camera/gstmfldcameracontroliface.h
-%exclude %{_includedir}/gstv4l2mfldadvci.h
-%exclude %{_includedir}/mfld_cam.h
-%exclude %{_includedir}/mfld_cam_defs.h
-%exclude %{_includedir}/sh_css_types.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
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/atomisp_v4l2.h
+%{_includedir}/atomisp.h
+%{_includedir}/gstreamer-0.10/gst/camera/gstmfldcameracolorbalance.h
+%{_includedir}/gstreamer-0.10/gst/camera/gstmfldcamerasrc.h
+%{_includedir}/gstreamer-0.10/gst/camera/gstmfldcameracontroliface.h
+%{_includedir}/gstv4l2mfldadvci.h
+%{_includedir}/mfld_cam.h
+%{_includedir}/mfld_cam_defs.h
+%{_includedir}/sh_css_types.h
+%{_includedir}/mfld_driver.h
+%{_libdir}/libgstatomisphal-0.10.so
+%{_libdir}/libgstmfldcamera-0.10.so
+%{_libdir}/pkgconfig/gstreamer-atomisphal-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-mfld-videosrc-0.10.pc
index b1bbc23..cfd2f94 100644 (file)
@@ -7,5 +7,5 @@ Name: GStreamer Camera Source Abstract Layer API libraries
 Description: GStreamer Camera Source Abstract Layer API libraries for Atom ISP
 Requires: 
 Version: @VERSION@
-Libs: -L${libdir} -lgstmfldcamhal-0.10
+Libs: -L${libdir} -lgstatomisphal-0.10
 Cflags: -I${includedir}