diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-07-11 10:57:08 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-07-11 10:57:08 +0200 |
commit | 4383609dbe3f4b43240030d392bb1b81aef22b0f (patch) | |
tree | d61d73a85bad4f0c805b852887b0e67d5f679658 | |
parent | c92cec0e876d638b91eb64e12e306e9a29ed2e8f (diff) | |
download | application-tizen_3.0_ivi.tar.gz application-tizen_3.0_ivi.tar.bz2 application-tizen_3.0_ivi.zip |
clean spec file for yocto compliance.tizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20140916.000000submit/tizen_common/20140912.150451submit/tizen_common/20140912.150039accepted/tizen/common/20140915.091256tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
Change-Id: I2a2cbdc570a2678b532699473007aa3f4f94d26b
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rwxr-xr-x | packaging/capi-appfw-application.spec | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/packaging/capi-appfw-application.spec b/packaging/capi-appfw-application.spec index 14b043c..8968348 100755 --- a/packaging/capi-appfw-application.spec +++ b/packaging/capi-appfw-application.spec @@ -1,11 +1,11 @@ Name: capi-appfw-application Summary: An Application library in SLP C API Version: 0.1.0 -Release: 55 -Group: API +Release: 0 +Group: System/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -Source1001: capi-appfw-application.manifest +Source1001: capi-appfw-application.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(bundle) @@ -21,18 +21,16 @@ BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libtzplatform-config) - - %description -An Application library in SLP C API +An Application library in SLP C API package. %package devel Summary: An Application library in SLP C API (Development) -Group: API +Group: System/API Requires: %{name} = %{version}-%{release} %description devel -An Application library in SLP C API (DEV) +An Application library in SLP C API (Development) package. %prep %setup -q @@ -41,33 +39,25 @@ cp %{SOURCE1001} . %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} - - -make %{?jobs:-j%jobs} +%__make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install - -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} +mkdir -p %{buildroot}%{_datadir}/license +cp LICENSE %{buildroot}%{_datadir}/license/%{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - %files %manifest %{name}.manifest %{_libdir}/libcapi-appfw-application.so.* -%manifest capi-appfw-application.manifest -/usr/share/license/%{name} +%{_datadir}/license/%{name} %files devel %manifest %{name}.manifest %{_includedir}/appfw/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-appfw-application.so - - - |