License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: libmm-common.manifest
+BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(mm-log)
cp %{SOURCE1001} .
%build
-CFLAGS="%{optflags} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " %reconfigure
+
+CFLAGS="%{optflags} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "
+%reconfigure
%__make %{?_smp_mflags}
%install
%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
%post -p /sbin/ldconfig
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libmmfcommon.so.*
-/usr/share/license/%{name}
+%license LICENSE.APLv2
%files devel
%manifest %{name}.manifest