2 Summary: Media Fileinfo
5 Group: System/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: libmm-fileinfo.manifest
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
12 BuildRequires: pkgconfig(mm-common)
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(libswscale)
15 BuildRequires: pkgconfig(glib-2.0)
16 BuildRequires: pkgconfig(iniparser)
17 BuildRequires: pkgconfig(libavcodec)
18 BuildRequires: pkgconfig(libavutil)
19 BuildRequires: pkgconfig(libavformat)
20 BuildRequires: pkgconfig(icu-i18n)
21 BuildRequires: pkgconfig(vconf)
23 BuildRequires: pkgconfig(gmock)
27 Multimedia Framework FileInfo Library
30 Summary: Media Fileinfo Tools
31 Group: Development/Tools
32 Requires: %{name} = %{version}-%{release}
35 Multimedia Framework FileInfo Tools
38 Summary: Media Fileinfo
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
43 Multimedia Framework FileInfo Library (development files)
50 export CFLAGS+=" -Wextra -Wno-array-bounds"
51 export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
52 export CFLAGS+=" -Wwrite-strings -Wswitch-default -Werror"
53 export CFLAGS+=" -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -fgnu89-inline -fstack-protector-strong -D_FORTIFY_SOURCE=2"
57 CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " LDFLAGS="${LDFLAGS}" \
58 ./configure --disable-testmode --disable-dump --enable-dyn --disable-iommap --prefix=/usr \
69 mkdir -p %{buildroot}%{_sysconfdir}/multimedia
70 cp -rf %{_builddir}/%{name}-%{version}/mm_file_config.ini %{buildroot}%{_sysconfdir}/multimedia/mm_file_config.ini
72 mkdir -p %{buildroot}%{_bindir}
73 cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp4 %{buildroot}%{_bindir}/
74 cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp3 %{buildroot}%{_bindir}/
77 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %manifest %{name}.manifest
83 %{_libdir}/libmmffile.so.*
84 %{_libdir}/libmmfile_codecs.so.*
85 %{_libdir}/libmmfile_formats.so.*
86 %{_libdir}/libmmfile_utils.so.*
87 %{_libdir}/libmmffile.so
88 %{_libdir}/libmmfile_codecs.so
89 %{_libdir}/libmmfile_formats.so
90 %{_libdir}/libmmfile_utils.so
91 %{_sysconfdir}/multimedia/mm_file_config.ini
94 %{_bindir}/libmm-fileinfo-unittest*
96 %license LICENSE.APLv2.0
99 %manifest %{name}.manifest
100 %{_bindir}/mm_file_test
103 %manifest %{name}.manifest
104 %{_includedir}/mmf/mm_file.h
105 %{_includedir}/mmf/mm_file_error.h
106 %{_libdir}/pkgconfig/mm-fileinfo.pc