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)
42 CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="${LDFLAGS}" ./configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --prefix=/usr --enable-drm --disable-gtk
44 CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="${LDFLAGS}" ./configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --prefix=/usr --disable-drm --disable-gtk
51 mkdir -p %{buildroot}/%{_datadir}/license
52 cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
55 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %manifest libmm-fileinfo.manifest
61 %{_bindir}/memtrace_reader
62 %{_bindir}/mm_file_test
63 %{_libdir}/libmmffile.so.*
64 %{_libdir}/libmmfile_codecs.so.*
65 %{_libdir}/libmmfile_formats.so.*
66 %{_libdir}/libmmfile_utils.so.*
67 %{_libdir}/libmmffile.so
68 %{_libdir}/libmmfile_codecs.so
69 %{_libdir}/libmmfile_formats.so
70 %{_libdir}/libmmfile_utils.so
71 %{_datadir}/license/%{name}
74 %{_includedir}/mmf/mm_file.h
75 %{_libdir}/pkgconfig/mm-fileinfo.pc