diff options
Diffstat (limited to 'packaging/capi-appfw-app-manager.spec')
-rwxr-xr-x | packaging/capi-appfw-app-manager.spec | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/packaging/capi-appfw-app-manager.spec b/packaging/capi-appfw-app-manager.spec new file mode 100755 index 0000000..f586b40 --- /dev/null +++ b/packaging/capi-appfw-app-manager.spec @@ -0,0 +1,61 @@ +#sbs-git:slp/api/app-manager capi-appfw-app-manager 0.1.0 76739af2bfbeb46dc9db0cb3e044f880ddcb9440 +Name: capi-appfw-app-manager +Summary: Application Manager API +Version: 0.1.0 +Release: 20 +Group: TO_BE/FILLED_IN +License: TO BE FILLED IN +Source0: %{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(aul) +BuildRequires: pkgconfig(ail) +BuildRequires: pkgconfig(pkgmgr) +BuildRequires: pkgconfig(pkgmgr-info) +BuildRequires: pkgconfig(capi-base-common) +BuildRequires: pkgconfig(glib-2.0) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +The Application Manager API provides functions to get information about running applications. + +%package devel +Summary: Application Manager API (Development) +Group: TO_BE/FILLED_IN +Requires: %{name} = %{version}-%{release} + +%description devel +The Application Manager API provides functions to get information about running applications. (DEV) + + +%prep +%setup -q + + +%build +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%{_libdir}/libcapi-appfw-app-manager.so.* +%manifest capi-appfw-app-manager.manifest + +%files devel +%{_includedir}/appfw/*.h +%{_libdir}/libcapi-appfw-app-manager.so +%{_libdir}/pkgconfig/*.pc + + |