Projects
home:Eustace:branches:Eulaceura:Factory
mariadb-connector-odbc
_service:obs_scm:mariadb-connector-odbc.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:mariadb-connector-odbc.spec of Package mariadb-connector-odbc
Name: mariadb-connector-odbc Version: 3.2.3 Release: 2 Summary: The MariaDB Native Client library (ODBC driver) License: LGPL-2.1-or-later Source0: https://archive.mariadb.org/connector-odbc-%{version}/%{name}-%{version}-src.tar.gz Url: https://mariadb.com/kb/en/mariadb-connector-odbc/ # Online documentation can be found at: https://mariadb.com/kb/en/library/mariadb-connector-odbc/ BuildRequires: cmake make unixODBC-devel gcc-c++ BuildRequires: mariadb-connector-c-devel >= 3.0.6 BuildRequires: openssl-devel %description MariaDB Connector/ODBC is a standardized, LGPL licensed database driver using the industry standard Open Database Connectivity (ODBC) API. It supports ODBC Standard 3.5, can be used as a drop-in replacement for MySQL Connector/ODBC, and it supports both Unicode and ANSI modes. %prep %autosetup -p0 -n %{name}-%{version}-src %build %cmake . \ -DCMAKE_BUILD_TYPE="%{?with_debug:Debug}%{!?with_debug:RelWithDebInfo}" \ -DMARIADB_LINK_DYNAMIC="%{_libdir}/libmariadb.so" \ -DINSTALL_LAYOUT=RPM \ -DINSTALL_LIBDIR="%{_lib}" \ -DINSTALL_LIB_SUFFIX="%{_lib}" \ -DINSTALL_DOCDIR="%{_defaultdocdir}/%{name}" \ -DINSTALL_LICENSEDIR="%{_defaultlicensedir}/%{name}" \ -DWITH_SSL=OPENSSL %cmake_build rm -fr %{buildroot}%{_datadir}/doc %install %cmake_install %files %license COPYING %doc README %doc %{__cmake_builddir}/packaging/linux/maodbc.ini # This is unixODBC plugin. It resides directly in %%{_libdir} to be consistent with the rest of unixODBC plugins. Since it is plugin, it doesn´t need to be versioned. %{_libdir}/libmaodbc.so %{_libdir}/pkgconfig/*.pc %changelog * Tue Nov 05 2024 Funda Wang <fundawang@yeah.net> - 3.2.3-2 - adopt to new cmake macro * Mon Oct 28 2024 Funda Wang <fundawang@yeah.net> - 3.2.3-1 - update to 3.2.3 * Wed Mar 23 2022 bzhaoop <bzhaojyathousandy@gmail.com> - 3.1.11-2 - Fix for fitting the new version Cmake. * Wed Mar 3 2021 Zheng Zhenyu <zheng.zhenyu@outlook.com> - 3.1.11-1 - Initial Commit
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2