+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Enlightenment Fundation Libraries - Embryo
Summary(pl): Podstawowe biblioteki Enlightenmenta - Embryo
Name: embryo
-Version: 0.9.1.018
+Version: 0.9.1.024
Release: 1
License: BSD
Group: X11/Libraries
Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 8d94586f64306bed42f6147cf63d6ee2
+# Source0-md5: 8469afa08f75d9e6aa29d9ca9d784739
URL: http://enlightenment.org/Libraries/Embryo/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%undefine __cxx
+
%description
Embryo is a tiny library designed as a virtual machine to interpret a
limited set of small compiled programs.
%setup -q
%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
%{_datadir}/%{name}
%{_pkgconfigdir}/embryo.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libembryo.a
+%endif