%bcond_without static_libs # don't build static library
#
Summary: Library for speedy data storage, retrieval, and compression
-Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
+Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
Name: eet
-Version: 0.9.10.036
-Release: 2
+%define subver beta2
+Version: 1.4.0
+Release: 0.%{subver}.1
License: BSD
Group: Libraries
-Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 78baeaec84bd0b773bb8d6c68fdc9053
-URL: http://enlightenment.org/Libraries/Eet/
-BuildRequires: autoconf
-BuildRequires: automake
+Source0: http://download.enlightenment.org/releases/%{name}-%{version}.%{subver}.tar.bz2
+# Source0-md5: ebf2a65bd46df797e8dd0256913d22b7
+URL: http://enlightenment.org/p.php?p=about/efl/eet
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
+BuildRequires: eina-devel >= 1.0.0
+BuildRequires: gnutls-devel >= 1.7.6
+BuildRequires: libgcrypt-devel
BuildRequires: libjpeg-devel
BuildRequires: libtool
+BuildRequires: pkgconfig >= 1:0.22
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
+Requires: gnutls >= 1.7.6
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
%package devel
Summary: Header files for Eet library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: eina-devel >= 1.0.0
+Requires: gnutls-devel >= 1.7.6
+Requires: libgcrypt-devel
Requires: libjpeg-devel
Requires: zlib-devel
%package static
Summary: Static Eet library
-Summary(pl.UTF-8): Statyczna biblioteka Eet
+Summary(pl.UTF-8): Statyczna biblioteka Eet
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Statyczna biblioteka Eet.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}.%{subver}
+
+%{__sed} -i -e 's/eina-0/eina/' configure.ac
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
+ --disable-silent-rules \
%{!?with_static_libs:--disable-static}
%{__make}
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING COPYING-PLAIN INSTALL README
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_bindir}/eet
%attr(755,root,root) %{_libdir}/libeet.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libeet.so.1
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/eet-config
%attr(755,root,root) %{_libdir}/libeet.so
%{_libdir}/libeet.la
%{_pkgconfigdir}/eet.pc
-%{_includedir}/Eet*
+%{_includedir}/eet-1/Eet.h
%if %{with static_libs}
%files static