|
|
|
|
@ -32,8 +32,8 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [BASE] |
|
|
|
|
Group: Web |
|
|
|
|
License: GPL |
|
|
|
|
Version: 0.12.1 |
|
|
|
|
Release: 20030305 |
|
|
|
|
Version: 0.13.0 |
|
|
|
|
Release: 20030510 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz |
|
|
|
|
@ -53,34 +53,23 @@ 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" \ |
|
|
|
|
CPPFLAGS="%{l_cppflags libxml2}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--with-ssl=%{l_prefix} \ |
|
|
|
|
--with-ssl \ |
|
|
|
|
--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 \ |
|
|
|
|
prefix=$RPM_BUILD_ROOT%{l_prefix} \ |
|
|
|
|
exec_prefix=$RPM_BUILD_ROOT%{l_prefix} |
|
|
|
|
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share |
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc |
|
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true |
|
|
|
|
|