File typodermic-canada1500-fonts.spec of Package typodermic-canada1500-fonts
#
# spec file for package typodermic-canada1500-fonts
#
# Copyright (c) 2021 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/
#
Name: typodermic-canada1500-fonts
Version: 3.501
Release: 0
Summary: A display typeface by Ray Larabie
License: CC0-1.0
Group: System/X11/Fonts
URL: http://typodermicfonts.com/canada1500/
Source0: https://typodermicfonts.com/wp-content/uploads/2017/06/canada1500.zip
Source1: https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
A display typeface with four weights, italics & space symbols which
includes lining and old-style numerals, tabular & proportional. Greek,
Cyrillic, Canadian Syllabics & most Latin based languages supported.
%prep
%autosetup -c
%build
%install
install -dm0755 %{buildroot}%{_ttfontsdir}
pushd 'installable fonts/ot/'
install -m0644 canada1500-bd-it.otf %{buildroot}%{_ttfontsdir}/Canada1500Rg-BoldItalic.otf
install -m0644 canada1500-bd.otf %{buildroot}%{_ttfontsdir}/Canada1500Rg-Bold.otf
install -m0644 canada1500-lt-it.otf %{buildroot}%{_ttfontsdir}/Canada1500Lt-Italic.otf
install -m0644 canada1500-lt.otf %{buildroot}%{_ttfontsdir}/Canada1500Lt-Regular.otf
install -m0644 canada1500-rg-it.otf %{buildroot}%{_ttfontsdir}/Canada1500Rg-Italic.otf
install -m0644 canada1500-rg.otf %{buildroot}%{_ttfontsdir}/Canada1500Rg-Regular.otf
popd
install -dm0755 %{buildroot}%{_defaultdocdir}/%{name}
install -m0644 'canada 1500 documentation.pdf' %{buildroot}%{_defaultdocdir}/%{name}/canada1500-documentation.pdf
install -m0644 'Canada 1500 shortcodes.pdf' %{buildroot}%{_defaultdocdir}/%{name}/canada1500-shortcodes.pdf
install -m0644 canada1500set.png %{buildroot}%{_defaultdocdir}/%{name}
install -dm0755 %{buildroot}%{_licensedir}/%{name}
install -m0644 license.pdf %{buildroot}%{_licensedir}/%{name}
install -m0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/CC0-1.0.txt
%reconfigure_fonts_scriptlets
%files
%dir %{_ttfontsdir}/
%{_ttfontsdir}/*.otf
%license %{_licensedir}/%{name}
%doc %{_defaultdocdir}/%{name}
%changelog