2 Summary: Media Fileinfo
5 Group: System/Libraries
6 License: Apache License, Version 2.0
7 Source0: %{name}-%{version}.tar.gz
8 BuildRequires: pkgconfig(mm-common)
9 BuildRequires: pkgconfig(mm-log)
10 BuildRequires: pkgconfig(libswscale)
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(libavcodec)
13 BuildRequires: pkgconfig(libavutil)
14 BuildRequires: pkgconfig(libavformat)
19 BuildRequires: libss-client-devel
20 BuildRequires: pkgconfig(drm-client)
24 Multimedia Framework FileInfo Library
28 Summary: Media Fileinfo
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Multimedia Framework FileInfo Library (developement files)
39 CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "
45 %configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --enable-drm --disable-gtk
47 %configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --disable-drm --disable-gtk
54 mkdir -p %{buildroot}/%{_datadir}/license
55 cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
58 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
63 %manifest libmm-fileinfo.manifest
64 %{_bindir}/memtrace_reader
65 %{_bindir}/mm_file_test
66 %{_libdir}/libmmffile.so.*
67 %{_libdir}/libmmfile_codecs.so.*
68 %{_libdir}/libmmfile_formats.so.*
69 %{_libdir}/libmmfile_utils.so.*
70 %{_libdir}/libmmffile.so
71 %{_libdir}/libmmfile_codecs.so
72 %{_libdir}/libmmfile_formats.so
73 %{_libdir}/libmmfile_utils.so
74 %{_datadir}/license/%{name}
77 %{_includedir}/mmf/mm_file.h
78 %{_libdir}/pkgconfig/mm-fileinfo.pc