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)
24 Multimedia Framework FileInfo Library
27 Summary: Media Fileinfo Tools
28 Group: Development/Tools
29 Requires: %{name} = %{version}-%{release}
32 Multimedia Framework FileInfo Tools
35 Summary: Media Fileinfo
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Multimedia Framework FileInfo Library (development files)
47 export CFLAGS+=" -Wextra -Wno-array-bounds"
48 export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
49 export CFLAGS+=" -Wwrite-strings -Wswitch-default -Werror"
50 export CFLAGS+=" -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -fgnu89-inline"
54 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
61 mkdir -p %{buildroot}%{_sysconfdir}/multimedia
62 cp -rf %{_builddir}/%{name}-%{version}/mm_file_config.ini %{buildroot}%{_sysconfdir}/multimedia/mm_file_config.ini
64 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %manifest %{name}.manifest
70 %{_libdir}/libmmffile.so.*
71 %{_libdir}/libmmfile_codecs.so.*
72 %{_libdir}/libmmfile_formats.so.*
73 %{_libdir}/libmmfile_utils.so.*
74 %{_libdir}/libmmffile.so
75 %{_libdir}/libmmfile_codecs.so
76 %{_libdir}/libmmfile_formats.so
77 %{_libdir}/libmmfile_utils.so
78 %{_sysconfdir}/multimedia/mm_file_config.ini
79 %license LICENSE.APLv2.0
82 %manifest %{name}.manifest
83 %{_bindir}/mm_file_test
86 %manifest %{name}.manifest
87 %{_includedir}/mmf/mm_file.h
88 %{_includedir}/mmf/mm_file_error.h
89 %{_libdir}/pkgconfig/mm-fileinfo.pc