- pain and hacks, but builds now auto/ac/centericq-4_21_0-7
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Mar 2008 20:26:27 +0000 (20:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    centericq.spec -> 1.54

centericq.spec

index a0df52e..5482506 100644 (file)
@@ -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
This page took 0.02959 seconds and 4 git commands to generate.