1 Name: capi-appfw-package-manager
2 Summary: Package Manager API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: capi-appfw-package-manager.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(pkgmgr)
12 BuildRequires: pkgconfig(pkgmgr-info)
13 BuildRequires: pkgconfig(ail)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(aul)
16 BuildRequires: pkgconfig(capi-base-common)
19 The Package Manager API provides functions to install, uninstall the package,
20 and also privides event listening function.
23 Summary: Package Manager API (Development)
25 Requires: %{name} = %{version}-%{release}
28 The Package Manager API provides functions to install, uninstall the package,
29 and also privides event listening function. (DEV)
38 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
39 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
47 mkdir -p %{buildroot}/usr/share/license
48 cp LICENSE %{buildroot}/usr/share/license/%{name}
50 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
56 %manifest %{name}.manifest
57 %{_libdir}/libcapi-appfw-package-manager.so.*
58 %{_bindir}/pkgmgr_tool
59 /usr/share/license/%{name}
62 %manifest %{name}.manifest
63 %{_includedir}/appfw/package_manager.h
64 %{_includedir}/appfw/package_info.h
65 %{_libdir}/libcapi-appfw-package-manager.so
66 %{_libdir}/pkgconfig/*.pc