TrueType-bitstream-vera-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define archivename ttf-bitstream-vera
  2. %define fontdir %{_datadir}/fonts/bitstream-vera
  3. %define __fccache umask 133; which fc-cache >& /dev/null && fc-cache
  4. Name: TrueType-bitstream-vera
  5. Version: 1.10
  6. Release: 3%{?_dist_release}
  7. Summary: Bitstream Vera Fonts
  8. Summary: Bitstream Vera フォント
  9. Group: User Interface/X
  10. License: Redistributable, with restrictions
  11. URL: http://www.gnome.org/fonts/
  12. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{archivename}/%{version}/%{archivename}-%{version}.tar.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  14. BuildArch: noarch
  15. Provides: bitstream-vera-fonts
  16. %description
  17. The Vera fonts are high-quality latin fonts donated by Bitstream.
  18. These fonts have been released under a liberal license, see
  19. the licensing FAQ in %{_docdir}/%{name}-%{version}/COPYRIGHT.TXT or the
  20. online up-to-date version at %{url} for details.
  21. %prep
  22. %setup -q -n %{archivename}-%{version}
  23. %build
  24. %install
  25. /bin/rm -rf $RPM_BUILD_ROOT
  26. #fonts
  27. install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
  28. install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
  29. # "touch" all files we've got flagged as %ghost but which are not
  30. # present in the RPM_BUILD_ROOT when RPM looks for files
  31. /bin/touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1
  32. %clean
  33. /bin/rm -rf $RPM_BUILD_ROOT
  34. %post
  35. %__fccache %{fontdir} ||:
  36. %postun
  37. if [ "$1" = "0" ]; then
  38. %__fccache %{_fontdir} ||:
  39. fi
  40. %files
  41. %defattr(0644,root,root,0755)
  42. %doc *.TXT
  43. %dir %{fontdir}
  44. %{fontdir}/*.ttf
  45. %ghost %{fontdir}/fonts.cache-1
  46. %changelog
  47. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.10-3
  48. - built with gcc-4.8
  49. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-2
  50. - rebuild with rpm-4.8.1
  51. * Sun Oct 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.10-1vl5
  52. - applied new versioning policy, spec in utf-8
  53. * Sun Dec 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-0vl1
  54. - initial build for Vine Linux
  55. * Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 1.10-1
  56. - Base package on spec file from Nicolas Mailhot <Nicolas.Mailhot at laPoste.net>
  57. - Cleanups from Warren Togami and Nicolas Mailhot