From ac3d304a48a130082f6c4aa4e6958196045b4f2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 3 Mar 2008 20:26:27 +0000 Subject: [PATCH] - pain and hacks, but builds now Changed files: centericq.spec -> 1.54 --- centericq.spec | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/centericq.spec b/centericq.spec index a0df52e..5482506 100644 --- a/centericq.spec +++ b/centericq.spec @@ -6,7 +6,7 @@ Summary(pl.UTF-8): Klient IM (ICQ, Yahoo!, MSN, AIM, IRC) w wersji tekstowej 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 @@ -66,11 +66,21 @@ O centerICQ é um cliente ICQ baseado em ncurses para o modo texto. %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} @@ -78,13 +88,15 @@ 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 \ 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 -- 2.43.0