freefonts-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %define fontdir %{_datadir}/fonts/%{name}/
  2. Summary: freefonts - collection of free ATM fonts
  3. Name: freefonts
  4. Version: 0.10
  5. Release: 5%{?_dist_release}
  6. Source: ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz
  7. License: distributable
  8. Group: User Interface/X
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. Requires: chkfontpath
  12. %description
  13. This is a collection of 79 freely available fonts. All of them were found in
  14. the CICA archives for Windows.
  15. Some of them are missing special characters, some only contain capitals,
  16. some contain special alphabets. Be careful and check!
  17. The collection was motivated by the lack of good fonts for Linux especially X11
  18. and ghostscript. Scaled bitmaps look really ugly!
  19. #%description -l ja
  20. %prep
  21. %setup -n freefont
  22. rm -rf ${RPM_BUILD_ROOT}
  23. %build
  24. %install
  25. mkdir -p ${RPM_BUILD_ROOT}/%{fontdir}
  26. cp *.pfb fonts.dir ${RPM_BUILD_ROOT}/%{fontdir}
  27. %clean
  28. rm -rf ${RPM_BUILD_ROOT}
  29. %post
  30. /usr/sbin/chkfontpath -q -a %{fontdir}
  31. %postun
  32. if [ "$1" = "0" ]; then
  33. [ -f %{fontdir}/fonts.dir ] && exit 0
  34. /usr/sbin/chkfontpath -q -r %{fontdir}
  35. fi
  36. %files
  37. %defattr(-, root, root)
  38. %{fontdir}
  39. %doc Fontmap README *.license
  40. %changelog
  41. * Thu Jul 16 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.10-5
  42. - added Requires: chkfontpath
  43. * Tue Jul 1 2008 KATO Masashi <mkato@par.odn.ne.jp> 0.10-4
  44. - applied new versioning policy
  45. - build for xorg-x11-7.3
  46. - change font location to %{_datadir}/fonts/%{name}
  47. - changed Source URL
  48. * Sat Jul 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
  49. - changed Group to User Interface/X
  50. - s/Copyright/License/
  51. - used more macros
  52. * Mon Mar 6 2000 Jun Nishii <jun@vinelinux.org>
  53. - added chkdfontpath
  54. - rebuild for Vine Linux 2.0
  55. * Mon Jul 5 1999 Naoki Kawakami <knao@ps.namco.co.jp>
  56. - added fonts.dir
  57. - i386 -> noarch
  58. * Wed Jun 30 1999 Naoki Kawakami <knao@ps.namco.co.jp>
  59. - first release