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