-Summary: Text mode ICQ client
-Summary(pl): Klient ICQ w wersji tekstowej
+Summary: Console ncurses based IM (ICQ, Yahoo!, MSN, AIM, IRC) client
+Summary(es): CenterICQ es un cliente ICQ basado en ncurses para el modo texto
+Summary(pl): Klient IM (ICQ, Yahoo!, MSN, AIM, IRC) w wersji tekstowej
+Summary(pt_BR): O centerICQ é um cliente ICQ baseado em ncurses para o modo texto
Name: centericq
-Version: 4.5.0
+Version: 4.9.6
Release: 1
License: GPL
Group: Applications/Communications
-Group(de): Applikationen/Kommunikation
-Group(pl): Aplikacje/Komunikacja
Source0: http://konst.org.ua/download/%{name}-%{version}.tar.gz
+# Source0-md5: d7708b3de102992ac6757d1e9a699c77
+Patch0: %{name}-acfix.patch
+Patch1: %{name}-am.patch
+Patch2: %{name}-no_libgnutls.patch
URL: http://konst.org.ua/centericq/
-Obsoletes: centerICQ
-BuildRequires: ncurses-devel
-BuildRequires: libstdc++-devel
-BuildRequires: libsigc++-devel >= 1.0.0
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: libsigc++1-devel >= 1.0.0
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: ncurses-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes: centerICQ
%description
-CenterICQ is a text mode menu- and window-driven ICQ interface. It
-allows you to send, receive and forward messages, URLs and contacts,
-mass message send, search for users, view users' details, maintain
-your contact list directly from the program, view messages history,
-register a new UIN and update your details, be informed on receiving
-e-mail messages, automatically set away after the defined period of
-inactivity (on any console!), and have your own ignore list. It can
-also associate events with sounds.
+centericq is a text mode menu- and window-driven IM interface.
+Currently ICQ2000, Yahoo!, MSN, AIM TOC and IRC protocols are
+supported. It allows you to send, receive, and forward messages, URLs
+and, SMSes, mass message send, search for users (including extended
+"whitepages search"), view users' details, maintain your contact list
+directly from the program (including non-icq contacts), view the
+messages history, register a new UIN and update your details, be
+informed on receiving email messages, automatically set away after the
+defined period of inactivity (on any console), and have your own
+ignore, visible and invisible lists. It can also associate events with
+sounds, has support for Hebrew and Arabic languages and allows to
+arrange contacts into groups.
+
+%description -l es
+CenterICQ es un cliente ICQ basado en ncurses para el modo texto.
%description -l pl
CenterICQ to tekstowy, sterowany za pomoc± menu i okien interfejs do
-ICQ. Pozwala na wysy³anie, odbiór oraz przesy³anie dalej wiadomo¶ci,
-adresów i kontaktów, wysy³anie wielu wiadomo¶ci na raz, przegl±danie
-informacji o innych u¿ytkownikach, rejestracjê nowego UINu oraz
-uzupe³nianie swoich informacji, informowanie o nadej¶ciu nowej poczty,
-w³±czanie automatycznego stanu Away po wybranym czasie nieaktywno¶ci
-(na dowolnej konsoli!), posiadanie w³asnej listy osób ignorowanych.
-Mo¿e tak¿e powi±zaæ zdarzenia z d¼wiêkami.
+protoko³ów IM. Aktualnie obs³uguje protoko³y ICQ2000, Yahoo!, MSN, AIM
+TOC oraz IRC. Pozwala na wysy³anie, odbiór oraz przesy³anie dalej
+wiadomo¶ci, adresów i kontaktów, wysy³anie wielu wiadomo¶ci na raz,
+przegl±danie informacji o innych u¿ytkownikach, rejestracjê nowego
+UINu oraz uzupe³nianie swoich informacji, informowanie o nadej¶ciu
+nowej poczty, w³±czanie automatycznego stanu Away po wybranym czasie
+nieaktywno¶ci (na dowolnej konsoli!), posiadanie w³asnej listy osób
+ignorowanych. Mo¿e tak¿e powi±zaæ zdarzenia z d¼wiêkami.
+
+%description -l pt_BR
+O centerICQ é um cliente ICQ baseado em ncurses para o modo texto.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
-CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
-%configure2_13
+rm -f missing
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 blip-0.1\
+ libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1; do
+ cd $i
+ rm -f missing
+ aclocal
+ %{__autoconf}
+ %{__automake}
+ cd ..
+done
+CXXFLAGS="-I%{_includedir}/ncurses %{rpmcflags}"
+%configure \
+ --with-openssl
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-
-mv $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}.1 \
- $RPM_BUILD_ROOT%{_mandir}/man1
-
-gzip -9nf README ChangeLog FAQ TODO
-
%find_lang %{name}
+rm -f contrib/spanish/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL
+%lang(es) %doc contrib/spanish
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
+%{_datadir}/%{name}/*.wav
%{_mandir}/man?/*