|
|
@@ -32,8 +32,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [REL]
|
|
|
Group: Web
|
|
|
License: GPL
|
|
|
-Version: 0.10.15
|
|
|
-Release: 20011201
|
|
|
+Version: 0.11.2
|
|
|
+Release: 20020106
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.lyra.org/sitecopy/sitecopy-%{version}.tar.gz
|
|
|
@@ -55,20 +55,21 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
- LIBS="-lssl -lcrypto" \
|
|
|
./configure \
|
|
|
- --prefix=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
+ --prefix=%{l_prefix} \
|
|
|
--with-ssl=%{l_prefix} \
|
|
|
+ --with-included-expat \
|
|
|
+ --with-included-neon \
|
|
|
--without-gnome \
|
|
|
- --disable-nls \
|
|
|
- --without-rsh
|
|
|
- %{l_rpmtool} subst 's;^\(LIBS.*=\)\(.*\)\(-lneon\)\(.*\)$;\1\3\2\4;' -- Makefile
|
|
|
+ --disable-rsh \
|
|
|
+ --disable-nls
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
- %{l_make} %{l_mflags} install
|
|
|
+ %{l_make} %{l_mflags} install \
|
|
|
+ prefix=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
+ exec_prefix=$RPM_BUILD_ROOT%{l_prefix}
|
|
|
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
|