]>
Commit | Line | Data |
---|---|---|
d0a18be7 ER |
1 | # TODO |
2 | # - WARNING: No GPG support in Jabber, since GPGME library not found or its setup not ok | |
032005a3 | 3 | Summary: Console ncurses based IM (ICQ, Yahoo!, MSN, AIM, IRC) client |
c0bcfb7d ER |
4 | Summary(es.UTF-8): CenterICQ es un cliente ICQ basado en ncurses para el modo texto |
5 | Summary(pl.UTF-8): Klient IM (ICQ, Yahoo!, MSN, AIM, IRC) w wersji tekstowej | |
6 | Summary(pt_BR.UTF-8): O centerICQ é um cliente ICQ baseado em ncurses para o modo texto | |
cd822e0c | 7 | Name: centericq |
92ddd980 | 8 | Version: 4.21.0 |
79a3b00f | 9 | Release: 2 |
cd822e0c AM |
10 | License: GPL |
11 | Group: Applications/Communications | |
b730abf0 | 12 | Source0: http://konst.org.ua/download/%{name}-%{version}.tar.bz2 |
92ddd980 | 13 | # Source0-md5: 82e426f2b4f6f2ab799c28807f36ade6 |
2516bdc9 | 14 | Patch0: %{name}-no_libgnutls.patch |
79a3b00f ER |
15 | Patch1: %{name}-icq-short-read.patch |
16 | Patch2: %{name}-memory-handling.patch | |
d0a18be7 | 17 | Patch3: %{name}-amd64jabber.patch |
1018a64c | 18 | URL: http://thekonst.net/centericq/ |
cd822e0c AM |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
6903194a | 21 | BuildRequires: curl-devel |
636607d4 | 22 | BuildRequires: gettext-devel |
fea07d9a | 23 | BuildRequires: gnutls-devel >= 1.2.5 |
a0a5817f | 24 | BuildRequires: libsigc++1-devel >= 1.0.0 |
f0429807 | 25 | BuildRequires: libstdc++-devel |
f7e28f7a | 26 | BuildRequires: libtool |
27 | BuildRequires: ncurses-devel | |
d8abd777 | 28 | BuildRequires: openssl-devel >= 0.9.7d |
f2310039 | 29 | BuildRequires: perl-base |
f7e28f7a | 30 | Obsoletes: centerICQ |
f2310039 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cd822e0c AM |
32 | |
33 | %description | |
032005a3 ŁJM |
34 | centericq is a text mode menu- and window-driven IM interface. |
35 | Currently ICQ2000, Yahoo!, MSN, AIM TOC and IRC protocols are | |
36 | supported. It allows you to send, receive, and forward messages, URLs | |
37 | and, SMSes, mass message send, search for users (including extended | |
38 | "whitepages search"), view users' details, maintain your contact list | |
39 | directly from the program (including non-icq contacts), view the | |
40 | messages history, register a new UIN and update your details, be | |
41 | informed on receiving email messages, automatically set away after the | |
42 | defined period of inactivity (on any console), and have your own | |
43 | ignore, visible and invisible lists. It can also associate events with | |
44 | sounds, has support for Hebrew and Arabic languages and allows to | |
45 | arrange contacts into groups. | |
cd822e0c | 46 | |
d367cfca JR |
47 | %description -l pl.UTF-8 |
48 | CenterICQ to tekstowy, sterowany za pomocą menu i okien interfejs do | |
49 | protokołów IM. Aktualnie obsługuje protokoły ICQ2000, Yahoo!, MSN, AIM | |
50 | TOC oraz IRC. Pozwala na wysyłanie, odbiór oraz przesyłanie dalej | |
51 | wiadomości, adresów i kontaktów, wysyłanie wielu wiadomości naraz, | |
52 | przeglądanie informacji o innych użytkownikach, rejestrację nowego | |
53 | UINu oraz uzupełnianie swoich informacji, informowanie o nadejściu | |
54 | nowej poczty, włączanie automatycznego stanu Away po wybranym czasie | |
55 | nieaktywności (na dowolnej konsoli!), posiadanie własnej listy osób | |
56 | ignorowanych. Może także powiązać zdarzenia z dźwiękami. | |
cd822e0c | 57 | |
d367cfca JR |
58 | %description -l pt_BR.UTF-8 |
59 | O centerICQ é um cliente ICQ baseado em ncurses para o modo texto. | |
3ff8d06e | 60 | |
cd822e0c AM |
61 | %prep |
62 | %setup -q | |
2516bdc9 | 63 | %patch0 -p1 |
79a3b00f ER |
64 | %patch1 -p1 |
65 | %patch2 -p1 | |
d0a18be7 | 66 | %patch3 -p1 |
cd822e0c | 67 | |
b2ff2199 JB |
68 | mv -f po/{zh_TW.Big5,zh_TW}.po |
69 | %{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in | |
70 | ||
cd822e0c | 71 | %build |
3ff8d06e | 72 | %{__libtoolize} |
f1a27bcc | 73 | %{__gettextize} |
32984609 | 74 | %{__aclocal} |
20594d0f | 75 | %{__autoconf} |
76 | %{__automake} | |
0a33e1ff | 77 | for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 \ |
b730abf0 | 78 | libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1 \ |
1018a64c | 79 | libgadu-0.1 libmsn-0.1; do |
f7e28f7a | 80 | cd $i |
d0a18be7 ER |
81 | %{__libtoolize} |
82 | %{__gettextize} | |
636607d4 | 83 | %{__aclocal} |
3ff8d06e | 84 | %{__autoconf} |
85 | %{__automake} | |
d0a18be7 | 86 | cd - |
f7e28f7a | 87 | done |
636607d4 | 88 | CXXFLAGS="-I/usr/include/ncurses %{rpmcflags}" |
57255b20 JK |
89 | %configure \ |
90 | --with-openssl | |
cd822e0c AM |
91 | %{__make} |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
636607d4 | 95 | |
cd822e0c | 96 | %{__make} install \ |
9f40e84b | 97 | DESTDIR=$RPM_BUILD_ROOT |
636607d4 | 98 | |
636607d4 JB |
99 | %find_lang %{name} |
100 | ||
cd822e0c AM |
101 | %clean |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %files -f %{name}.lang | |
105 | %defattr(644,root,root,755) | |
b9abb598 | 106 | %doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL |
cd822e0c | 107 | %attr(755,root,root) %{_bindir}/* |
636607d4 | 108 | %dir %{_datadir}/%{name} |
032005a3 | 109 | %{_datadir}/%{name}/*.wav |
cd822e0c | 110 | %{_mandir}/man?/* |