2010-07-28 12:26:58 +00:00
|
|
|
#
|
2012-01-05 01:22:33 +00:00
|
|
|
# spec file for package rubygem-mysql2
|
2010-07-28 12:26:58 +00:00
|
|
|
#
|
2024-06-06 10:32:09 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-07-28 12:26:58 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-11-28 07:24:59 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-07-28 12:26:58 +00:00
|
|
|
#
|
|
|
|
|
|
2013-07-20 10:55:49 +00:00
|
|
|
|
2015-02-09 06:47:12 +00:00
|
|
|
#
|
|
|
|
|
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
|
|
|
|
# All sections marked as MANUAL, license headers, summaries and descriptions
|
|
|
|
|
# can be maintained in that file. Please consult this file before editing any
|
|
|
|
|
# of those fields
|
|
|
|
|
#
|
|
|
|
|
|
2010-07-28 12:26:58 +00:00
|
|
|
Name: rubygem-mysql2
|
2024-06-24 18:55:23 +00:00
|
|
|
Version: 0.5.6
|
2010-07-28 12:26:58 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define mod_name mysql2
|
2012-01-05 01:22:33 +00:00
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
2013-07-20 10:55:49 +00:00
|
|
|
# MANUAL
|
|
|
|
|
BuildRequires: mysql-devel
|
2014-10-22 07:54:06 +00:00
|
|
|
# /MANUAL
|
2023-11-15 20:07:24 +00:00
|
|
|
BuildRequires: ruby-macros >= 5
|
2018-07-31 14:02:49 +00:00
|
|
|
BuildRequires: %{rubydevel >= 2.0.0}
|
2014-10-22 07:54:06 +00:00
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
|
|
|
|
BuildRequires: %{rubygem rdoc > 3.10}
|
2022-10-12 16:25:23 +00:00
|
|
|
URL: https://github.com/brianmario/mysql2
|
2017-07-03 15:30:10 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2015-04-04 20:42:48 +00:00
|
|
|
Source1: rubygem-mysql2-rpmlintrc
|
2022-10-12 16:25:23 +00:00
|
|
|
Source2: series
|
|
|
|
|
Source3: gem2rpm.yml
|
|
|
|
|
# MANUAL
|
|
|
|
|
Patch0: workaround_mysql_config_libs.patch
|
|
|
|
|
# /MANUAL
|
2013-07-20 10:55:49 +00:00
|
|
|
Summary: A simple, fast Mysql library for Ruby, binding to libmysql
|
|
|
|
|
License: MIT
|
2012-03-23 11:26:48 +00:00
|
|
|
|
2010-07-28 12:26:58 +00:00
|
|
|
%description
|
2014-10-22 07:54:06 +00:00
|
|
|
A simple, fast Mysql library for Ruby, binding to libmysql.
|
2012-01-05 01:22:33 +00:00
|
|
|
|
2010-07-28 12:26:58 +00:00
|
|
|
%prep
|
2022-10-12 16:25:23 +00:00
|
|
|
%gem_unpack
|
2024-06-06 10:32:09 +00:00
|
|
|
%patch -P 0 -p1
|
2022-10-12 16:25:23 +00:00
|
|
|
find -type f -print0 | xargs -0 touch -r %{S:0}
|
|
|
|
|
%gem_build
|
2013-07-20 10:55:49 +00:00
|
|
|
|
2010-07-28 12:26:58 +00:00
|
|
|
%build
|
2013-07-20 10:55:49 +00:00
|
|
|
|
2010-07-28 12:26:58 +00:00
|
|
|
%install
|
2014-10-22 07:54:06 +00:00
|
|
|
%gem_install \
|
2015-09-09 05:20:43 +00:00
|
|
|
--doc-files="CHANGELOG.md LICENSE README.md" \
|
2014-10-22 07:54:06 +00:00
|
|
|
-f
|
2010-07-28 12:26:58 +00:00
|
|
|
%gem_cleanup
|
2012-01-05 01:22:33 +00:00
|
|
|
|
2014-10-22 07:54:06 +00:00
|
|
|
%gem_packages
|
2010-07-28 12:26:58 +00:00
|
|
|
|
|
|
|
|
%changelog
|