From 4d90ebb344788a5a6ab4b13fe02b3112861abaa4 Mon Sep 17 00:00:00 2001 From: pawelz Date: Fri, 28 Aug 2009 09:34:00 +0000 Subject: [PATCH] - merged DEVEL Changed files: ekg2-largefile.patch -> 1.2 ekg2.spec -> 1.106 --- ekg2-largefile.patch | 11 +++++++++++ ekg2.spec | 29 ++++++++++++++++------------- 2 files changed, 27 insertions(+), 13 deletions(-) create mode 100644 ekg2-largefile.patch diff --git a/ekg2-largefile.patch b/ekg2-largefile.patch new file mode 100644 index 0000000..f2ad114 --- /dev/null +++ b/ekg2-largefile.patch @@ -0,0 +1,11 @@ +--- a/configure.ac 2009-08-20 09:12:07.000000000 +0200 ++++ b/configure.ac 2009-08-20 09:13:17.000000000 +0200 +@@ -21,6 +21,8 @@ + AC_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + ++AC_SYS_LARGEFILE ++ + dnl It's obsolete in current versions of gettext but it's needed in older + AM_GNU_GETTEXT([external]) + AM_GNU_GETTEXT_VERSION([0.14.3]) diff --git a/ekg2.spec b/ekg2.spec index feaa7d8..9f084ff 100644 --- a/ekg2.spec +++ b/ekg2.spec @@ -1,10 +1,8 @@ # TODO: -# - autotools (call it directly, or fix autogen.sh) # - warning: Installed (but unpackaged) file(s) found: # /usr/lib/perl5/5.10.0/i686-pld-linux-thread-multi/perllocal.pod # /usr/lib/perl5/vendor_perl/5.10.0/i686-pld-linux-thread-multi/auto/Ekg2/.packlist # /usr/lib/perl5/vendor_perl/5.10.0/i686-pld-linux-thread-multi/auto/Ekg2/Irc/.packlist -# - Is missing-xwcslen.patch needed? # # Conditional build: %bcond_without aspell # build without spell-checking support with aspell @@ -24,7 +22,8 @@ # Please, test all modules before updating. If you want just try new version, # use DEVEL branch. -%define _snap 20090622 + +%define _snap 20090828 %if %{without jabber} %undefine with_gnutls @@ -37,17 +36,16 @@ Summary: Multi-protocol instant messaging and chat client Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy Name: ekg2 -Version: 0.1.3 -Release: 0.%{_snap}.2 +Version: 0.3 +Release: 0.%{_snap}.1 Epoch: 2 License: GPL v2+ Group: Applications/Communications Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.bz2 -# Source0-md5: 3ac6f70fdf92daf05d6975763eda460f +# Source0-md5: a2121ea05a1f16ce970c1719cba2dbc0 Patch0: %{name}-perl-install.patch -# Is it really needed? -# Patch1: %{name}-missing-xwcslen.patch -Patch2: %{name}-gtk.patch +Patch1: %{name}-gtk.patch +Patch2: %{name}-largefile.patch URL: http://ekg2.org/ %{?with_aspell:BuildRequires: aspell-devel} BuildRequires: autoconf @@ -55,7 +53,7 @@ BuildRequires: automake %if %{with feed} || %{with jabber} BuildRequires: expat-devel %endif -BuildRequires: gettext-devel +BuildRequires: gettext-devel >= 0.17-8 %{?with_gadugadu:BuildRequires: giflib-devel} %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} %{?with_gpg:BuildRequires: gpgme-devel} @@ -336,14 +334,19 @@ Wtyczka xosd dla ekg2. %prep %setup -q -n %{name}-%{_snap} %patch0 -p1 -#%%patch1 -p1 +%patch1 -p1 %patch2 -p1 -sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac sed -i -e '\#/opt/sqlite/lib#s#"$# /usr/lib64"#' m4/sqlite.m4 %build -NOCONFIGURE=1 ./autogen.sh || true +%{__gettextize} +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoheader} +%{__automake} +%{__autoconf} + # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) CFLAGS="%{rpmcflags} -D_GNU_SOURCE" %configure \ -- 2.44.0