diff --git a/3.0.3.tar.gz b/3.0.3.tar.gz new file mode 100644 index 0000000..84a9c97 Binary files /dev/null and b/3.0.3.tar.gz differ diff --git a/overpass-fonts-fontconfig.conf b/overpass-fonts-fontconfig.conf new file mode 100644 index 0000000..06edfeb --- /dev/null +++ b/overpass-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Overpass + + sans-serif + + + + sans-serif + + Overpass + + + diff --git a/overpass-fonts.spec b/overpass-fonts.spec new file mode 100644 index 0000000..d769ef9 --- /dev/null +++ b/overpass-fonts.spec @@ -0,0 +1,54 @@ +%global fontname overpass + +Name: %{fontname}-fonts +Version: 3.0.3 +Release: 4 +Summary: Overpass fonts +License: OFL or LGPLv2+ +URL: https://github.com/RedHatBrand/overpass/ +Source0: https://github.com/RedHatBrand/Overpass/archive/%{version}.tar.gz +Source1: %{name}-fontconfig.conf +Source2: overpass-mono-fonts-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +This package provides free and open source overpass fonts.It is based on the U.S. +interstate highway road signage type system. + +%package -n overpass-mono-fonts +Summary: Monospace overpass fonts + +%description -n overpass-mono-fonts +This package provides free and open source overpass fonts.It is based on the U.S. +interstate highway road signage type system.It is monospace font. + +%prep +%setup -q -n Overpass-%{version} + +%build + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p desktop-fonts/overpass*/*.otf %{buildroot}%{_fontdir} +install -m 0755 -d %{buildroot}%{_fontconfig_confdir} +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} +install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/60-overpass-mono.conf +install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/60-overpass.conf +ln -s %{_fontconfig_templatedir}/60-overpass-mono.conf %{buildroot}%{_fontconfig_confdir}/60-overpass-mono.conf +ln -s %{_fontconfig_templatedir}/60-overpass.conf %{buildroot}%{_fontconfig_confdir}/60-overpass.conf + + +%_font_pkg -f 60-overpass.conf overpass-bold*.otf overpass-extra*.otf overpass-heavy*.otf overpass-italic*.otf overpass-light*.otf overpass-regular*.otf overpass-semibold*.otf overpass-thin*.otf +%doc overpass-specimen.pdf README.md +%license LICENSE.md + +%_font_pkg -n overpass-mono -f 60-overpass-mono.conf overpass-mono-*.otf +%doc overpass-mono-specimen.pdf README.md +%license LICENSE.md + +%changelog +* Fri Feb 14 2020 lingsheng - 3.0.3-4 +- Package init diff --git a/overpass-mono-fonts-fontconfig.conf b/overpass-mono-fonts-fontconfig.conf new file mode 100644 index 0000000..c973b33 --- /dev/null +++ b/overpass-mono-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Overpass Mono + + monospace + + + + monospace + + Overpass Mono + + +