From d4cf22487676cd686fc7344972b52a8e045525f9 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 9 Jul 2014 09:51:38 +0200 Subject: [PATCH] Clean spec file for yocto compliance. Change-Id: I33b868931e437e2ace8e136104762a20cd1ef512 Signed-off-by: Ronan Le Martret --- packaging/libmm-ta.spec | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) 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 -- 2.7.4