Browse Source

upgrading package: sitecopy 0.11.4 -> 0.12.0

master
Peter Smej 23 years ago committed by Ralf S. Engelschall
parent
commit
f455d28024
  1. 22
      sitecopy/sitecopy.spec

22
sitecopy/sitecopy.spec

@ -32,8 +32,8 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [BASE] Distribution: OpenPKG [BASE]
Group: Web Group: Web
License: GPL License: GPL
Version: 0.11.4 Version: 0.12.0
Release: 20020820 Release: 20030214
# list of sources # list of sources
Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz 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 # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, make, gcc BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, make, gcc, libxml, expat
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20020206
AutoReq: no AutoReq: no
AutoReqProv: no AutoReqProv: no
@ -53,18 +53,30 @@ AutoReqProv: no
%setup -q %setup -q
%build %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}" \ CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \ CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags} -I%{l_prefix}/include/libxml2" \
LDFLAGS="%{l_ldflags} -L%{l_prefix}/lib" \
./configure \ ./configure \
--prefix=%{l_prefix} \ --prefix=%{l_prefix} \
--with-ssl=%{l_prefix} \ --with-ssl=%{l_prefix} \
--with-included-expat \ --with-included-neon \
--with-included-neon \ --with-libxml2 \
--without-gnome \ --without-gnome \
--disable-rsh \ --disable-rsh \
--disable-nls --disable-nls
%{l_shtool} subst -e 's;lib/getopt1;lib/getopt1.o lib/getopt;' Makefile
%{l_make} %{l_mflags -O} %{l_make} %{l_mflags -O}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install \ %{l_make} %{l_mflags} install \

Loading…
Cancel
Save