Name: libmm-fileinfo
Summary: Media Fileinfo
-Version: 0.6.79
-Release: 1
+Version: 1.0.7
+Release: 0
Group: System/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
cp %{SOURCE1001} .
%build
+%if "%{tizen_profile_name}" == "tv"
+export CFLAGS+=" -DUSE_CODEC_VPX"
+%endif
export CFLAGS+=" -Wextra -Wno-array-bounds"
export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
export CFLAGS+=" -Wwrite-strings -Wswitch-default -Werror"
./autogen.sh
%reconfigure \
-CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="${LDFLAGS}" \
+CFLAGS="${CFLAGS} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="${LDFLAGS}" \
./configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --prefix=/usr \
%if 0%{?gtests:1}
--enable-tests \
%files
%manifest %{name}.manifest
%{_libdir}/libmmffile.so.*
-%{_libdir}/libmmfile_codecs.so.*
%{_libdir}/libmmfile_formats.so.*
%{_libdir}/libmmfile_utils.so.*
%{_libdir}/libmmffile.so
-%{_libdir}/libmmfile_codecs.so
%{_libdir}/libmmfile_formats.so
%{_libdir}/libmmfile_utils.so
%{_sysconfdir}/multimedia/mm_file_config.ini