summaryrefslogtreecommitdiff
path: root/centericq.spec
blob: f73ba05cd83e7887d6398ce488be003b4e7c6591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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.9.6
Release:	1
License:	GPL
Group:		Applications/Communications
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/
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 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
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
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
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
rm -f contrib/spanish/Makefile*

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL
%lang(es) %doc contrib/spanish
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}/*.wav
%{_mandir}/man?/*