3 %bcond_without aspell # without spell checking
4 %bcond_without voip # without VoIP support
5 %bcond_without python # with python support
6 %bcond_without pthread # build with Posix threads support
7 %bcond_with ioctl_daemon # with ioctl_daemon (suid root)
11 Summary: A client compatible with Gadu-Gadu
12 Summary(de): Ein Cliente kompatibel mit Gadu-Gadu
13 Summary(es): Un cliente compatible con Gadu-Gadu
14 Summary(it): Un cliente compatibile con Gadu-Gadu
15 Summary(pl): Klient kompatybilny z Gadu-Gadu
21 Group: Applications/Communications
22 Source0: http://dev.null.pl/ekg/%{name}-1.6%{_pre}.tar.gz
23 # Source0-md5: bce21bd6e896b71266afc30004f27402
25 URL: http://dev.null.pl/ekg/
26 %{?with_aspell:BuildRequires: aspell-devel}
27 BuildRequires: autoconf
28 BuildRequires: automake
29 %{?with_voip:BuildRequires: libgsm-devel}
30 BuildRequires: libjpeg-devel
31 BuildRequires: ncurses-devel
32 BuildRequires: openssl-devel >= 0.9.7d
33 BuildRequires: %{_bindir}/perl
36 BuildRequires: python-devel
38 BuildRequires: readline-devel
39 BuildRequires: zlib-devel
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 EKG ("Eksperymentalny Klient Gadu-Gadu") is an open source gadu-gadu
44 client for UNIX systems. Gadu-Gadu is an instant messaging program,
45 very popular in Poland.
48 - irssi-like ncurses interface
49 - sending and receiving files
51 - launching shell commands on certain events
52 - reading input from pipe
53 - python scripting support
54 - speech synthesis (using an external program)
57 Please note that the program is not internationalized and all messages
58 are in Polish (although the commands are in English).
61 Ein Cliente kompatibel mit Gadu-Gadu.
64 Un cliente compatible con Gadu-Gadu.
67 Un cliente compatibile con Gadu-Gadu.
70 EKG ("Eksperymentalny Klient Gadu-Gadu") jest open source'owym
71 klientem gadu-gadu dla systemów uniksowych. Gadu-Gadu to popularny w
72 polsce komunikator internetowy.
75 - interfejs u¿ytkownika podobny do irssi,
76 - wysy³anie i odbieranie plików,
78 - uruchamianie poleceñ pow³oki w okre¶lonych sytuacjach,
79 - wczytywanie wej¶cia z potoku,
80 - wsparcie dla skryptów w jêzyku Python,
81 - synteza mowy (z u¿yciem zewnêtrznego programu),
82 - wsparcie dla szyfrowania.
84 Program nie jest umiêdzynarodowiony i wszystkie komunikaty s± po
85 polsku (jednak komendy s± w jêzyku angielskim).
88 Summary: libgadu library
89 Summary(es): Biblioteca libgadu
90 Summary(pl): Biblioteka libgadu
95 %description -n libgadu
96 libgadu is intended to make it easy to add Gadu-Gadu communication
97 support to your software.
99 %description -n libgadu -l de
100 Mit libgadu ist es Ihnen möglich auf einfache Weise Gadu-Gadu
101 Kommunikations-Unterstützung in Ihre Software einzubinden.
103 %description -n libgadu -l es
104 libgadu está pensada para facilitar añadirle comunicación vía
105 Gadu-Gadu a su software.
107 %description -n libgadu -l pl
108 libgadu umo¿liwia ³atwe dodanie do ró¿nych aplikacji komunikacji
109 bazuj±cej na protokole Gadu-Gadu.
111 %package -n libgadu-devel
112 Summary: libgadu development library
113 Summary(es): Biblioteca de desarrollo de libgadu
114 Summary(pl): Czê¶æ biblioteki libgadu dla programistów
116 Group: Development/Libraries
117 Requires: libgadu = %{epoch}:%{version}-%{release}
118 Requires: openssl-devel
119 Obsoletes: libgg-devel
121 %description -n libgadu-devel
122 The libgadu-devel package contains the header files and some
123 documentation needed to develop application with libgadu.
125 %description -n libgadu-devel -l de
126 Das libgadu-devel Paket enthält Header-Files (Kopfzeilenordner) und
127 die Dokumentation die Sie benötigen um mit libgadu Anwendungen zu
130 %description -n libgadu-devel -l es
131 El paquete libgadu-devel contiene los ficheros de cabecera, juntos con
132 una documentación, necesarios para desarrollar aplicaciones que usar
135 %description -n libgadu-devel -l pl
136 Pakiet libgadu-devel zawiera pliki nag³ówkowe i dokumentacjê,
137 potrzebne do kompilowania aplikacji korzystaj±cych z libgadu.
139 %package -n libgadu-static
140 Summary: Static libgadu library
141 Summary(es): Biblioteca libgadu estática
142 Summary(pl): Statyczna biblioteka libgadu
144 Group: Development/Libraries
145 Requires: libgadu-devel = %{epoch}:%{version}-%{release}
146 Obsoletes: libgg-static
148 %description -n libgadu-static
149 Static libgadu library.
151 %description -n libgadu-static -l de
152 Statisches libgadu Archiv.
154 %description -n libgadu-static -l es
155 Biblioteca libgadu estática.
157 %description -n libgadu-static -l pl
158 Statyczna biblioteka libgadu.
161 %setup -q -n %{name}-%{version}%{_pre}
177 %{?with_python:--with-python} \
178 %{!?with_voip:--without-libgsm} \
179 %{?with_aspell:--enable-aspell} \
180 %{?with_ioctl_daemon:--enable-ioctld}
183 CC="%{__cc} %{rpmcflags} -Wall -I%{_includedir}/ncurses"
185 %if %{with ioctl_daemon}
186 %{__make} -C src ioctld
190 rm -rf $RPM_BUILD_ROOT
191 install -d $RPM_BUILD_ROOT%{_sysconfdir}
193 %{__make} install install-ekl2 \
194 DESTDIR=$RPM_BUILD_ROOT
196 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
200 rm -f examples/Makefile examples/Makefile.in examples/.cvsignore
203 install -d $RPM_BUILD_ROOT%{_examplesdir}/libgadu-%{version}
204 cp -af examples/* $RPM_BUILD_ROOT%{_examplesdir}/libgadu-%{version}
206 %if %{with ioctl_daemon}
207 install src/ioctld $RPM_BUILD_ROOT%{_bindir}
210 cd $RPM_BUILD_ROOT%{_libdir}
211 ln -sf libgadu.so.*.* libgadu.so
214 rm -rf $RPM_BUILD_ROOT
216 %post -n libgadu -p /sbin/ldconfig
217 %postun -n libgadu -p /sbin/ldconfig
220 %defattr(644,root,root,755)
221 %doc docs/{7thguard,dcc,files,gdb,python,sim,themes,ui-ncurses,vars,voip}.txt
222 %{?with_aspell:%doc docs/slownik.txt}
223 %doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.{ansi,sample}
224 %attr(755,root,root) %{_bindir}/e*
225 %{?with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
226 %attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
229 %lang(pl) %{_mandir}/pl/man1/*
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_libdir}/libgadu.so.*.*
235 %files -n libgadu-devel
236 %defattr(644,root,root,755)
237 %doc docs/{7thguard,ui,devel-hints,przenosny-kod}.txt docs/protocol.html
238 %doc ChangeLog docs/{README,TODO}
239 %attr(755,root,root) %{_libdir}/libgadu.so
240 %{_includedir}/libgadu.h
241 %{_includedir}/libgadu-config.h
243 %{_examplesdir}/libgadu-%{version}
245 %files -n libgadu-static
246 %defattr(644,root,root,755)