%global commit e94fc01eed059b3396129a48f756a46f7737fe2f %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commitdate 20181205 Version: 1 Release: %{autorelease} URL: https://github.com/googlefonts/zcool-xiaowei %global foundry zcool %global fontlicense OFL-1.1 %global fontlicenses OFL.txt %global fontfamily ZCOOL XiaoWei %global fontsummary Mandarin and english sans display with fonts %global fontdescription %{expand:ZCOOL XiaoWei was contributed to the ZCOOL font project by designer Li Dawei and the team at Zuozi, who created the typeface as a gift for David’s daughter, “Little Fern”, on her third birthday. It is intended to help fill the dearth of logo-ready Chinese display fonts. The brush strokes are agile and recognizable, with spacing optimized to display at small or large sizes.} %global fonts fonts/*.ttf %global fontconfs %{SOURCE10} Source0: https://github.com/googlefonts/zcool-xiaowei/archive/%{commit}/zcool-xiaowei-%{shortcommit}.tar.gz Source10: 60-%{fontpkgname}.xml %fontpkg %prep %autosetup -n zcool-xiaowei-%{commit} %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog %autochangelog