%description
Tizen Theme Manager
+%package -n capi-appfw-tizen-theme
+Summary: Tizen Theme Manager API
+Requires: %{name} = %{version}
+
+%description -n capi-appfw-tizen-theme
+The Tizen Theme Manager API provides functions to load theme info or
+set current theme.
+
+%package -n capi-appfw-tizen-theme-devel
+Summary: Tizen Theme Manager API (Development package)
+Requires: %{name} = %{version}
+
+%description -n capi-appfw-tizen-theme-devel
+The Tizen Theme Manager API provides functions to load theme info or
+set current theme.
%prep
%setup -q
%manifest %{name}.manifest
%license LICENSE
%{_bindir}/*
-%{_libdir}/libcapi-appfw-tizen-theme.so*
%{_libdir}/libtizen-theme.so
%{_libdir}/libtizen-theme-provider.so
-%{_includedir}/tizen-theme/*.h
%{_sysconfdir}/package-manager/parserlib/metadata/libtizen-theme-plugin.so
%{_datarootdir}/parser-plugins/tizen-theme-plugin.info
%{_unitdir}/%{name}.service
%{_sysconfdir}/dbus-1/system.d/%{name}.conf
+%files -n capi-appfw-tizen-theme
+%manifest %{name}.manifest
+%{_libdir}/libcapi-appfw-tizen-theme.so.*
+
+%files -n capi-appfw-tizen-theme-devel
+%manifest %{name}.manifest
+%{_libdir}/libcapi-appfw-tizen-theme.so
+%{_includedir}/tizen-theme/*.h
+%{_libdir}/pkgconfig/capi-appfw-tizen-theme.pc
+
#################################################
# tizen-theme-manager-gcov
#################################################
DLOG_DEPS
)
+CONFIGURE_FILE(capi-appfw-tizen-theme.pc.in capi-appfw-tizen-theme.pc @ONLY)
+INSTALL(FILES capi-appfw-tizen-theme.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
INSTALL(TARGETS ${TARGET_TIZEN_THEME_API} DESTINATION ${LIB_INSTALL_DIR})
INSTALL(DIRECTORY ./ DESTINATION ${INCLUDEDIR}/tizen-theme/
FILES_MATCHING PATTERN "*.h")
--- /dev/null
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCLUDEDIR@
+
+Name: capi-appfw-tizen-theme
+Description: Tizen theme manager library
+Version: @FULLVER@
+Requires: capi-base-common
+Libs: -L${libdir} -lcapi-appfw-tizen-theme
+Cflags: -I${includedir}/tizen-theme/