]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - WARNING: No GPG support in Jabber, since GPGME library not found or its setup not ok | |
3 | Summary: Console ncurses based IM (ICQ, Yahoo!, MSN, AIM, IRC) client | |
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 | |
7 | Name: centericq | |
8 | Version: 4.21.0 | |
9 | Release: 8 | |
10 | License: GPL | |
11 | Group: Applications/Communications | |
12 | Source0: http://konst.org.ua/download/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 82e426f2b4f6f2ab799c28807f36ade6 | |
14 | Patch0: %{name}-no_libgnutls.patch | |
15 | Patch1: %{name}-icq-short-read.patch | |
16 | Patch2: %{name}-memory-handling.patch | |
17 | Patch3: %{name}-amd64jabber.patch | |
18 | URL: http://thekonst.net/centericq/ | |
19 | BuildRequires: autoconf | |
20 | BuildRequires: automake | |
21 | BuildRequires: curl-devel | |
22 | BuildRequires: gettext-tools | |
23 | BuildRequires: gnutls-devel >= 1.2.5 | |
24 | BuildRequires: libsigc++1-devel >= 1.0.0 | |
25 | BuildRequires: libstdc++-devel | |
26 | BuildRequires: libtool | |
27 | BuildRequires: ncurses-devel | |
28 | BuildRequires: openssl-devel >= 0.9.7d | |
29 | BuildRequires: perl-base | |
30 | Obsoletes: centerICQ | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
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. | |
46 | ||
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. | |
57 | ||
58 | %description -l pt_BR.UTF-8 | |
59 | O centerICQ é um cliente ICQ baseado em ncurses para o modo texto. | |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | %patch0 -p1 | |
64 | %patch1 -p1 | |
65 | %patch2 -p1 | |
66 | %patch3 -p1 | |
67 | ||
68 | mv -f po/{zh_TW.Big5,zh_TW}.po | |
69 | %{__sed} -i -e 's/zh_TW\.Big5/zh_TW/' configure.in | |
70 | ||
71 | %build | |
72 | install /usr/share/gettext/config.rpath . | |
73 | %{__aclocal} | |
74 | %{__autoconf} | |
75 | %{__automake} | |
76 | for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 \ | |
77 | libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1 \ | |
78 | libgadu-0.1 libmsn-0.1; do | |
79 | cd $i | |
80 | install /usr/share/gettext/config.rpath . | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__automake} | |
84 | cd - | |
85 | done | |
86 | ||
87 | %{__sed} -i -e 's,@MKINSTALLDIRS@,/usr/share/automake/mkinstalldirs,' src/hooks/Makefile.in src/Makefile.in misc/Makefile.in share/Makefile.in Makefile.in | |
88 | %{__sed} -i -e 's,@MKINSTALLDIRS@,/usr/share/automake/mkinstalldirs,' po/Makefile.in.in intl/Makefile.in | |
89 | ||
90 | CXXFLAGS="-I/usr/include/ncurses %{rpmcflags}" | |
91 | %configure \ | |
92 | --with-openssl | |
93 | %{__make} | |
94 | ||
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %{__make} install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
100 | ||
101 | %find_lang %{name} | |
102 | ||
103 | %clean | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %files -f %{name}.lang | |
107 | %defattr(644,root,root,755) | |
108 | %doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL | |
109 | %attr(755,root,root) %{_bindir}/* | |
110 | %dir %{_datadir}/%{name} | |
111 | %{_datadir}/%{name}/*.wav | |
112 | %{_mandir}/man?/* |