]> git.pld-linux.org Git - packages/centericq.git/blobdiff - centericq.spec
- spanish desc/summary fixes; many just thrown
[packages/centericq.git] / centericq.spec
index 5e49809efa2ca76588559510e4c601a7435277d8..34d06bad6a20000caf7278f9f19d1c77202c047e 100644 (file)
@@ -3,21 +3,22 @@ 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.0
-Release:       0.1
+Version:       4.12.0
+Release:       1
 License:       GPL
 Group:         Applications/Communications
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://konst.org.ua/download/%{name}-%{version}.tar.gz
-Patch0:                %{name}-%{version}-acfix.patch
-Patch1:                %{name}-%{version}-am.patch
-Patch2:                %{name}-%{version}-po.patch
-URL:           http://konst.org.ua/centericq/
+Source0:       http://konst.org.ua/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 124a8fba87c1459f3b7639c7b160402a
+Patch0:                %{name}-no_libgnutls.patch
+URL:           http://thekonst.net/centericq/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gnutls-devel
 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
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     centerICQ
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     centerICQ
@@ -36,9 +37,6 @@ 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
 %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
@@ -55,35 +53,38 @@ O centerICQ 
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch -p1
-%patch1 -p1
-%patch2 -p1
+%patch0 -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}
 %{__libtoolize}
+%{__gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo2-0.1 blip-0.1\
-       libicq2000-0.4.0 firetalk-0.1 libjabber-0.1 connwrap-0.1; do
+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
        cd $i
-       rm -f missing
-       aclocal
+       %{__aclocal}
        %{__autoconf}
        %{__automake}
        cd ..
 done
        %{__autoconf}
        %{__automake}
        cd ..
 done
-CXXFLAGS="-I%{_includedir}/ncurses %{rpmcflags}"
-%configure
+CXXFLAGS="-I/usr/include/ncurses %{rpmcflags}"
+%configure \
+       --with-openssl
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT 
+       DESTDIR=$RPM_BUILD_ROOT
+
 %find_lang %{name}
 %find_lang %{name}
-rm -f contrib/spanish/Makefile*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,7 +92,7 @@ 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}/*
 %attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*.wav
 %{_mandir}/man?/*
 %{_datadir}/%{name}/*.wav
 %{_mandir}/man?/*
This page took 0.114971 seconds and 4 git commands to generate.