Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:RebuildFactoryCandidates
mariadb-connector-odbc
mariadb-connector-odbc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mariadb-connector-odbc.spec of Package mariadb-connector-odbc
# # spec file for package mariadb-connector-odbc # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mariadb-connector-odbc Version: 3.1.10 Release: 0 Summary: MariaDB ODBC Connector License: LGPL-2.1-or-later Group: Productivity/Databases/Tools URL: https://downloads.mariadb.org/connector-odbc/ Source: https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz # signature is from copy/pasted stuff found on the download page, not actual file # Source1: mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc Source2: README Source3: sample_odbc.ini Source4: mariadb-connector-odbc-rpmlintrc Patch1: mysql_header_path.patch Patch6: DSN_names.patch Patch8: nosoname.patch Patch9: iconv.patch BuildRequires: cmake > 3.5.0 BuildRequires: gcc-c++ # This is actually MariaDB -devel package(s) BuildRequires: libmariadb-devel >= 3.1.11 BuildRequires: libmariadbprivate >= 3.1.11 BuildRequires: openssl-devel BuildRequires: sed BuildRequires: unixODBC-devel Obsoletes: MyODBC-unixODBC <= 5.1.9 %description This package contains the MariaDB ODBC Connector to be used with unixODBC. %prep %autosetup -p1 -n mariadb-connector-odbc-%{version}-ga-src %build %cmake \ -DWITH_UNIXODBC=1 \ -DWITH_OPENSSL=ON \ -DMARIADB_LINK_DYNAMIC=1 \ -DINSTALL_DOCDIR=%{_docdir}/%{name} \ -DINSTALL_LAYOUT=RPM \ -DINSTALL_LICENSEDIR=%{_licensedir}/%{name} %cmake_build %install %cmake_install install -Dpm 0644 -t %{buildroot}%{_docdir}/%{name} %{SOURCE2} %{SOURCE3} sed -i 's#^Driver.*$#Driver = %{_libdir}/mariadb/libmaodbc.so#' %{buildroot}%{_docdir}/%{name}/sample_odbc.ini %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %dir %{_docdir}/%{name} %dir %{_libdir}/mariadb %license COPYING %{_libdir}/mariadb/libmaodbc.so %{_docdir}/%{name}/README %{_docdir}/%{name}/sample_odbc.ini %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor