]> git.pld-linux.org Git - packages/centericq.git/blobdiff - centericq.spec
- add patches from gentoo to resolve CAN-2005-1852, CVE-2005-3694, CVE-2005-3863
[packages/centericq.git] / centericq.spec
index 462d63518c4236817569211503e60befa4c78a86..4fccf5ff40beba8e971622da866ea8655666b989 100644 (file)
@@ -3,22 +3,26 @@ 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
 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.9
-Release:       1
+Version:       4.21.0
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://konst.org.ua/download/%{name}-%{version}.tar.gz
-# Source0-md5: 15c2221b054d53110e056b9c402643d9
+Source0:       http://konst.org.ua/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 82e426f2b4f6f2ab799c28807f36ade6
 Patch0:                %{name}-no_libgnutls.patch
 Patch0:                %{name}-no_libgnutls.patch
-URL:           http://konst.org.ua/centericq/
+Patch1:                %{name}-icq-short-read.patch
+Patch2:                %{name}-memory-handling.patch
+URL:           http://thekonst.net/centericq/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: curl-devel
 BuildRequires: gettext-devel
 BuildRequires: gettext-devel
+BuildRequires: gnutls-devel >= 1.2.5
 BuildRequires: libsigc++1-devel >= 1.0.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: libsigc++1-devel >= 1.0.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: openssl-devel >= 0.9.7c
 BuildRequires: ncurses-devel
 BuildRequires: ncurses-devel
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     centerICQ
 
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     centerICQ
 
@@ -36,14 +40,11 @@ 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.
 
 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
 %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,
+wiadomo¶ci, adresów i kontaktów, wysy³anie wielu wiadomo¶ci naraz,
 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
 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
@@ -56,18 +57,22 @@ O centerICQ 
 %prep
 %setup -q
 %patch0 -p1
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+mv -f po/{zh_TW.Big5,zh_TW}.po
+%{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
 
 %build
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 \
 %{__libtoolize}
 %{__gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 \
-       libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1; do
+       libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1 \
+       libgadu-0.1 libmsn-0.1; do
        cd $i
        cd $i
-       rm -f missing
        %{__aclocal}
        %{__autoconf}
        %{__automake}
        %{__aclocal}
        %{__autoconf}
        %{__automake}
@@ -84,8 +89,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f contrib/spanish/Makefile*
-
 %find_lang %{name}
 
 %clean
 %find_lang %{name}
 
 %clean
@@ -94,7 +97,6 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL
 %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}/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*.wav
 %attr(755,root,root) %{_bindir}/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*.wav
This page took 0.115064 seconds and 4 git commands to generate.