From: Kévin THIERRY Date: Tue, 19 Aug 2014 15:25:40 +0000 (+0200) Subject: Clean spec file for Yocto compatibility X-Git-Tag: submit/tizen/20140826.140930~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7b07fd36e87d719fb6fbc2006a537d797659cc9;p=platform%2Fcore%2Fuifw%2Flibhangul.git Clean spec file for Yocto compatibility Also set a valid group tag. Change-Id: I138ab1463db6209d62ed82b603f2dec5fad1e74b Signed-off-by: Kévin THIERRY --- diff --git a/packaging/libhangul.spec b/packaging/libhangul.spec index 8a4b7c5..8cf5c2d 100644 --- a/packaging/libhangul.spec +++ b/packaging/libhangul.spec @@ -2,7 +2,7 @@ Name: libhangul Version: 0.1.0 Release: 0 License: LGPL-2.1 -Group: System/I18n/Korean +Group: System/Utilities AutoReqProv: on Url: http://code.google.com/p/libhangul Source0: %{name}-%{version}.tar.gz @@ -25,7 +25,7 @@ Hangul input library used by scim-hangul and ibus-hangul %package devel Summary: Include Files and Libraries mandatory for Development -Group: System/I18n/Korean +Group: System/Utilities Requires: %{name} = %{version}-%{release} %description devel @@ -39,13 +39,12 @@ cp %{SOURCE1001} . %build [ ! -x autogen.sh ] || rm -f configure -%autogen -%configure --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +%reconfigure --disable-static --with-pic +%__make %{?_smp_mflags} %install make DESTDIR=${RPM_BUILD_ROOT} install -%{__rm} -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf %{buildroot} @@ -62,7 +61,6 @@ rm -rf %{buildroot} %license COPYING %doc AUTHORS NEWS README ChangeLog %{_libdir}/lib*.so.* -%dir %{_datadir}/libhangul/ %dir %{_datadir}/libhangul/hanja/ %{_datadir}/libhangul/hanja/hanja.txt %{_bindir}/hangul