Blame SPECS/overpass-fonts.spec

5069a2
%global fontname overpass
5069a2
%global fontconf 60-%{fontname}.conf
5069a2
%global monofontconf 60-%{fontname}-mono.conf
5069a2
5069a2
Name:		%{fontname}-fonts
5069a2
Version:	3.0.2
5069a2
Release:	3%{?dist}
5069a2
Summary:	Typeface based on the U.S. interstate highway road signage type system
5069a2
License:	OFL or LGPLv2+
5069a2
URL:		https://github.com/RedHatBrand/overpass/
5069a2
Source0:	https://github.com/RedHatBrand/Overpass/archive/%{version}.tar.gz
5069a2
Source1:	%{name}-fontconfig.conf
5069a2
Source2:	%{fontname}.metainfo.xml
5069a2
Source3:	%{fontname}-mono-fonts-fontconfig.conf
5069a2
Source4:	%{fontname}-mono.metainfo.xml
5069a2
5069a2
BuildArch:	noarch
5069a2
BuildRequires:	fontpackages-devel
5069a2
Requires:	fontpackages-filesystem
5069a2
5069a2
%description
5069a2
Free and open source typeface based on the U.S. interstate highway road signage
5069a2
type system; it is sans-serif and suitable for both body and titling text.
5069a2
5069a2
%package -n %{fontname}-mono-fonts
5069a2
Summary:	Monospace version of overpass fonts
5069a2
5069a2
%description -n %{fontname}-mono-fonts
5069a2
Free and open source typeface based on the U.S. interstate highway road signage
5069a2
type system. This is the monospace family variant.
5069a2
5069a2
%prep
5069a2
%setup -q -n Overpass-%{version}
5069a2
5069a2
%build
5069a2
# Nothing to do here.
5069a2
5069a2
%install
5069a2
install -m 0755 -d %{buildroot}%{_fontdir}
5069a2
5069a2
install -m 0644 -p desktop-fonts/overpass*/*.otf %{buildroot}%{_fontdir}
5069a2
5069a2
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
5069a2
		%{buildroot}%{_fontconfig_confdir}
5069a2
5069a2
install -m 0644 -p %{SOURCE1} \
5069a2
		%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
5069a2
5069a2
install -m 0644 -p %{SOURCE3} \
5069a2
		%{buildroot}%{_fontconfig_templatedir}/%{monofontconf}
5069a2
5069a2
ln -s %{_fontconfig_templatedir}/%{fontconf} \
5069a2
		%{buildroot}%{_fontconfig_confdir}/%{fontconf}
5069a2
5069a2
ln -s %{_fontconfig_templatedir}/%{monofontconf} \
5069a2
                %{buildroot}%{_fontconfig_confdir}/%{monofontconf}
5069a2
5069a2
# Add AppStream metadata
5069a2
install -Dm 0644 -p %{SOURCE2} \
5069a2
	%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
5069a2
5069a2
install -Dm 0644 -p %{SOURCE4} \
5069a2
        %{buildroot}%{_datadir}/appdata/%{fontname}-mono.metainfo.xml
5069a2
5069a2
%_font_pkg -f %{fontconf} overpass-bold*.otf overpass-extra*.otf overpass-heavy*.otf overpass-italic*.otf overpass-light*.otf overpass-regular*.otf overpass-semibold*.otf overpass-thin*.otf
5069a2
%doc README.md overpass-specimen.pdf
5069a2
%license LICENSE.md
5069a2
%{_datadir}/appdata/%{fontname}.metainfo.xml
5069a2
5069a2
%_font_pkg -n overpass-mono -f %{monofontconf} overpass-mono-*.otf
5069a2
%doc README.md overpass-mono-specimen.pdf
5069a2
%license LICENSE.md
5069a2
%{_datadir}/appdata/%{fontname}-mono.metainfo.xml
5069a2
5069a2
%changelog
5069a2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5069a2
5069a2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5069a2
5069a2
* Thu Jun  1 2017 Tom Callaway <spot@fedoraproject.org> - 3.0.2-1
5069a2
- update to 3.0.2
5069a2
- move to otf files
5069a2
5069a2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5069a2
5069a2
* Wed Nov 16 2016 Tom Callaway <spot@fedoraproject.org> - 3.0-1
5069a2
- update to 3.0
5069a2
- add mono subpackage
5069a2
5069a2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5069a2
5069a2
* Fri Dec 18 2015 Pravin Satute <psatute AT redhat DOT com> - 2.1-1
5069a2
- Upstream new release with ttfautohint
5069a2
- Changed url to https://github.com/RedHatBrand/overpass/, https://overpassfont.org looks dead.
5069a2
5069a2
* Tue Aug 25 2015 Tom Callaway <spot@fedoraproject.org> - 1.01-11
5069a2
- update to new overpass fonts (they now claim to be 1.000, but we're not going backwards)
5069a2
5069a2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-10
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5069a2
5069a2
* Mon Nov 03 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.01-9
5069a2
- Fix metainfo file error (rh#1159700)
5069a2
5069a2
* Sat Oct 18 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.01-8
5069a2
- Add metainfo file to show this font in gnome-software
5069a2
5069a2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-7
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5069a2
5069a2
* Wed Feb 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.01-6
5069a2
- add Light variant font
5069a2
5069a2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-5
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5069a2
5069a2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-4
5069a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5069a2
5069a2
* Tue Dec 11 2012 Tom Callaway <spot@fedoraproject.org>
5069a2
- License is now OFL or ASL 2.0
5069a2
5069a2
* Mon Sep 24 2012 Tom Callaway <spot@fedoraproject.org> - 1.01-2
5069a2
- fix spaces vs tabs issue
5069a2
5069a2
* Mon Aug 27 2012 Tom Callaway <spot@fedoraproject.org> - 1.01-1
5069a2
- initial package