X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=centericq.spec;h=9e157fc3378d9e6804630be767dda721daddd7ce;hb=refs%2Ftags%2Fcentericq-4_9_10-3;hp=1d37f8da44c8fbadb62ef57bddbd944e6b363be3;hpb=3ff8d06eab8ccb3f295ab259c76424ed2e843d5d;p=packages%2Fcentericq.git diff --git a/centericq.spec b/centericq.spec index 1d37f8d..9e157fc 100644 --- a/centericq.spec +++ b/centericq.spec @@ -3,17 +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 -Version: 4.7.2 -Release: 1 +Version: 4.9.10 +Release: 3 License: GPL Group: Applications/Communications Source0: http://konst.org.ua/download/%{name}-%{version}.tar.gz +# Source0-md5: b461d4e39fa304d177f2990f27573ee8 +Patch0: %{name}-no_libgnutls.patch +Patch1: %{name}-rabackport.patch URL: http://konst.org.ua/centericq/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: libstdc++-devel +BuildRequires: gettext-devel BuildRequires: libsigc++-devel >= 1.0.0 +BuildRequires: libstdc++-devel BuildRequires: libtool +BuildRequires: openssl-devel >= 0.9.6c BuildRequires: ncurses-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: centerICQ @@ -51,24 +56,29 @@ O centerICQ %prep %setup -q +%patch0 -p1 +%patch1 + +mv -f po/{zh_TW.Big5,zh_TW}.po +%{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in %build -rm -f missing %{__libtoolize} -aclocal +%{__gettextize} +%{__aclocal} %{__autoconf} %{__automake} -for i in kkstrtext-0.1 kksystr-0.1 kkconsui-0.1 libyahoo-0.1 libmsn-0.1\ - libicq2000-0.6 firetalk-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; do cd $i - rm -f missing - aclocal + %{__aclocal} %{__autoconf} %{__automake} cd .. done -CXXFLAGS="-I%{_includedir}/ncurses %{rpmcflags}" -%configure +CXXFLAGS="-I/usr/include/ncurses %{rpmcflags}" +%configure \ + --with-openssl %{__make} %install @@ -84,7 +94,8 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README ChangeLog FAQ TODO +%doc AUTHORS README ChangeLog FAQ TODO THANKS NEWS INSTALL %attr(755,root,root) %{_bindir}/* +%dir %{_datadir}/%{name} %{_datadir}/%{name}/*.wav %{_mandir}/man?/*