1
0

Accepting request 1089347 from home:urbic:fonts

Submitting a new package

OBS-URL: https://build.opensuse.org/request/show/1089347
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/redhat-overpass-fonts?expand=0&rev=1
This commit is contained in:
Jan Engelhardt 2023-05-28 08:08:51 +00:00 committed by Git OBS Bridge
commit ebc04e7b7d
8 changed files with 247 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

10
AUTHORS.txt Normal file
View File

@ -0,0 +1,10 @@
# This is the official list of authors for copyright purposes.
# This file is distinct from the CONTRIBUTORS file.
# See the latter for an explanation.
#
# Names should be added to this file as:
# Name or Organization <email address>
# The email address is not required for organizations.
Red Hat, Inc.
Delve Fonts LLC

14
CONTRIBUTORS.txt Normal file
View File

@ -0,0 +1,14 @@
# This is the official list of people who can contribute
# (and typically have contributed) code to this repository.
# The AUTHORS file lists the copyright holders; this file
# lists people. For example, company employees are listed here
# but not in AUTHORS, because their company holds the copyright.
#
# Names should be added to this file like so:
# Name <email address>
Red Hat, Inc.
Delve Withrington
Dave Bailey
Thomas Jockin

93
OFL.txt Normal file
View File

@ -0,0 +1,93 @@
Copyright 2021 The Overpass Project Authors (https://github.com/RedHatOfficial/Overpass)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

3
overpass-3.0.5.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87d738d647546f95996f8a2ad9e2d4b19f93718e7a1695a3831d2d900d132562
size 5431410

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat May 27 20:27:29 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaginh with v3.0.5

View File

@ -0,0 +1,99 @@
#
# spec file for package redhat-overpass-fonts
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%global desc Overpass an open source web font family. Sponsored by Google Fonts and Red\
Hat, Inspired by Highway Gothic, Designed by Delve Fonts.
Name: redhat-overpass-fonts
Version: 3.0.5
Release: 0
Summary: Overpass typeface
License: OFL-1.1
Group: System/X11/Fonts
URL: https://overpassfont.org/
Source0: https://github.com/RedHatOfficial/Overpass/releases/download/v%{version}/overpass-%{version}.zip
Source1: https://github.com/RedHatOfficial/Overpass/raw/master/OFL.txt
Source2: https://github.com/RedHatOfficial/Overpass/raw/master/AUTHORS.txt
Source3: https://github.com/RedHatOfficial/Overpass/raw/master/CONTRIBUTORS.txt
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
%{desc}
This package contains the opentype Overpass typeface.
%package -n redhat-overpass-mono-fonts
Summary: Overpass Mono typeface
%description -n redhat-overpass-mono-fonts
%{desc}
This package contains the opentype Overpass Mono typeface.
%prep
%autosetup -n Overpass-%{version}
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
chmod 0644 overpass*-specimen.pdf README.md
%build
%install
install -dm0755 %{buildroot}%{_ttfontsdir}
pushd desktop-fonts/overpass
install -m0644 overpass-bold-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-BoldItalic.otf
install -m0644 overpass-bold.otf %{buildroot}%{_ttfontsdir}/Overpass-Bold.otf
install -m0644 overpass-extrabold-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-ExtraboldItalic.otf
install -m0644 overpass-extrabold.otf %{buildroot}%{_ttfontsdir}/Overpass-Extrabold.otf
install -m0644 overpass-extralight-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-ExtralightItalic.otf
install -m0644 overpass-extralight.otf %{buildroot}%{_ttfontsdir}/Overpass-Extralight.otf
install -m0644 overpass-heavy-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-HeavyItalic.otf
install -m0644 overpass-heavy.otf %{buildroot}%{_ttfontsdir}/Overpass-Heavy.otf
install -m0644 overpass-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-Italic.otf
install -m0644 overpass-light-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-LightItalic.otf
install -m0644 overpass-light.otf %{buildroot}%{_ttfontsdir}/Overpass-Light.otf
install -m0644 overpass-regular.otf %{buildroot}%{_ttfontsdir}/Overpass-Regular.otf
install -m0644 overpass-semibold-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-SemiboldItalic.otf
install -m0644 overpass-semibold.otf %{buildroot}%{_ttfontsdir}/Overpass-Semibold.otf
install -m0644 overpass-thin-italic.otf %{buildroot}%{_ttfontsdir}/Overpass-ThinItalic.otf
install -m0644 overpass-thin.otf %{buildroot}%{_ttfontsdir}/Overpass-Thin.otf
popd
pushd desktop-fonts/overpass-mono
install -m0644 overpass-mono-bold.otf %{buildroot}%{_ttfontsdir}/OverpassMono-Bold.otf
install -m0644 overpass-mono-light.otf %{buildroot}%{_ttfontsdir}/OverpassMono-Light.otf
install -m0644 overpass-mono-regular.otf %{buildroot}%{_ttfontsdir}/OverpassMono-Regular.otf
install -m0644 overpass-mono-semibold.otf %{buildroot}%{_ttfontsdir}/OverpassMono-Semibold.otf
popd
%reconfigure_fonts_scriptlets
%reconfigure_fonts_scriptlets -n redhat-overpass-mono-fonts
%files
%doc README.md {AUTHORS,CONTRIBUTORS}.txt overpass-specimen.pdf
%license OFL.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/Overpass-*.otf
%files -n redhat-overpass-mono-fonts
%doc README.md {AUTHORS,CONTRIBUTORS}.txt overpass-mono-specimen.pdf
%license OFL.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/OverpassMono-*.otf
%changelog