%if %{with yesterday_snapshot}
%define _snap %(date +%%Y%%m%%d -d yesterday)
%else
-%define _snap 20040817
+%define _snap 20040902
%endif
Summary: A client compatible with Gadu-Gadu
Summary(pl): Eksperymentalny Klient Gadu-Gadu
Name: ekg2
Version: 2.0
-Release: 0.%{_snap}.2
+Release: 0.%{_snap}.1
License: GPL v2+
Group: Applications/Communications
Source0: http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
-# Source0-md5: 0dc34153b9121a790ef99927e6e61922
+# Source0-md5: d12e86bff3876f8be4969c008cae4058
URL: http://www.ekg2.org/
BuildRequires: automake
BuildRequires: libgadu-devel
BuildRequires: libjpeg-devel
BuildRequires: gcc-c++
BuildRequires: autoconf
+BuildRequires: gettext-devel
BuildRequires: libstdc++-devel
%{?with_aspell:BuildRequires: aspell-devel}
BuildRequires: gnutls-devel
%build
cp -f /usr/share/automake/config.sub .
+cp -f /usr/share/automake/config.sub libltdl/
%configure \
--with%{!?with_aspell:out}-aspell
%{__make}
%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
%{?with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}
%{_datadir}/%{name}
+%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo