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(libavcodec)
17 BuildRequires: pkgconfig(libavutil)
18 BuildRequires: pkgconfig(libavformat)
19 BuildRequires: pkgconfig(icu-i18n)
20 BuildRequires: pkgconfig(vconf)
23 Multimedia Framework FileInfo Library
26 Summary: Media Fileinfo
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
31 Multimedia Framework FileInfo Library (development files)
38 export CFLAGS+=" -Wextra -Wno-array-bounds"
39 export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
40 export CFLAGS+=" -Wwrite-strings -Wswitch-default -Werror"
41 export CFLAGS+=" -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"
45 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-gtk
52 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
57 %manifest %{name}.manifest
58 %{_bindir}/mm_file_test
59 %{_libdir}/libmmffile.so.*
60 %{_libdir}/libmmfile_codecs.so.*
61 %{_libdir}/libmmfile_formats.so.*
62 %{_libdir}/libmmfile_utils.so.*
63 %{_libdir}/libmmffile.so
64 %{_libdir}/libmmfile_codecs.so
65 %{_libdir}/libmmfile_formats.so
66 %{_libdir}/libmmfile_utils.so
67 %license LICENSE.APLv2.0
70 %manifest %{name}.manifest
71 %{_includedir}/mmf/mm_file.h
72 %{_includedir}/mmf/mm_file_error.h
73 %{_libdir}/pkgconfig/mm-fileinfo.pc