OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [email protected] Module: openpkg-src Date: 20-Dec-2008 22:39:39 Branch: HEAD Handle: 2008122021393900 Modified files: openpkg-src/anubis anubis.spec Log: modifying package: anubis-4.1.1 20081220 again Summary: Revision Changes Path 1.2 +8 -2 openpkg-src/anubis/anubis.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/anubis/anubis.spec ============================================================================ $ cvs diff -u -r1.1 -r1.2 anubis.spec --- openpkg-src/anubis/anubis.spec 20 Dec 2008 21:33:11 -0000 1.1 +++ openpkg-src/anubis/anubis.spec 20 Dec 2008 21:39:39 -0000 1.2 @@ -42,8 +42,8 @@ # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20060823 -PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: OpenPKG, openpkg >= 20060823, gcc, make, flex, bison +PreReq: OpenPKG, openpkg >= 20060823, perl BuildPreReq: pcre, gnutls, libgsasl PreReq: pcre, gnutls, libgsasl AutoReq: no @@ -70,6 +70,9 @@ %setup -q %build + %{l_shtool} subst \ + -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \ + contrib/msg2smtp.pl CC="%{l_cc}" \ CXX="%{l_cxx}" \ CFLAGS="%{l_cflags -O}" \ @@ -80,6 +83,7 @@ --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ + --with-pcre \ --with-gsasl \ --with-gnutls \ --with-libgnutls-prefix=%{l_prefix} \ @@ -91,6 +95,8 @@ %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + mv $RPM_BUILD_ROOT%{l_prefix}/bin/msg2smtp.pl \ + $RPM_BUILD_ROOT%{l_prefix}/bin/msg2smtp strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rmdir $RPM_BUILD_ROOT%{l_prefix}/share/anubis >/dev/null 2>&1 || true rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/emacs >/dev/null 2>&1 || true @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List [email protected]
