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
71 mkdir -p %{buildroot}%{_bindir}
72 cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp4 %{buildroot}%{_bindir}/
73 cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp3 %{buildroot}%{_bindir}/
75 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %manifest %{name}.manifest
81 %{_libdir}/libmmffile.so.*
82 %{_libdir}/libmmfile_codecs.so.*
83 %{_libdir}/libmmfile_formats.so.*
84 %{_libdir}/libmmfile_utils.so.*
85 %{_libdir}/libmmffile.so
86 %{_libdir}/libmmfile_codecs.so
87 %{_libdir}/libmmfile_formats.so
88 %{_libdir}/libmmfile_utils.so
89 %{_sysconfdir}/multimedia/mm_file_config.ini
92 %{_bindir}/libmm-fileinfo-unittest*
94 %license LICENSE.APLv2.0
97 %manifest %{name}.manifest
98 %{_bindir}/mm_file_test
101 %manifest %{name}.manifest
102 %{_includedir}/mmf/mm_file.h
103 %{_includedir}/mmf/mm_file_error.h
104 %{_libdir}/pkgconfig/mm-fileinfo.pc