OpenType-source-sans-pro-vl.spec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %define _fontdir %{_datadir}/fonts/OpenType-source-sans-pro
  2. %define _fontname SourceSansPro_FontsOnly
  3. Summary: A set of OpenType fonts designed for user interfaces
  4. Summary(ja): ユーザーインターフェース向けにデザインされた OpenType フォントセット
  5. Name: OpenType-source-sans-pro
  6. Version: 3.006
  7. Release: 1%{?_dist_release}
  8. Group: User Interface/X
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: OFL
  12. URL: https://adobe-fonts.github.io/source-sans-pro/
  13. Source: https://github.com/adobe-fonts/source-sans-pro/releases/download/%{version}R/source-sans-pro-%{version}R.zip
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: unzip
  17. Obsoletes: %{name}-doc < 3.006
  18. %description
  19. Source Sans is a set of OpenType fonts that have been designed
  20. to work well in user interface (UI) environments,
  21. as well as in text setting for screen and print.
  22. %prep
  23. %setup -q -n source-sans-pro-%{version}R
  24. %clean
  25. if test -n "%{buildroot}" && test "/" != "%{buildroot}"; then
  26. rm -rf %{buildroot}
  27. fi
  28. %build
  29. %install
  30. rm -rf %{buildroot}
  31. mkdir -p %{buildroot}%{_fontdir}
  32. cp -a OTF/*.otf %{buildroot}%{_fontdir}
  33. %post
  34. %__font_install_post %{fontdir}
  35. %postun
  36. %__font_install_postun %{fontdir}
  37. %files
  38. %defattr(-,root,root,-)
  39. %license LICENSE.md
  40. %doc README.md
  41. %{_fontdir}/*.otf
  42. %changelog
  43. * Mon May 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.006-1
  44. - new upstream release.
  45. * Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.050-2
  46. - rebuilt with gcc-4.8
  47. * Sun May 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.050-1
  48. - initial build for Vine Linux