document: modulemd
version: 2
data:
  name: mysql
  stream: "8.0"
  summary: MySQL Module
  description: >-
    MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server
    implementation consisting of a server daemon (mysqld) and many different client
    programs and libraries. The base package contains the standard MySQL client programs
    and generic MySQL files
  license:
    module:
    - MIT
    content:
    - BSD or LGPLv2+ or GPL+
    - GPLv2 with exceptions and LGPLv2 and BSD
    - mecab-ipadic
  dependencies:
  - buildrequires:
      platform: [an8.4.0]
    requires:
      platform: [an8]
  references:
    community: https://dev.mysql.com/
    documentation: https://dev.mysql.com/doc/refman/8.0/en/
    tracker: http://bugzilla.redhat.com/
  profiles:
    client:
      rpms:
      - mysql
    server:
      rpms:
      - mysql-server
  api:
    rpms:
    - mysql
    - mysql-server
  filter:
    rpms:
    - mecab-devel
    - rapidjson
    - rapidjson-devel
    - rapidjson-doc
  buildopts:
    rpms:
      macros: >
        %runselftest 1

        %check_testsuite 1
  components:
    rpms:
      mecab:
        rationale: A dependency of mysql
        ref: a8-mysql-stream-8.0
        buildorder: 8
        arches: [aarch64, i686, ppc64le, s390x, x86_64]
      mecab-ipadic:
        rationale: A dictionary for mecab
        ref: a8-mysql-stream-8.0
        buildorder: 9
        arches: [aarch64, i686, ppc64le, s390x, x86_64]
      mysql:
        rationale: MySQL server package
        ref: a8-mysql-stream-8.0
        buildorder: 10
        arches: [aarch64, i686, ppc64le, s390x, x86_64]
      rapidjson:
        rationale: A build-time only dependency of mysql
        ref: a8-mysql-stream-8.0
        buildorder: 7
        arches: [aarch64, i686, ppc64le, s390x, x86_64]