%install
%make_install
-mkdir -p %{buildroot}/%{_datadir}/license
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%{_libdir}/libcapi-media-metadata-extractor.so
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2.0
%files devel
%{_includedir}/media/*.h