%define upstream_name Mingzat Name: fonts-ttf-mingzat Version: 0.100 Release: %mkrel 1 BuildArch: noarch Summary: TTF font for the Lepcha script License: OFL Group: System/Fonts/True type URL: http://www.sil.org/resources/software_fonts/mingzat Source0: %{upstream_name}-%{version}.zip %description A Unicode font, based on Jason Glavy's JG Lepcha custom-encoded font, for the Lepcha script that is used for the Lepcha language of South Asia. %prep %build %install mkdir -p %buildroot/%_datadir/fonts/%{name} unzip -j %{SOURCE0} -d %buildroot/%_datadir/fonts/%{name} dir="%buildroot/%_datadir/fonts/%{name}" %{__rm} "${dir}"/*.woff "${dir}"/*web* %files -n %{name} %_datadir/fonts/%{name}/*.txt %_datadir/fonts/%{name}/%{upstream_name}-R.ttf %changelog * Thu Nov 21 2013 marja <marja> 0.100-1.mga4 + Revision: 552160 - change source to be more usable - hopefully better spec cleaning - cleaned spec - imported package fonts-ttf-mingzat