+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Library for speedy data storage, retrieval, and compression
Summary(pl): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
Name: eet
-Version: 0.9.10.019
+Version: 0.9.10.028
Release: 1
License: BSD
Group: Libraries
Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 38839936c0424c0de6f908b9664935d6
+# Source0-md5: 01142c78613c2865a4f30523d99d89c6
URL: http://enlightenment.org/Libraries/Eet/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%undefine __cxx
+
%description
Eet is a tiny library designed to write an arbitary set of chunks of
data to a file and optionally compress each chunk (very much like a
%setup -q
%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
%{_pkgconfigdir}/eet.pc
%{_includedir}/Eet*
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libeet.a
+%endif