summaryrefslogtreecommitdiff
path: root/packaging/libmm-camcorder.spec
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2012-08-21 18:23:05 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2012-08-21 18:23:05 +0900
commita363cbd696a08e0dc9609cea4cac567419923aa2 (patch)
tree88d61d7ad0f13af43da6f12cbb6b2785b92fe90a /packaging/libmm-camcorder.spec
parent698cf9b745c56f9f47bd1a68d5c6df1ea728e065 (diff)
downloadlibmm-camcorder-a363cbd696a08e0dc9609cea4cac567419923aa2.tar.gz
libmm-camcorder-a363cbd696a08e0dc9609cea4cac567419923aa2.tar.bz2
libmm-camcorder-a363cbd696a08e0dc9609cea4cac567419923aa2.zip
2.0 init
Diffstat (limited to 'packaging/libmm-camcorder.spec')
-rw-r--r--packaging/libmm-camcorder.spec33
1 files changed, 19 insertions, 14 deletions
diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec
index 20f8a20..b786cb1 100644
--- a/packaging/libmm-camcorder.spec
+++ b/packaging/libmm-camcorder.spec
@@ -1,42 +1,40 @@
Name: libmm-camcorder
-Summary: camcorder library
-Version: 0.5.38
-Release: 2
-Group: Libraries
+Summary: Camera and recorder library
+Version: 0.6.8
+Release: 0
+Group: libs
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Requires(post): /usr/bin/vconftool
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(mm-common)
-BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(mm-sound)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(mmutil-imgp)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(vconf)
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(gstreamer-floatcast-0.10)
-BuildRequires: pkgconfig(gstreamer-check-0.10)
BuildRequires: pkgconfig(camsrcjpegenc)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(vconf)
BuildRequires: gst-plugins-base-devel
%description
-camcorder library.
+Camera and recorder library.
%package devel
-Summary: camcorder development library
+Summary: Camera and recorder development library
Group: libdevel
Version: %{version}
Requires: %{name} = %{version}-%{release}
%description devel
-camcorder development library.
+Camera and recorder development library.
%prep
@@ -44,24 +42,31 @@ camcorder development library.
%build
+export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS"
./autogen.sh
%configure --disable-static
make %{?jobs:-j%jobs}
%install
+rm -rf %{buildroot}
%make_install
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+
+vconftool set -t int memory/camera/state 0 -i -u 5000
%postun -p /sbin/ldconfig
%files
+%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/*.so.*
/usr/share/sounds/mm-camcorder/*
%files devel
+%defattr(-,root,root,-)
%{_includedir}/mmf/mm_camcorder.h
%{_libdir}/pkgconfig/mm-camcorder.pc
%{_libdir}/*.so