|
|
313947 |
%global fontname overpass
|
|
|
313947 |
%global archivename %{fontname}-fonts-ttf
|
|
|
313947 |
%global fontconf 60-%{fontname}.conf
|
|
|
313947 |
|
|
|
313947 |
Name: %{fontname}-fonts
|
|
|
313947 |
Version: 2.1
|
|
|
313947 |
Release: 1%{?dist}
|
|
|
313947 |
Summary: Typeface based on the U.S. interstate highway road signage type system
|
|
|
313947 |
License: OFL
|
|
|
313947 |
URL: https://github.com/RedHatBrand/overpass/
|
|
|
313947 |
#Source0: https://github.com/RedHatBrand/overpass/releases/download/2.0/overpass-fonts-ttf-2.zip
|
|
|
313947 |
Source0: https://pravins.fedorapeople.org/overpass-fonts/%{archivename}-%{version}.zip
|
|
|
313947 |
Source1: %{name}-fontconfig.conf
|
|
|
313947 |
Source2: %{fontname}.metainfo.xml
|
|
|
313947 |
|
|
|
313947 |
BuildArch: noarch
|
|
|
313947 |
BuildRequires: fontpackages-devel
|
|
|
313947 |
Requires: fontpackages-filesystem
|
|
|
313947 |
|
|
|
313947 |
%description
|
|
|
313947 |
Free and open source typeface based on the U.S. interstate highway road signage
|
|
|
313947 |
type system; it is sans-serif and suitable for both body and titling text.
|
|
|
313947 |
|
|
|
313947 |
%prep
|
|
|
313947 |
%setup -c -q
|
|
|
313947 |
|
|
|
313947 |
%build
|
|
|
313947 |
# Nothing to do here.
|
|
|
313947 |
|
|
|
313947 |
%install
|
|
|
313947 |
mv %{archivename}-%{version}/Overpass\ Specimen\ 8-20-15.pdf %{archivename}-%{version}/Overpass-Specimen-8-20-15.pdf
|
|
|
313947 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
313947 |
install -m 0644 -p %{archivename}-%{version}/*.ttf %{buildroot}%{_fontdir}
|
|
|
313947 |
|
|
|
313947 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
313947 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
313947 |
|
|
|
313947 |
install -m 0644 -p %{SOURCE1} \
|
|
|
313947 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
313947 |
|
|
|
313947 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
313947 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
313947 |
|
|
|
313947 |
# Add AppStream metadata
|
|
|
313947 |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
313947 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
313947 |
|
|
|
313947 |
%_font_pkg -f %{fontconf} *.ttf
|
|
|
313947 |
%doc %{archivename}-%{version}/README.md %{archivename}-%{version}/Overpass-Specimen-8-20-15.pdf
|
|
|
313947 |
%license %{archivename}-%{version}/LICENSE.md
|
|
|
313947 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
313947 |
|
|
|
313947 |
%changelog
|
|
|
313947 |
* Thu May 05 2016 Pravin Satute <psatute AT redhat DOT com> - 2.1-1
|
|
|
313947 |
- Resolves: rhbz#1284772 - Upstream new release with ttfautohint
|
|
|
313947 |
- Changed url to https://github.com/RedHatBrand/overpass/, https://overpassfont.org looks dead.
|
|
|
313947 |
- Add Light variant font.
|
|
|
313947 |
- Add metainfo file to show this font in gnome-software.
|
|
|
313947 |
|
|
|
313947 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.01-5
|
|
|
313947 |
- Mass rebuild 2013-12-27
|
|
|
313947 |
|
|
|
313947 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-4
|
|
|
313947 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
313947 |
|
|
|
313947 |
* Tue Dec 11 2012 Tom Callaway <spot@fedoraproject.org>
|
|
|
313947 |
- License is now OFL or ASL 2.0
|
|
|
313947 |
|
|
|
313947 |
* Mon Sep 24 2012 Tom Callaway <spot@fedoraproject.org> - 1.01-2
|
|
|
313947 |
- fix spaces vs tabs issue
|
|
|
313947 |
|
|
|
313947 |
* Mon Aug 27 2012 Tom Callaway <spot@fedoraproject.org> - 1.01-1
|
|
|
313947 |
- initial package
|