Skip to content

Commit

Permalink
Update rubygem-afm to version 0.2.2 / rev 1 via SR 832061
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/832061
by user pevik + dimstar_suse
Dependency for rubygem-asciidoctor-pdf, which I'm planning to submit.
  • Loading branch information
pevik authored and bmwiedemann committed Oct 23, 2020
1 parent 0f824c7 commit e7515a3
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/r/rubygem-afm/afm-0.2.2.gem
74 changes: 74 additions & 0 deletions packages/r/rubygem-afm/gem2rpm.yml
@@ -0,0 +1,74 @@
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
:license: MIT
# ## used by gem2rpm and gem_packages
# :version_suffix: '-x.y'
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :binary_map:
# annotate: annotate-rb
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#
22 changes: 22 additions & 0 deletions packages/r/rubygem-afm/rubygem-afm.changes
@@ -0,0 +1,22 @@
-------------------------------------------------------------------
Mon Aug 31 13:26:34 UTC 2020 - Petr Vorel <pvorel@suse.cz>

- Add gem2rpm.yml

-------------------------------------------------------------------
Mon Oct 13 05:39:41 UTC 2014 - coolo@suse.com

- adapt to new rubygem packaging

-------------------------------------------------------------------
Sun Jul 13 15:04:29 UTC 2014 - coolo@suse.com

- updated to version 0.2.2
* Fixed rdoc tasks, replaced Test::Unit with Minitest (Thanks to @yob, @strzibny for changes)
* Removed jeweler dependency

-------------------------------------------------------------------
Sun Dec 30 07:25:54 UTC 2012 - coolo@suse.com

- initial package (version 0.2.0)

56 changes: 56 additions & 0 deletions packages/r/rubygem-afm/rubygem-afm.spec
@@ -0,0 +1,56 @@
#
# spec file for package rubygem-afm
#
# Copyright (c) 2020 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


#
# 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-afm
Version: 0.2.2
Release: 0
%define mod_name afm
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
Url: http://github.com/halfbyte/afm
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: reading Adobe Font Metrics (afm) files
License: MIT
Group: Development/Languages/Ruby

%description
a simple library to read afm files and use the data conveniently.

%prep

%build

%install
%gem_install \
--doc-files="CHANGELOG.md LICENSE README.rdoc" \
-f

%gem_packages

%changelog

0 comments on commit e7515a3

Please sign in to comment.