ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/unixodbc.spec
Revision: 1.3
Committed: Wed Apr 18 23:46:02 2007 UTC (18 years ago) by ratnik
Branch: MAIN
CVS Tags: pe20070428a-ports, pe20070423b-ports, pe20070423a-ports
Changes since 1.2: +2 -0 lines
Log Message:
Changes for building  externals in 64/32 mode: added gcc-wrapper .

File Contents

# Content
1 ### RPM external unixodbc 2.2.11
2 Requires: gcc-wrapper
3 %define downloadn unixODBC
4 Source: http://www.unixodbc.org/%downloadn-%v.tar.gz
5 %prep
6 %setup -n %{downloadn}-%{v}
7 %build
8 ## IMPORT gcc-wrapper
9 ./configure --prefix=%{i} --disable-gui
10 make %makeprocesses
11 mkdir -p %i/etc
12 echo "
13 [MyODBC]
14 Description = MySQL ODBC 3.51 driver for Linux
15 Driver = libmyodbc3.so
16 FileUsage = 1
17
18 [MySQL]
19 Description = MySQL ODBC 3.51 driver for Linux
20 Driver = libmyodbc3.so
21 FileUsage = 1
22
23 [ODBC]
24 Trace = Yes
25 TraceFile = /tmp/pool_sql.log
26 ForceTrace = Yes
27 Pooling = No
28 " > %i/etc/odbcinst.ini