1 %bcond_with yesterday_snapshot # Build most current ekg2 snapshot
2 # (must use ./builder -n5 or plain rpmbuild)
3 %bcond_with aspell # Build in spell-checking support with aspell
4 # (currently leaks memory)
6 %if %{with yesterday_snapshot}
7 %define _snap %(date +%%Y%%m%%d -d yesterday)
12 Summary: A client compatible with Gadu-Gadu
13 Summary(de): Einen client kompatibel zu Gadu-Gadu
14 Summary(it): Esperimentale cliente di Gadu-Gadu
15 Summary(pl): Eksperymentalny Klient Gadu-Gadu
20 Group: Applications/Communications
21 Source0: http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
22 # Source0-md5: 94136ee525ad5a5becce4e40f639f9d0
23 URL: http://www.ekg2.org/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: libgadu-devel
27 BuildRequires: libtool
28 BuildRequires: libltdl-devel
29 BuildRequires: libgsm-devel
30 BuildRequires: ncurses-devel
31 BuildRequires: openssl-devel >= 0.9.7d
33 BuildRequires: aspell-devel
35 BuildRequires: gpm-devel
36 BuildRequires: gnutls-devel
37 BuildRequires: expat-devel
38 BuildRequires: libjpeg-devel
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 A client compatible with Gadu-Gadu and Jabber.
45 Einen client kompatibel zu Gadu-Gadu und Jabber.
48 Esperimentale cliente di Gadu-Gadu.
51 Eksperymentalny Klient Gadu-Gadu. W wersji 2.0 obs³uguje zarówno
52 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
55 %setup -q -n %{name}-%{_snap}
58 %{__libtoolize} --ltdl
64 %{!?_with_aspell:--without-aspell} %{?_with_aspell:--with-aspell}
65 echo '#define HAVE_GNUTLS 1' >> ekg2-config.h # KLUDGE, wait for autoconf update
69 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf docs/{CVS,.cvsignore,Makefile*}
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc NEWS* README-main docs/*
81 %attr(755,root,root) %{_bindir}/*
83 %dir %{_libdir}/ekg2/plugins
84 %attr(755,root,root) %{_libdir}/ekg2/plugins/*.so
85 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}