Author: oden Date: Mon Feb 5 17:48:38 2007 New Revision: 116281 Added: packages/cooker/sfftobmp/current/SOURCES/sfftobmp-3.0-errno.diff packages/cooker/sfftobmp/current/SOURCES/sfftobmp_3_1_src.tar.bz2 (contents, props changed) Removed: packages/cooker/sfftobmp/current/SOURCES/sfftobmp-3.0-errno.diff.bz2 packages/cooker/sfftobmp/current/SOURCES/sfftobmp_3_0.tar.bz2 Modified: packages/cooker/sfftobmp/current/SPECS/sfftobmp.spec
Log: - 3.1 - bunzip patches Added: packages/cooker/sfftobmp/current/SOURCES/sfftobmp-3.0-errno.diff ============================================================================== --- (empty file) +++ packages/cooker/sfftobmp/current/SOURCES/sfftobmp-3.0-errno.diff Mon Feb 5 17:48:38 2007 @@ -0,0 +1,10 @@ +--- src/common.cpp 2004-03-18 09:21:00.000000000 +0100 ++++ src/common.cpp.oden 2004-12-01 06:06:14.543985133 +0100 +@@ -50,6 +50,7 @@ + + #include <cassert> + #include <iostream> ++#include <errno.h> + + #ifdef WIN32 + #include <io.h> // _mktemp Added: packages/cooker/sfftobmp/current/SOURCES/sfftobmp_3_1_src.tar.bz2 ============================================================================== Binary file. No diff available. Modified: packages/cooker/sfftobmp/current/SPECS/sfftobmp.spec ============================================================================== --- packages/cooker/sfftobmp/current/SPECS/sfftobmp.spec (original) +++ packages/cooker/sfftobmp/current/SPECS/sfftobmp.spec Mon Feb 5 17:48:38 2007 @@ -1,12 +1,13 @@ Summary: Tool to transform SFF files to BMP Name: sfftobmp -Version: 3.0 -Release: %mkrel 2 +Version: 3.1 +Release: %mkrel 1 License: MIT Group: Communications URL: http://sfftools.sourceforge.net/ -Source0: %{name}_3_0.tar.bz2 -Patch0: sfftobmp-3.0-errno.diff.bz2 +Source0: sfftobmp_3_1_src.tar.bz2 +Patch0: sfftobmp-3.0-errno.diff +BuildRequires: libtool BuildRequires: autoconf2.5 BuildRequires: automake1.7 BuildRequires: boost-devel @@ -23,9 +24,13 @@ %prep -%setup -q -n %{name}_3_0 +%setup -q -n %{name}%{version} %patch0 -p0 +for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do + if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null +done + %build export WANT_AUTOCONF_2_5=1 rm -f configure
