|
Bernhard M. Wiedemann |
181b75 |
#
|
|
Bernhard M. Wiedemann |
181b75 |
# spec file for package adobe-sourcesanspro-fonts
|
|
Bernhard M. Wiedemann |
181b75 |
#
|
|
|
b89361 |
# Copyright (c) 2021 SUSE LLC
|
|
Bernhard M. Wiedemann |
181b75 |
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, Netherlands
|
|
Bernhard M. Wiedemann |
181b75 |
#
|
|
Bernhard M. Wiedemann |
181b75 |
# All modifications and additions to the file contributed by third parties
|
|
Bernhard M. Wiedemann |
181b75 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
Bernhard M. Wiedemann |
181b75 |
# upon. The license for this file, and modifications and additions to the
|
|
Bernhard M. Wiedemann |
181b75 |
# file, is the same license as for the pristine package itself (unless the
|
|
Bernhard M. Wiedemann |
181b75 |
# license for the pristine package is not an Open Source License, in which
|
|
Bernhard M. Wiedemann |
181b75 |
# case the license is the MIT License). An "Open Source License" is a
|
|
Bernhard M. Wiedemann |
181b75 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
Bernhard M. Wiedemann |
181b75 |
# published by the Open Source Initiative.
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
Bernhard M. Wiedemann |
181b75 |
#
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%define it_version 1.095
|
|
Bernhard M. Wiedemann |
181b75 |
%define ro_version 2.045
|
|
Bernhard M. Wiedemann |
181b75 |
%define _name SourceSansPro
|
|
Bernhard M. Wiedemann |
181b75 |
Name: adobe-sourcesanspro-fonts
|
|
Bernhard M. Wiedemann |
181b75 |
Version: %{ro_version}
|
|
Bernhard M. Wiedemann |
181b75 |
Release: 0
|
|
Bernhard M. Wiedemann |
181b75 |
Summary: A set of OpenType fonts designed for user interfaces
|
|
Bernhard M. Wiedemann |
181b75 |
License: OFL-1.1
|
|
Bernhard M. Wiedemann |
181b75 |
Group: System/X11/Fonts
|
|
Bernhard M. Wiedemann |
181b75 |
URL: https://github.com/adobe/source-sans-pro/
|
|
Bernhard M. Wiedemann |
181b75 |
Source: https://github.com/adobe-fonts/source-sans-pro/releases/download/%{version}R-ro%2F%{it_version}R-it/source-sans-pro-%{ro_version}R-ro-%{it_version}R-it.zip
|
|
Bernhard M. Wiedemann |
181b75 |
BuildRequires: fontpackages-devel
|
|
Bernhard M. Wiedemann |
181b75 |
BuildRequires: unzip
|
|
Bernhard M. Wiedemann |
181b75 |
BuildArch: noarch
|
|
Bernhard M. Wiedemann |
181b75 |
%reconfigure_fonts_prereq
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%description
|
|
Bernhard M. Wiedemann |
181b75 |
Source Sans is a set of OpenType fonts that have been designed to work well in user interface (UI) environments, as well as in text setting for screen and print.
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%prep
|
|
Bernhard M. Wiedemann |
181b75 |
%setup -q -n source-sans-pro-%{ro_version}R-ro-%{it_version}R-it
|
|
Bernhard M. Wiedemann |
181b75 |
# Fix line endings
|
|
Bernhard M. Wiedemann |
181b75 |
sed -i 's/\r$//g' LICENSE.txt
|
|
Bernhard M. Wiedemann |
181b75 |
# fix spurious-executable-perm
|
|
Bernhard M. Wiedemann |
181b75 |
chmod -x README.md
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%build
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%install
|
|
Bernhard M. Wiedemann |
181b75 |
install -d %{buildroot}%{_ttfontsdir}
|
|
Bernhard M. Wiedemann |
181b75 |
# by default install command uses 755 umask
|
|
Bernhard M. Wiedemann |
181b75 |
install -m 644 OTF/*.otf %{buildroot}%{_ttfontsdir}
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%reconfigure_fonts_scriptlets
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%files
|
|
Bernhard M. Wiedemann |
181b75 |
%license LICENSE.txt
|
|
Bernhard M. Wiedemann |
181b75 |
%doc *.md
|
|
Bernhard M. Wiedemann |
181b75 |
%dir %{_ttfontsdir}
|
|
Bernhard M. Wiedemann |
181b75 |
%{_ttfontsdir}/*
|
|
Bernhard M. Wiedemann |
181b75 |
|
|
Bernhard M. Wiedemann |
181b75 |
%changelog
|