Group :: Sistema/Bibliotecas
RPM: mysql-connector-odbc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# TODO: there is exist driver registration utility, add some macros?
# odbcinst -i -d -f template
Name: mysql-connector-odbc
Version: 5.1.4r1107
Release: alt1
Summary: MySQL Connector/ODBC - ODBC driver for MySQL
# exceptions allow library to be linked with most open source SW,
# not only GPL code.
License: GPLv2 with exceptions
Group: System/Libraries
#Url: http://www.mysql.com/products/connector/odbc/
#Url: http://www.mysql.com/downloads/api-myodbc.html
#Url: http://dev.mysql.com/downloads/connector/odbc/5.1.html
Packager: Vitaly Lipatov <lav at altlinux.ru>
#Source: http://dev.mysql.com/downloads/connector/odbc/mysql-connector-odbc-%version.tar.bz2
Source: ftp://mysql.mix.su/Downloads/Connector-ODBC/5.1/mysql-connector-odbc-%version.tar.bz2
# Automatically added by buildreq on Sat Jul 26 2008
BuildRequires: gcc-c++ glibc-devel libMySQL-devel libXt-devel libltdl-devel libunixODBC-devel unixODBC zlib-devel
BuildPreReq: 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
%build
%configure --disable-gui
%make_build
%install
%makeinstall_std
# remove installed doc
rm -rf %buildroot%_datadir/%name/
%files
%doc ChangeLog README INSTALL LICENSE.exceptions LICENSE.gpl README.debug
%_bindir/*
%_libdir/*
#%_datadir/%name
#%config(noreplace) %verify(not md5 mtime size) %_sysconfdir/*
%changelog
…
Todas as alterações você pod ver aqui
# odbcinst -i -d -f template
Name: mysql-connector-odbc
Version: 5.1.4r1107
Release: alt1
Summary: MySQL Connector/ODBC - ODBC driver for MySQL
# exceptions allow library to be linked with most open source SW,
# not only GPL code.
License: GPLv2 with exceptions
Group: System/Libraries
#Url: http://www.mysql.com/products/connector/odbc/
#Url: http://www.mysql.com/downloads/api-myodbc.html
#Url: http://dev.mysql.com/downloads/connector/odbc/5.1.html
Packager: Vitaly Lipatov <lav at altlinux.ru>
#Source: http://dev.mysql.com/downloads/connector/odbc/mysql-connector-odbc-%version.tar.bz2
Source: ftp://mysql.mix.su/Downloads/Connector-ODBC/5.1/mysql-connector-odbc-%version.tar.bz2
# Automatically added by buildreq on Sat Jul 26 2008
BuildRequires: gcc-c++ glibc-devel libMySQL-devel libXt-devel libltdl-devel libunixODBC-devel unixODBC zlib-devel
BuildPreReq: 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
%build
%configure --disable-gui
%make_build
%install
%makeinstall_std
# remove installed doc
rm -rf %buildroot%_datadir/%name/
%files
%doc ChangeLog README INSTALL LICENSE.exceptions LICENSE.gpl README.debug
%_bindir/*
%_libdir/*
#%_datadir/%name
#%config(noreplace) %verify(not md5 mtime size) %_sysconfdir/*
%changelog
…
Todas as alterações você pod ver aqui