From: Ronan Le Martret Date: Wed, 9 Jul 2014 07:51:38 +0000 (+0200) Subject: Clean spec file for yocto compliance. X-Git-Tag: accepted/tizen/3.0/common/20161114.105815^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.m2;p=platform%2Fcore%2Fmultimedia%2Flibmm-ta.git Clean spec file for yocto compliance. Change-Id: I33b868931e437e2ace8e136104762a20cd1ef512 Signed-off-by: Ronan Le Martret --- diff --git a/packaging/libmm-ta.spec b/packaging/libmm-ta.spec index 379ba04..6e64333 100644 --- a/packaging/libmm-ta.spec +++ b/packaging/libmm-ta.spec @@ -1,20 +1,15 @@ -#sbs-git:slp/pkgs/l/libmm-ta libmm-ta 0.1.4 1859a89ab9fa666d844abd894b10584e408604f5 - Name: libmm-ta Summary: Multimedia Framework Time Analysis Lib -Version: 0.1.4 -Release: 2 +Version: 0.1.4 +Release: 0 Group: System/Libraries License: Apache-2.0 Source0: libmm-ta-%{version}.tar.gz -Source1001: libmm-ta.manifest - +Source1001: libmm-ta.manifest %description Multimedia Framework Time Analysis Library - - %package devel Summary: Dev. components for the libmm-ta package (devel) Group: Development/Libraries @@ -23,43 +18,30 @@ Requires: %{name} = %{version}-%{release} %description devel Development components for the libmm-ta package (devel) - %prep %setup -q cp %{SOURCE1001} . - %build - -%autogen --disable-static -%configure --disable-static -make %{?jobs:-j%jobs} +%reconfigure --disable-static +%__make %{?_smp_mflags} %install rm -rf %{buildroot} %make_install - - - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - - - - %files %manifest %{name}.manifest %defattr(-,root,root,-) -%_libdir/libmm_ta.so.* - +%{_libdir}/libmm_ta.so.* %files devel %manifest %{name}.manifest %defattr(-,root,root,-) -%_includedir/mm_ta/*.h -%_libdir/*.so -%_libdir/pkgconfig/*.pc - +%{_includedir}/mm_ta/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc