X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=bbba8bc55da4514a874209576c03a20e017ff286;hb=e7943fa32ecbb989cb81c02de118378c2095dc6f;hp=b284020499affa3057fc8a20cd74216341673091;hpb=020c1d5863c4608a1fce14425a0bc0ddde110388;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index b284020..b247996 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,78 +1,86 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.7.7 +Version: 0.10.139 Release: 0 -Group: libs +Group: Multimedia/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -Requires(post): /usr/bin/vconftool Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(mm-common) BuildRequires: pkgconfig(mm-sound) -BuildRequires: pkgconfig(avsystem) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(mmutil-imgp) -BuildRequires: pkgconfig(mm-log) -BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) -BuildRequires: pkgconfig(mm-ta) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(mm-session) -BuildRequires: pkgconfig(audio-session-mgr) -BuildRequires: pkgconfig(camsrcjpegenc) -BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(mmutil-jpeg) +BuildRequires: pkgconfig(gstreamer-base-1.0) +BuildRequires: pkgconfig(gstreamer-video-1.0) +BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(vconf) -BuildRequires: gst-plugins-base-devel +BuildRequires: pkgconfig(libtbm) +BuildRequires: pkgconfig(storage) +%if "%{TIZEN_PRODUCT_TV}" != "1" +BuildRequires: pkgconfig(murphy-resource) +BuildRequires: pkgconfig(murphy-glib) +%else +BuildRequires: pkgconfig(tv-resource-manager) +BuildRequires: pkgconfig(aul) +%endif +BuildRequires: pkgconfig(ttrace) +BuildRequires: pkgconfig(libtzplatform-config) +BuildRequires: pkgconfig(dpm) +BuildRequires: pkgconfig(dlog) %description -Camera and recorder library. +Camera and recorder function supported library. %package devel -Summary: Camera and recorder development library +Summary: Camera and recorder library for development Group: libdevel Version: %{version} Requires: %{name} = %{version}-%{release} -%description devel -Camera and recorder development library. +%description devel +Camera and recorder function supported library for development. %prep -%setup -q +%setup -q %build -export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS" +export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\"" ./autogen.sh -%configure --disable-static +%configure \ +%if "%{TIZEN_PRODUCT_TV}" != "1" + --enable-murphy \ +%else + --enable-rm \ + --enable-product-tv \ +%endif + --disable-static make %{?jobs:-j%jobs} %install -rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %make_install %post /sbin/ldconfig -vconftool set -t int memory/camera/state 0 -i -u 5000 -vconftool set -t int file/camera/shutter_sound_policy 0 -u 5000 - %postun -p /sbin/ldconfig %files %manifest libmm-camcorder.manifest +%license LICENSE.APLv2 %defattr(-,root,root,-) -%{_bindir}/* %{_libdir}/*.so.* -/usr/share/sounds/mm-camcorder/* -%{_datadir}/license/%{name} +%{_datadir}/sounds/mm-camcorder/* %files devel -%manifest libmm-camcorder.manifest %defattr(-,root,root,-) %{_includedir}/mmf/mm_camcorder.h %{_libdir}/pkgconfig/mm-camcorder.pc