Summary(pt_BR.UTF-8): O centerICQ é um cliente ICQ baseado em ncurses para o modo texto
Name: centericq
Version: 4.21.0
-Release: 6
+Release: 7
License: GPL
Group: Applications/Communications
Source0: http://konst.org.ua/download/%{name}-%{version}.tar.bz2
%patch3 -p1
mv -f po/{zh_TW.Big5,zh_TW}.po
-%{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
+%{__sed} -i -e 's/zh_TW\.Big5/zh_TW/' configure.in
+
+cp -f /usr/share/automake/config.sub .
+cp -f /usr/share/automake/config.sub kkstrtext-0.1
+cp -f /usr/share/automake/config.sub kksystr-0.1
+cp -f /usr/share/automake/config.sub kkconsui-0.1
+cp -f /usr/share/automake/config.sub libyahoo2-0.1
+cp -f /usr/share/automake/config.sub libicq2000-0.1
+cp -f /usr/share/automake/config.sub firetalk-0.1
+cp -f /usr/share/automake/config.sub libjabber-0.1
+cp -f /usr/share/automake/config.sub connwrap-0.1
+cp -f /usr/share/automake/config.sub libgadu-0.1
+cp -f /usr/share/automake/config.sub libmsn-0.1
%build
-%{__libtoolize}
-%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake}
libicq2000-0.1 firetalk-0.1 libjabber-0.1 connwrap-0.1 \
libgadu-0.1 libmsn-0.1; do
cd $i
- %{__libtoolize}
- %{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake}
cd -
done
+
+%{__sed} -i -e 's,@MKINSTALLDIRS@,/usr/share/automake/mkinstalldirs,' src/hooks/Makefile.in src/Makefile.in misc/Makefile.in share/Makefile.in Makefile.in
+%{__sed} -i -e 's,@MKINSTALLDIRS@,/usr/share/automake/mkinstalldirs,' po/Makefile.in.in intl/Makefile.in
+
CXXFLAGS="-I/usr/include/ncurses %{rpmcflags}"
%configure \
--with-openssl