af5aae5
%global fontname typemade-josefinsansstd-light
af5aae5
%global fontconf 62-%{fontname}.conf
af5aae5
af5aae5
Name:           %{fontname}-fonts
af5aae5
Version:        1.000 
cad053a
Release:        13%{?dist}
af5aae5
Summary:        A latin font that is geometric, elegant, and kind of vintage
af5aae5
ddceefe
License:        OFL
af5aae5
URL:            http://typemade.mx/
af5aae5
Source0:        http://typemade.mx/fonts/free/typemade-JosefinSansStdLight.zip
af5aae5
Source1:        %{name}-fontconfig.conf
af5aae5
Source2:        josefinsansstd-light-license-confirmation-email.txt
5165bb8
Source3:        %{fontname}.metainfo.xml
af5aae5
af5aae5
BuildArch:      noarch
af5aae5
BuildRequires:  fontpackages-devel
af5aae5
Requires:       fontpackages-filesystem
af5aae5
af5aae5
Obsoletes:     josefinsansstd-light-fonts < 1.000-2
af5aae5
af5aae5
%description
af5aae5
The idea for creating this typeface was to make it geometric, elegant and 
af5aae5
kind of vintage, especially for titling. It is based on Rudolf Koch's 
af5aae5
Kabel (1927), Rudolf Wolf's Memphis (1930),Paul Renner's Futura (1927?).
af5aae5
af5aae5
%prep
af5aae5
%setup -q -c 
af5aae5
af5aae5
%build
af5aae5
cp -p %{SOURCE2} .
af5aae5
af5aae5
%install
af5aae5
install -m 0755 -d %{buildroot}%{_fontdir}
af5aae5
install -m 0644 -p typemade-JosefinSansStdLight/*.otf %{buildroot}%{_fontdir}
af5aae5
af5aae5
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
af5aae5
                   %{buildroot}%{_fontconfig_confdir}
af5aae5
af5aae5
install -m 0644 -p %{SOURCE1} \
af5aae5
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
af5aae5
ln -s %{_fontconfig_templatedir}/%{fontconf} \
af5aae5
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
af5aae5
5165bb8
# Add AppStream metadata
5165bb8
install -Dm 0644 -p %{SOURCE3} \
5165bb8
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
af5aae5
af5aae5
%_font_pkg -f %{fontconf} *.otf
af5aae5
%doc typemade-JosefinSansStdLight/Typemade-EULA.pdf josefinsansstd-light-license-confirmation-email.txt
5165bb8
%{_datadir}/appdata/%{fontname}.metainfo.xml
af5aae5
af5aae5
%changelog
cad053a
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.000-13
cad053a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cad053a
1a9b2aa
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-12
1a9b2aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1a9b2aa
ddceefe
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 1.000-11
ddceefe
- Revert license to OFL only as per FPC ticket 462
ddceefe
5165bb8
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 1.000-10
5165bb8
- Add metainfo file to show this font in gnome-software
5165bb8
97ec252
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-9
97ec252
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
97ec252
16cd13f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-8
16cd13f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
16cd13f
50237ef
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-7
50237ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
50237ef
5a3b9e7
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-6
5a3b9e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5a3b9e7
07acc73
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-5
07acc73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
07acc73
18f13ef
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-4
18f13ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
18f13ef
af5aae5
* Wed Jun 30 2010 Parag Nemade <pnemade AT redhat.com> - 1.000-3
af5aae5
- Include upstream confirmed license copy in %%doc
af5aae5
af5aae5
* Mon Jun 14 2010 Parag Nemade <pnemade AT redhat.com> - 1.000-2
af5aae5
- Renamed to follow fonts package naming guidelines.
af5aae5
af5aae5
* Mon May 24 2010 Parag Nemade <pnemade AT redhat.com> - 1.000-1
af5aae5
- Initial Fedora release.
af5aae5