Summary: Gurmukhi fonts Name: fonts-ttf-gurmukhi Version: 1.0 Release: 1mdk URL: http://guca.sourceforge.net/typography/fonts/ Source0: http://prdownloads.sourceforge.net/guca/lohit.punjabi.1.0.zip #Source1: http://prdownloads.sourceforge.net/guca/anmolunibani.1.40.zip #Source2: http://prdownloads.sourceforge.net/guca/saab.0.91.zip License: GPL Group: System/Fonts/True type BuildArch: noarch BuildRoot: %_tmppath/%name-%version-%release-root BuildRequires: freetype-tools %description Gurmukhi script TTF Fonts and OTF fonts. %prep #%setup -q -T -c -a0 -a1 -a2 %setup -q -T -c -a0 %build %install rm -fr %buildroot install -d %buildroot/%_datadir/fonts/ttf/gurmukhi/ install -m 0644 *.ttf %buildroot/%_datadir/fonts/ttf/gurmukhi ( cd %buildroot/%_datadir/fonts/ttf/gurmukhi %_bindir/fc-cache . || touch fonts.cache-1 ) %post %{_bindir}/fc-cache %{_datadir}/fonts/ %postun # 0 means a real uninstall if [ "$1" = "0" ]; then %{_bindir}/fc-cache %{_datadir}/fonts/ fi %clean rm -fr %buildroot %files %defattr(0644,root,root,0755) #%doc COPYRIGHT* # %dir %_datadir/fonts/ %dir %_datadir/fonts/ttf/ %dir %_datadir/fonts/ttf/gurmukhi/ %_datadir/fonts/ttf/gurmukhi/*.ttf %_datadir/fonts/ttf/gurmukhi/fonts.cache-1 %changelog * Fri Apr 01 2005 Pablo Saratxaga <pablo@mandrakelinux.com> 1.0-1mdk - first release