Summary: MySQL. Name: mysql Version: 5.7.22 Release: 1%{?dist} License: GPLv2 Group: Applications/Databases Vendor: VMware, Inc. Distribution: Photon Url: http://www.mysql.com Source0: https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-%{version}.tar.gz %define sha1 mysql-boost=f4a65a2789cb2f697178327623407f7314b65faf BuildRequires: cmake BuildRequires: openssl-devel BuildRequires: zlib-devel %description MySQL is a free, widely used SQL engine. It can be used as a fast database as well as a rock-solid DBMS using a modular engine architecture. %package devel Summary: Development headers for mysql Requires: %{name} = %{version}-%{release} %description devel Development headers for developing applications linking to maridb %prep %setup -q %{name}-boost-%{version} %build cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_BOOST=boost/boost_1_59_0 \ -DINSTALL_MANDIR=share/man \ -DINSTALL_DOCDIR=share/doc \ -DINSTALL_DOCREADMEDIR=share/doc \ -DINSTALL_SUPPORTFILESDIR=share/support-files \ -DCMAKE_BUILD_TYPE=RELEASE \ -DWITH_EMBEDDED_SERVER=OFF make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %check make test %files %defattr(-,root,root) %doc COPYING README %{_libdir}/plugin/* %{_libdir}/libmysqlclient.so.* %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man8/* %{_datadir}/support-files/* %exclude /usr/mysql-test %exclude /usr/docs %exclude /usr/share %files devel %{_libdir}/libmysqlclient.so %{_libdir}/*.a %{_includedir}/* %{_libdir}/pkgconfig/mysqlclient.pc %changelog * Thu Apr 26 2018 Xiaolin Li <xiaolinl@vmware.com> 5.7.22-1 - Update to version 5.7.22 to fix CVE-2018-2755 * Tue Apr 17 2018 Xiaolin Li <xiaolinl@vmware.com> 5.7.21-1 - Update to version 5.7.21 to fix CVE-2018-2583, CVE-2018-2665, - CVE-2018-2573, CVE-2018-2612, CVE-2018-2622, CVE-2018-2640 * Thu Jan 25 2018 Divya Thaluru <dthaluru@vmware.com> 5.7.20-2 - Added patch for CVE-2018-2696 * Wed Oct 25 2017 Xiaolin Li <xiaolinl@vmware.com> 5.7.20-1 - Update to version 5.7.20 * Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 5.7.18-3 - Fix typo in description * Fri Jul 14 2017 Xiaolin Li <xiaolinl@vmware.com> 5.7.18-2 - Run make test in the %check section * Tue Jun 13 2017 Xiaolin Li <xiaolinl@vmware.com> 5.7.18-1 - Initial packaging for Photon