#
# Conditional build:
%bcond_with static # build with static glib
+%bcond_without static_libs # don't build static library
#
Summary: Meta-data extraction library
Summary(pl): Biblioteka do ekstrakcji metadanych
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%{_includedir}/extractor.h
%{_mandir}/man3/*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libextractor.a
+%endif
%files -n python-extractor
%defattr(644,root,root,755)