%global fontname mph-2b-damase
%global fontconf 62-%{fontname}.conf
Name: %{fontname}-fonts
Version: 002.000
Release: 5%{?dist}
Summary: Free font encoding many non-Latin scripts
License: Public Domain
URL: http://www.wazu.jp/gallery/views/View_MPH2BDamase.html
Source0: http://www.wazu.jp/downloads/damase_v.2.zip
Source1: %{name}-fontconfig.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
Mark Williamson's MPH 2B Damase is a free font encoding many non-Latin scripts.
%prep
%setup -q -c
%build
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%_font_pkg -f %{fontconf} *.ttf
%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 002.000-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002.000-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002.000-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Aug 06 2013 Parag Nemade <pnemade AT redhat DOT com> - 002.000-2
- %%setup is really needed for an archive extracting without folder
* Sat Aug 03 2013 Parag Nemade <pnemade AT redhat DOT com> - 002.000-1
- Initial Fedora release.