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:   05-Apr-2008 17:03:33
  Branch: HEAD                             Handle: 2008040516033100

  Modified files:
    openpkg-src/wordpress   wordpress.spec

  Log:
    try to add an anti-spam plugin

  Summary:
    Revision    Changes     Path
    1.62        +12 -1      openpkg-src/wordpress/wordpress.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/wordpress/wordpress.spec
  ============================================================================
  $ cvs diff -u -r1.61 -r1.62 wordpress.spec
  --- openpkg-src/wordpress/wordpress.spec      5 Apr 2008 14:58:28 -0000       
1.61
  +++ openpkg-src/wordpress/wordpress.spec      5 Apr 2008 15:03:31 -0000       
1.62
  @@ -32,6 +32,7 @@
   %define       V_plugin_ban           120
   %define       V_plugin_ela           0.10
   %define       V_plugin_stats         1.2
  +%define       V_plugin_peterantispam 3.0.3
   
   #   package information
   Name:         wordpress
  @@ -61,6 +62,7 @@
   Source16:     
http://lesterchan.net/others/downloads/wp-ban%{V_plugin_ban}.zip
   Source17:     
http://www.sonsofskadi.net/wp-content/upload/af-extended-live-archive-%{V_plugin_ela}.zip
   Source18:     
http://downloads.wordpress.org/plugin/stats.%{V_plugin_stats}.zip
  +Source19:     
http://www.theblog.ca/wp-content/uploads/2008/04/peterantispam%{V_plugin_peterantispam}.zip
   Patch0:       wordpress.patch
   Patch1:       wordpress.patch.ela
   
  @@ -141,6 +143,11 @@
           url       = http://wordpress.org/extend/plugins/stats/
           regex     = stats\.(__VER__)\.zip
       }
  +    prog wordpress:plugin-peterantispam = {
  +        version   = %{V_plugin_peterantispam}
  +        url       = http://www.theblog.ca/anti-spam
  +        regex     = peterantispam(__VER__)\.zip
  +    }
   
   %prep
       %setup -q -c
  @@ -153,6 +160,7 @@
       %{l_prefix}/bin/unzip -q -o -x %{SOURCE16}
       %{l_prefix}/bin/unzip -q -o -x %{SOURCE17}
       %{l_prefix}/bin/unzip -q -o -x %{SOURCE18}
  +    %{l_prefix}/bin/unzip -q -o -x %{SOURCE19}
       %patch -p0
       %patch -p0 -d af-extended-live-archive -P 1
       rm -f af-extended-live-archive/*.orig
  @@ -194,7 +202,8 @@
           
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/relativedate \
           $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/ban \
           
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/af-extended-live-archive
 \
  -        $RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/stats
  +        
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/stats \
  +        
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/custom-anti-spam
       cp -rp dbmanager/* \
           
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/dbmanager/
       cp -rp pagenavi/pagenavi* \
  @@ -213,6 +222,8 @@
           
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/af-extended-live-archive/
       cp -rp stats/* \
           
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/stats/
  +    cp -rp custom-anti-spam/* \
  +        
$RPM_BUILD_ROOT%{l_prefix}/libexec/wordpress/wp-content/plugins/custom-anti-spam/
   
       #   create additional uploads directory
       %{l_shtool} mkdir -f -p -m 755 \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to