Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37861675
en ru br
ALT Linux repos
5.0: 4.22.7-alt1
4.0: 4.22.6-alt0.M40.1

Group :: Networking/Instant messaging
RPM: centerim

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: centerim
Version: 4.22.6
Release: alt0.M40.1

Summary: Console ncurses based IM client. ICQ, Yahoo!, AIM, IRC, MSN, Gadu-Gadu and Jabber protocols are supported. Internal RSS reader is also provided
Summary(ru_RU.KOI8-R): Клиентская программа для IM (быстрого общения). Поддержка протоколов:  ICQ, Yahoo!, AIM, IRC, MSN, Gadu-Gadu и Jabber. Клиент для LiveJournal и RSS.
License: GPL
Group: Networking/Instant messaging
Source0: %name-%version.tar.gz
Source1: %name.menu
Patch0:         centericq-libyahoo.patch
Patch1:         centericq-kkconsui.patch
Patch2:         centericq-kkstrtext.patch
Patch3:         centericq-src.patch

# the next two fix CVE-2005-3694

# http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-im/centericq/files/
# see redhat bugzilla #174611
Patch4:         centericq-4.21.0-icq-short-read.diff.bz2
Patch5:         centericq-4.21.0-memory-handling.diff.bz2
# and see http://www.gentoo.org/security/en/glsa/glsa-200512-11.xml
# and redhat bugzilla #176451
Patch6:         centericq-4.21.0-kkstrtext.patch
# Fix libmsn
Patch7:       http://centericq.de/archive/contrib/patches/centericq-4.21.0.msn.patch

#new for alt3:


# Fix ljhook

Patch8:       http://www.crystalowl.net/patches/centericq-4.20.0-ljtags.patch
Patch9:       centericq-ljtypo.patch

## feature enh

# improve utf8 handling
Patch10:       centericq-ncursesw.patch
# provided by Andy Shevchenko... will ask before quit
Patch11:       centericq-quitask.patch

# CVE-2007-0160

# http://mailman.linuxpl.org/pipermail/cicq/2007-January/004866.html
# see redhat bugzilla #227791
Patch12:         centericq-ijhook.patch
Patch13:         centericq-libjab-segv.patch


# fix connect to Jabber on 64-bit

Patch14: centericq-4.21.0-amd64jabber.patch



Url: http://www.centerim.org

Packager: Ilya Mashkin <oddity at altlinux dot ru>

BuildRequires: gcc-c++ libcurl-devel libgpgme-devel libidn-devel libjpeg-devel libncurses-devel libssl-devel libstdc++-devel libtinfo-devel zlib-devel
BuildRequires: ncurses libncursesw-devel libncurses libncursesw

# Automatically added by buildreq on Tue Sep 09 2008

BuildRequires: glibc-devel-static  libgpg-error-devel

%description
Centerim is a fork of the centericq instant messaging client
centerim is a text mode menu- and window-driven IM interface. Currently
ICQ2000, Yahoo!, AIM TOC, IRC, MSN, Gadu-Gadu and Jabber 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. Internal RSS reader is provided.

%description -l ru_RU.KOI8-R
Centerim - это форк клиента centericq
Centerim - клиентская программа для IM (быстрого общения) под Linux. ICQ2000, Yahoo, AIM, IRC, MSN, Gadu-Gadu и Jabber протоколы поддерживаются на сегодняшний день.
Плюс к этому:
- Поддержка IRC.
- Встроенный клиент LiveJournal.
- Встроенный интерфейс для чтения RSS
- Компилируется и работает под Linux, FreeBSD, NetBSD, OpenBSD, Sun Solaris, Windows и MacOS X/Darwin
- Скрипт для миграции списка контактов (включая историю) из licq, kxicq2, gnomeicu и micq
- Ведение журнала работы программы
- Обширная и довольно интересная документация
- Дружественное и активное сообщество пользователей

%prep
%setup -q
#patch0
#patch1
#patch2
#patch3
#patch4 -p1
#patch5 -p1
#patch6 -p1
#patch7 -p1
#patch8 -p1
#patch9 -p1
#patch10 -p1
#patch11 -p1
#patch12 -p1
#patch13 -p1
#patch14 -p1


%build

%set_automake_version 1.9
%set_autoconf_version 2.5

CFLAGS="$RPM_OPT_FLAGS" \
./configure --with-ssl


#configure --with-ssl --with-included-gettext

%make_build

%install
%make_install

install -D -pm 755 src/%name %buildroot%_bindir/%name
install -D -pm 755 misc/cimconv %buildroot%_bindir/cimconv
#install -D -pm 755 misc/cicqsync %buildroot%_bindir/cicqsync

install -D -pm 644 %name.1 %buildroot%_man1dir/%name.1
install -D -pm 644 misc/cimconv.1 %buildroot%_man1dir/cimconv.1
#install -D -pm 644 misc/cicqsync.1 %buildroot%_man1dir/cicqsync.1

%__mkdir_p %buildroot%_datadir/%name
install -D -pm 644 share/*.wav %buildroot%_datadir/%name/
install -D -pm 644 po/ru.gmo %buildroot%_datadir/locale/ru/LC_MESSAGES/%name.mo

install -D -pm 644 po/uk.gmo %buildroot%_datadir/locale/uk/LC_MESSAGES/%name.mo
install -D -pm 644 po/fr.gmo %buildroot%_datadir/locale/fr/LC_MESSAGES/%name.mo
install -D -pm 644 po/de.gmo %buildroot%_datadir/locale/de/LC_MESSAGES/%name.mo
install -D -pm 644 po/bg.gmo %buildroot%_datadir/locale/bg/LC_MESSAGES/%name.mo
install -D -pm 644 po/pl.gmo %buildroot%_datadir/locale/pl/LC_MESSAGES/%name.mo

mkdir -p %buildroot/%_menudir
cat << EOF > %buildroot/%_menudir/%name
?package(centerim):command="/usr/bin/centerim" needs="text" \
section="Networking/Instant messaging" title="Centerim" icon=centerim.xpm \
longtitle="Centerim -  A text mode IM client"
EOF

%find_lang %name


%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%doc README COPYING INSTALL TODO ChangeLog FAQ AUTHORS THANKS ABOUT-NLS
%_bindir/*
%_man1dir/*
%_menudir/*
#_datadir/%name/*.wav
%_datadir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin