2 Summary: Packager Manager infomation api for package
5 Group: Application Framework/Package Management
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: pkgmgr-info.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(vconf)
12 BuildRequires: pkgconfig(sqlite3)
13 BuildRequires: pkgconfig(db-util)
14 BuildRequires:pkgconfig(libxml-2.0)
15 BuildRequires: pkgconfig(dbus-1)
16 BuildRequires: pkgconfig(dbus-glib-1)
19 Packager Manager infomation api for packaging
22 Summary: Packager Manager infomation api (devel)
23 Requires: %{name} = %{version}-%{release}
25 Packager Manager infomation api (devel)
28 Summary: Library for manifest parser
29 Requires: %{name} = %{version}-%{release}
32 Library for manifest parser
35 Summary: Dev package for libpkgmgr-parser
36 Requires: %{name} = %{version}-%{release}
38 %description parser-devel
39 Dev package for libpkgmgr-parser
52 mkdir -p %{buildroot}/opt/usr/apps/tmp
53 touch %{buildroot}/opt/usr/apps/tmp/pkgmgr_tmp.txt
55 # create the directory for hosting Read-Write application manifest files
56 mkdir -p %{buildroot}/opt/share/packages/
58 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
62 %post -n pkgmgr-info-parser -p /sbin/ldconfig
64 %postun -n pkgmgr-info-parser -p /sbin/ldconfig
67 %manifest %{name}.manifest
68 %defattr(-,root,root,-)
69 %{_libdir}/libpkgmgr-info.so.*
70 %dir %attr(771,app,app) /opt/usr/apps/tmp
71 /opt/usr/apps/tmp/pkgmgr_tmp.txt
72 %dir /opt/share/packages
75 %manifest %{name}.manifest
76 %defattr(-,root,root,-)
77 %{_includedir}/pkgmgr-info.h
78 %{_libdir}/pkgconfig/pkgmgr-info.pc
79 %{_libdir}/libpkgmgr-info.so
82 %manifest %{name}.manifest
83 %defattr(-,root,root,-)
84 %{_libdir}/libpkgmgr_parser.so.*
85 %{_sysconfdir}/package-manager/preload/preload_list.txt
86 %{_sysconfdir}/package-manager/preload/manifest.xsd
87 %{_sysconfdir}/package-manager/preload/xml.xsd
88 %{_sysconfdir}/package-manager/parser_path.conf
89 %{_sysconfdir}/package-manager/parserlib/metadata/mdparser_list.txt
90 %{_sysconfdir}/package-manager/parserlib/category/category_parser_list.txt
91 %{_sysconfdir}/package-manager/parserlib/tag_parser_list.txt
94 %manifest %{name}.manifest
95 %defattr(-,root,root,-)
96 %{_includedir}/pkgmgr/pkgmgr_parser.h
97 %{_includedir}/pkgmgr/pkgmgr_parser_db.h
98 %{_libdir}/pkgconfig/pkgmgr-parser.pc
99 %{_libdir}/libpkgmgr_parser.so