1 %bcond_with yesterday_snapshot # Build most current ekg2 snapshot
2 # (must use ./builder -n5 or plain rpmbuild)
4 %if %{with yesterday_snapshot}
5 %define _snap %(date +%%Y%%m%%d -d yesterday)
10 Summary: A client compatible with Gadu-Gadu
11 Summary(de): Einen client kompatibel zu Gadu-Gadu
12 Summary(it): Esperimentale cliente di Gadu-Gadu
13 Summary(pl): Eksperymentalny Klient Gadu-Gadu
18 Group: Applications/Communications
19 Source0: http://dev.null.pl/ekg2/archive/%{name}-%{_snap}.tar.gz
20 # Source0-md5: ee1e7993975ae70878bf4a51e2bc2bee
21 URL: http://dev.null.pl/ekg2/
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: libgadu-devel
25 BuildRequires: libtool
26 BuildRequires: libltdl-devel
27 BuildRequires: libgsm-devel
28 BuildRequires: ncurses-devel
29 BuildRequires: openssl-devel >= 0.9.7d
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 A client compatible with Gadu-Gadu and Jabber.
36 Einen client kompatibel zu Gadu-Gadu und Jabber.
39 Esperimentale cliente di Gadu-Gadu.
42 Eksperymentalny Klient Gadu-Gadu. W wersji 2.0 obs³uguje zarówno
43 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
46 %setup -q -n %{name}-%{_snap}
49 %{__libtoolize} --ltdl
58 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf docs/{CVS,.cvsignore,Makefile*}
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc ChangeLog* NEWS* README-main docs/*
70 %attr(755,root,root) %{_bindir}/*
72 %dir %{_libdir}/ekg2/plugins
73 %attr(755,root,root) %{_libdir}/ekg2/plugins/*.so
74 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}