1 Name: capi-content-media-content
2 Summary: A Media content library in Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: capi-content-media-content.manifest
10 BuildRequires: pkgconfig(dlog)
11 BuildRequires: pkgconfig(capi-base-common)
12 BuildRequires: pkgconfig(capi-system-info)
13 BuildRequires: pkgconfig(libmedia-service)
14 BuildRequires: pkgconfig(media-thumbnail)
15 BuildRequires: pkgconfig(libmedia-utils)
16 BuildRequires: pkgconfig(vconf)
17 BuildRequires: pkgconfig(libtzplatform-config)
18 BuildRequires: pkgconfig(storage)
19 BuildRequires: pkgconfig(sqlite3)
22 A Media content library in Tizen Native API.
25 Summary: A Media content library in Tizen Native API (Development)
26 Group: Multimedia/Development
27 Requires: %{name} = %{version}-%{release}
30 A Media content library in Tizen Native API. (Development file included)
35 Summary: Line Coverage of Media Content library in Tizen C API
36 Group: Development/Multimedia
39 Collection of files related to Line Coverage. It is teseted as gcov for a media content library in Tizen native API
48 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
49 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
50 export LDFLAGS+=" -lgcov"
53 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
54 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
55 %if "%{tizen_profile_name}" == "tv"
56 -DTIZEN_PRODUCT_TV=YES \
58 -DTIZEN_PRODUCT_TV=NO \
60 -DTIZEN_FEATURE_COMPATIBILITY=YES
62 %__make %{?jobs:-j%jobs}
66 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
73 mkdir -p %{buildroot}%{_datadir}/gcov/obj
74 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
77 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
83 %manifest %{name}.manifest
84 %{_libdir}/libcapi-content-media-content.so.*
86 %license LICENSE.APLv2.0
90 %{_datadir}/gcov/obj/*
94 %manifest %{name}.manifest
95 %{_includedir}/media-content/*.h
96 %{_libdir}/pkgconfig/*.pc
97 %{_libdir}/libcapi-content-media-content.so