Name: libmedia-service
Summary: Media information service library for multimedia applications
-Version: 0.4.5
+Version: 0.5.1
Release: 0
Group: Multimedia/Libraries
-License: Apache-2.0 and PD
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1001: libmedia-service.manifest
+Source1001: libmedia-service.manifest
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(libzip)
+BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mm-fileinfo)
BuildRequires: pkgconfig(libmedia-utils)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(libtzplatform-config)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(mmutil-magick)
+BuildRequires: pkgconfig(mmutil-magick)
+BuildRequires: pkgconfig(media-thumbnail)
+BuildRequires: pkgconfig(libpodofo)
+BuildRequires: pkgconfig(iniparser)
+
%if 0%{?gtests:1}
BuildRequires: pkgconfig(gmock)
%endif
cp %{SOURCE1001} .
%build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DPATH_LIBDIR=\\\"%{_libdir}\\\""
%cmake . -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0}
make %{?jobs:-j%jobs}
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libmedia-service.so.*
-%{_libdir}/libmedia-svc-hash.so.*
%{_libdir}/libmedia-content-plugin.so
%{_libdir}/libmedia-content-plugin.so.*
+%{_libdir}/libmedia-ebook-plugin.so
%if 0%{?gtests:1}
%{_bindir}/gtest*
%endif
%files devel
%manifest %{name}.manifest
%{_libdir}/libmedia-service.so
-%{_libdir}/libmedia-svc-hash.so
%{_libdir}/pkgconfig/libmedia-service.pc
%{_includedir}/media-service/*.h