+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Enlightenment Widget Library
Summary(pl): Biblioteka widgetów Enlightenmenta (Enlightenment Widget Library)
Name: ewl
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
%{_pkgconfigdir}/ewl.pc
%{_aclocaldir}/ewl.m4
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libewl.a
+%endif