Summary: Free Ethiopic TrueType fonts Name: fonts-ttf-ethiopic Version: 1.0 Release: %mkrel 3 License: GPL Group: System/Fonts/True type # GFZemen unicode font from # ftp://ftp.ethiopic.org/pub/fonts/TrueType/gfzemenu.ttf # the site seems gone now Source0: fonts-ttf-ethiopic.tar.bz2 BuildArch: noarch BuildRoot: %_tmppath/%name-%version-%release-root BuildRequires: freetype-tools Requires(post): chkfontpath Requires(postun): chkfontpath Requires(post): fontconfig Requires(postun): fontconfig %description This Package provides Free Ethiopic TrueType fonts. %prep %setup -q -n %{name} %build %install rm -fr %buildroot mkdir -p %buildroot/%_datadir/fonts/TTF/ethiopic/ cp *.ttf %buildroot/%_datadir/fonts/TTF/ethiopic/ ( cd %buildroot/%_datadir/fonts/TTF/ethiopic/ %_sbindir/ttmkfdir -u -m 1 > fonts.scale cp fonts.scale fonts.dir ) %post [ -x %_sbindir/chkfontpath ] && %_sbindir/chkfontpath -q -a %_datadir/fonts/TTF/ethiopic touch %{_datadir}/fonts/TTF [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %postun # 0 means a real uninstall if [ "$1" = "0" ]; then [ -x %_sbindir/chkfontpath ] && \ %_sbindir/chkfontpath -q -r %_datadir/fonts/TTF/ethiopic [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache fi %clean rm -fr %buildroot %files %defattr(0644,root,root,0755) #%doc *txt # %dir %_datadir/fonts/TTF/ %dir %_datadir/fonts/TTF/ethiopic/ %_datadir/fonts/TTF/ethiopic/* %changelog * Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-08-04 23:11:03 (52887) - Normalize fonts with new paths * Fri Aug 04 2006 Helio Chissini de Castro <helio@mandriva.com> + 2006-08-04 21:02:14 (52801) - import fonts-ttf-ethiopic-1.0-2mdk * Wed Feb 08 2006 Frederic Crozat <fcrozat@mandriva.com> 1.0-2mdk - Don't package fontconfig cache file - Fix prereq - touch parent directory to workaround rpm changing directory last modification time (breaking fontconfig cache consistency detection) - Remove dependency on freetype, this is old stuff * Wed Jul 23 2003 Pablo Saratxaga <pablo@mandrakesoft.com> 1.0-1mdk - first release