File rubygem-ruby-vips.spec of Package ruby3.3-rubygem-ruby-vips

#
# spec file for package rubygem-ruby-vips
#
# Copyright (c) 2023 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

# 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
#

Name:           rubygem-ruby-vips
Version:        2.2.0
Release:        0
%define mod_name ruby-vips
%define mod_full_name %{mod_name}-%{version}
# MANUAL
%if 0%{?suse_version} && 0%{?suse_version} < 1699
%define rb_build_versions     %{my_apps_rb_build_versions}
%define rb_build_ruby_abis    %{my_apps_rb_build_abi}
%endif
%define requires_file() %( readlink -f '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' -f | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
BuildRequires: libvips-devel
# /MANUAL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros >= 5
BuildRequires:  ruby3.3
BuildRequires:  ruby3.3-rubygem-gem2rpm
Url:            http://github.com/libvips/ruby-vips
Source:         https://rubygems.org/gems/%{mod_full_name}.gem
Source1:        gem2rpm.yml
Summary:        A fast image processing library with low memory needs
License:        MIT
Group:          Development/Languages/Ruby

%description
ruby-vips is a binding for the libvips image processing library. It is fast 
and it can process large images without loading the whole image in memory.

%prep

%build

%install
%gem_install \
  --no-document \
  --doc-files="CHANGELOG.md LICENSE.txt README.md" \
  -f

%gem_packages

%changelog
openSUSE Build Service is sponsored by