# Conditional build:
%bcond_without static_libs # don't build static library
#
-%define _snap 20080813
Summary: Enlightenment Fundation Libraries - Embryo
Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Embryo
Name: embryo
-Version: 0.9.9.044
-Release: 0.%{_snap}.1
+Version: 1.0.0
+Release: 2
License: BSD
Group: Libraries
-Source0: %{name}-%{version}-%{_snap}.tar.bz2
-# Source0-md5: 209c22bb70e6ab9c23062c2fd9ba807e
-URL: http://enlightenment.org/p.php?p=about/libs/embryo
+Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 12f6c7d1d39c223d412351594a24dc64
+URL: http://trac.enlightenment.org/e/wiki/Embryo
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1.6
BuildRequires: libtool
+BuildRequires: pkgconfig >= 1:0.22
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%undefine __cxx
Statyczna biblioteka Embryo.
%prep
-%setup -q -n %{name}-%{version}-%{_snap}
+%setup -q
%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 README
+%doc AUTHORS COPYING ChangeLog README
%attr(755,root,root) %{_bindir}/embryo_cc
%attr(755,root,root) %{_libdir}/libembryo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libembryo.so.0
+%attr(755,root,root) %ghost %{_libdir}/libembryo.so.1
# for embryo_cc
%{_datadir}/%{name}
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libembryo.so
%{_libdir}/libembryo.la
-%{_includedir}/Embryo.h
+%{_includedir}/embryo-1
%{_pkgconfigdir}/embryo.pc
%if %{with static_libs}