|
|
466103 |
#
|
|
|
466103 |
# spec file for package adobe-sourcesans3-fonts
|
|
|
466103 |
#
|
|
|
1d0ba8 |
# Copyright (c) 2023 SUSE LLC
|
|
|
466103 |
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, Netherlands
|
|
|
466103 |
#
|
|
|
466103 |
# All modifications and additions to the file contributed by third parties
|
|
|
466103 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
466103 |
# upon. The license for this file, and modifications and additions to the
|
|
|
466103 |
# file, is the same license as for the pristine package itself (unless the
|
|
|
466103 |
# license for the pristine package is not an Open Source License, in which
|
|
|
466103 |
# case the license is the MIT License). An "Open Source License" is a
|
|
|
466103 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
466103 |
# published by the Open Source Initiative.
|
|
|
466103 |
|
|
|
466103 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
466103 |
#
|
|
|
466103 |
|
|
|
466103 |
|
|
|
466103 |
Name: adobe-sourcesans3-fonts
|
|
|
1d0ba8 |
Version: 3.052
|
|
|
466103 |
Release: 0
|
|
|
466103 |
Summary: A set of OpenType fonts designed for user interfaces
|
|
|
466103 |
License: OFL-1.1
|
|
|
466103 |
Group: System/X11/Fonts
|
|
|
466103 |
URL: https://github.com/adobe-fonts/source-sans/
|
|
|
466103 |
Source0: https://github.com/adobe-fonts/source-sans/archive/refs/tags/%{version}R.zip#/source-sans-%{version}R.zip
|
|
|
466103 |
BuildRequires: fontpackages-devel
|
|
|
466103 |
BuildRequires: unzip
|
|
|
466103 |
BuildArch: noarch
|
|
|
466103 |
%reconfigure_fonts_prereq
|
|
|
466103 |
|
|
|
466103 |
%description
|
|
|
466103 |
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.
|
|
|
466103 |
|
|
|
466103 |
%prep
|
|
|
466103 |
%setup -q -n source-sans-%{version}R
|
|
|
466103 |
# Fix line endings
|
|
|
466103 |
sed -i 's/\r$//g' LICENSE.md
|
|
|
466103 |
# fix spurious-executable-perm
|
|
|
466103 |
chmod -x README.md
|
|
|
466103 |
|
|
|
466103 |
%build
|
|
|
466103 |
|
|
|
466103 |
%install
|
|
|
466103 |
install -d %{buildroot}%{_ttfontsdir}
|
|
|
466103 |
# by default install command uses 755 umask
|
|
|
466103 |
install -m 644 OTF/*.otf %{buildroot}%{_ttfontsdir}
|
|
|
466103 |
|
|
|
466103 |
%reconfigure_fonts_scriptlets
|
|
|
466103 |
|
|
|
466103 |
%files
|
|
|
466103 |
%license LICENSE.md
|
|
|
466103 |
%doc README.md
|
|
|
466103 |
%dir %{_ttfontsdir}
|
|
|
466103 |
%{_ttfontsdir}/*
|
|
|
466103 |
|
|
|
466103 |
%changelog
|