# # spec file for package cadsondemak-fonts.spec # # Copyright (c) 2019 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/ # %define ttf_fontdir %{_datadir}/fonts/truetype %define fontname cadsondemak Name: cadsondemak-fonts Version: 1.0 Release: 0 License: OFL-1.1 Summary: Cadson Demak fonts Url: https://github.com/cadsondemak/cadsondemak.github.io/ Group: System/X11/Fonts Source: %{fontname}.github.io-master.zip Source1: OFL.txt Source2: AUTHORS.txt %reconfigure_fonts_prereq BuildRequires: fontpackages-devel BuildRequires: unzip BuildRequires: %suseconfig_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Cadson Demak is the first Thai communication design firm to develop type design solutions. Founded in 2002, the studio came together through a shared love of typography and design, a wish to expand and modernize the font industry as a whole, and the desire to make everyday use of type more accessible. They expanded from a modest design firm with dozens of their own typefaces into a boutique type foundry under the name Cadson Demak in 2008. %prep %setup -cT %{uncompress:%{S:0}} %build cp -a %{SOURCE1} . cp -a %{SOURCE2} . %install mkdir -p %{buildroot}%{_ttfontsdir} install -m 0644 */fonts/*.ttf %{buildroot}%{_ttfontsdir}/ %reconfigure_fonts_scriptlets %files %doc OFL.txt AUTHORS.txt %{_ttfontsdir} %changelog