Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37688810
en ru br
ALT Linux repos
S:8.0.30-alt1
5.0: 5.1.4r1107-alt1
4.1: 3.51-alt1.1
4.0: 3.51-alt1.1

Group :: System/Libraries
RPM: mysql-connector-odbc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# TODO: there is exist driver registration utility, add some macros?
# odbcinst -i -d -f template
%define _ver 12
Name: mysql-connector-odbc
Version: 3.51
Release: alt1.1

Summary: MySQL Connector/ODBC - ODBC driver for MySQL

License: GPL
Group: System/Libraries
Url: http://www.mysql.com/products/connector/odbc/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://sunsite.icm.edu.pl/mysql/Downloads/MyODBC3/%name-%version.%_ver.tar.bz2

# manually removed: glibc-devel-static gnustep-base libobjc-lf2 libqt4-core sope-appserver xorg-x11-devel-static

# Automatically added by buildreq on Wed Jan 04 2006
BuildRequires: gcc-c++ libMySQL-devel libltdl-devel libstdc++-devel libunixODBC-devel unixODBC zlib-devel
BuildRequires: libssl-devel

%description
MySQL Connector/ODBC (also known as MyODBC) allows you to connect
to a MySQL database server using the ODBC database API on all
Microsoft Windows and most Unix platforms, including through
such applications and programming environments such as
Microsoft Access, Microsoft Excel, and Borland Delphi.

%prep
%setup -q -n %name-%version.%_ver
# Old MySQL in Sisyphus?
#%__subst "s|.*MULTI_RESULTS.*||" driver/connect.c

%build
%__aclocal
%__autoconf
%__automake
%configure --disable-gui
# --with-x=no
%make

%install
%make_install install \
DESTDIR=%buildroot

%files
%doc ChangeLog README
%_bindir/*
%_libdir/*
#%_datadir/%name
#%config(noreplace) %verify(not md5 mtime size) %_sysconfdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin