Name: capi-appfw-package-manager
Summary: Package Manager API
-Version: 0.0.28
+Version: 0.8.1
Release: 1
-Group: API
+Group: System/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1001: capi-appfw-package-manager.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(pkgmgr-installer)
BuildRequires: pkgconfig(pkgmgr-info)
-BuildRequires: pkgconfig(ail)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(cynara-client)
+BuildRequires: pkgconfig(cynara-session)
%description
The Package Manager API provides functions to install, uninstall the package,
%package devel
Summary: Package Manager API (Development)
-Group: API
+Group: System/API
Requires: %{name} = %{version}-%{release}
%description devel
The Package Manager API provides functions to install, uninstall the package,
and also privides event listening function. (DEV)
+%package test
+Summary: Package Manager API (Test Tool)
+Group: System/API
+Requires: %{name} = %{version}-%{release}
+
+%description test
+This package includes test tool for package manager apis.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%files
-%manifest capi-appfw-package-manager.manifest
+%manifest %{name}.manifest
+%license LICENSE
%{_libdir}/libcapi-appfw-package-manager.so.*
-%{_bindir}/pkgmgr_tool
%files devel
-%{_includedir}/appfw/package_manager.h
-%{_includedir}/appfw/package_info.h
+%manifest %{name}.manifest
+%{_includedir}/appfw/*.h
%{_libdir}/libcapi-appfw-package-manager.so
%{_libdir}/pkgconfig/*.pc
-
+%files test
+%manifest %{name}.manifest
+%{_bindir}/pkgmgr_tool