[CVS] OpenPKG: openpkg-src/fann/ fann.spec

2009-03-27 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   27-Mar-2009 11:23:08
  Branch: HEAD Handle: 2009032710230800

  Modified files:
openpkg-src/fannfann.spec

  Log:
upgrading package: fann 2.0.0 -> 2.1.0

  Summary:
RevisionChanges Path
1.12+17 -8  openpkg-src/fann/fann.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fann/fann.spec
  
  $ cvs diff -u -r1.11 -r1.12 fann.spec
  --- openpkg-src/fann/fann.spec1 Jan 2008 14:53:42 -   1.11
  +++ openpkg-src/fann/fann.spec27 Mar 2009 10:23:08 -  1.12
  @@ -21,6 +21,11 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package version
  +%define   V_opkg   2.1.0
  +%define   V_dist   2.1.0beta
  +%define   V_subdir 2.1.0
  +
   #   package information
   Name: fann
   Summary:  Fast Artificial Neural Network Library
  @@ -31,16 +36,16 @@
   Class:EVAL
   Group:Algorithm
   License:  GPL
  -Version:  2.0.0
  -Release:  20080101
  +Version:  %{V_opkg}
  +Release:  20090327
   
   #   list of sources
  -Source0:  
http://switch.dl.sourceforge.net/sourceforge/fann/fann-%{version}.tar.bz2
  +Source0:  
http://switch.dl.sourceforge.net/sourceforge/fann/fann-%{V_dist}.zip
   
   #   build information
   Prefix:   %{l_prefix}
   BuildRoot:%{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, infozip
   PreReq:   OpenPKG, openpkg >= 20040130
   AutoReq:  no
   AutoReqProv:  no
  @@ -63,15 +68,17 @@
   
   %track
   prog fann = {
  -version   = %{version}
  +version   = %{V_dist}
   url   = http://prdownloads.sourceforge.net/fann/
  -regex = fann-(__VER__)\.tar\.bz2
  +regex = fann-(__VER__)\.zip
   }
   
   %prep
  -%setup -q
  +%setup -q -T -c
  +unzip -q -x %{SOURCE0}
   
   %build
  +cd fann-%{V_subdir}
   CC="%{l_cc}" \
   CFLAGS="%{l_cflags -O}" \
   ./configure \
  @@ -82,7 +89,9 @@
   
   %install
   rm -rf $RPM_BUILD_ROOT
  -%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +( cd fann-%{V_subdir}
  +  %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +) || exit $?
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
   %{l_files_std}
   
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/fann/ fann.spec

2006-01-07 Thread Ralf S. Engelschall
  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:   07-Jan-2006 09:21:33
  Branch: HEAD Handle: 2006010708213300

  Modified files:
openpkg-src/fannfann.spec

  Log:
upgrading package: fann 1.2.0 -> 2.0.0

  Summary:
RevisionChanges Path
1.6 +2  -2  openpkg-src/fann/fann.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/fann/fann.spec
  
  $ cvs diff -u -r1.5 -r1.6 fann.spec
  --- openpkg-src/fann/fann.spec1 Jan 2006 13:13:31 -   1.5
  +++ openpkg-src/fann/fann.spec7 Jan 2006 08:21:33 -   1.6
  @@ -32,8 +32,8 @@
   Class:EVAL
   Group:Algorithm
   License:  GPL
  -Version:  1.2.0
  -Release:  20041010
  +Version:  2.0.0
  +Release:  20060107
   
   #   list of sources
   Source0:  
http://osdn.dl.sourceforge.net/sourceforge/fann/fann-%{version}.tar.bz2
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org