diff options
-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 - - - |