From f455d28024413713f1455025e0d640f4c974b983 Mon Sep 17 00:00:00 2001 From: Peter Smej Date: Fri, 14 Feb 2003 10:28:02 +0000 Subject: [PATCH] upgrading package: sitecopy 0.11.4 -> 0.12.0 --- sitecopy/sitecopy.spec | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/sitecopy/sitecopy.spec b/sitecopy/sitecopy.spec index 28cf1350a4..e39d63c2eb 100644 --- a/sitecopy/sitecopy.spec +++ b/sitecopy/sitecopy.spec @@ -32,8 +32,8 @@ Packager: The OpenPKG Project Distribution: OpenPKG [BASE] Group: Web License: GPL -Version: 0.11.4 -Release: 20020820 +Version: 0.12.0 +Release: 20030214 # list of sources Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz @@ -41,7 +41,7 @@ Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, make, gcc +BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, make, gcc, libxml, expat PreReq: OpenPKG, openpkg >= 20020206 AutoReq: no AutoReqProv: no @@ -53,18 +53,30 @@ AutoReqProv: no %setup -q %build + # fix broken archive + %{l_shtool} subst \ + -e 's;@PACKAGE@;@PACKAGE_NAME@;' \ + -e 's;@VERSION@;@PACKAGE_VERSION@;' \ + -e 's; FAQ ; ;' \ + Makefile.in + # avoid picking up installed library + %{l_shtool} subst -e 's;-lneon;\$neon_bundled_builddir/libneon.a;' configure CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ + CPPFLAGS="%{l_cppflags} -I%{l_prefix}/include/libxml2" \ + LDFLAGS="%{l_ldflags} -L%{l_prefix}/lib" \ ./configure \ --prefix=%{l_prefix} \ --with-ssl=%{l_prefix} \ - --with-included-expat \ - --with-included-neon \ + --with-included-neon \ + --with-libxml2 \ --without-gnome \ --disable-rsh \ --disable-nls + %{l_shtool} subst -e 's;lib/getopt1;lib/getopt1.o lib/getopt;' Makefile %{l_make} %{l_mflags -O} + %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install \