harfbuzz-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Text shaping library
  3. Name: harfbuzz
  4. Version: 9.0.0
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: https://github.com/harfbuzz/harfbuzz
  11. Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: meson
  14. BuildRequires: ninja
  15. BuildRequires: cairo-devel
  16. BuildRequires: freetype2-devel
  17. BuildRequires: glib2-devel
  18. BuildRequires: gobject-introspection-devel
  19. BuildRequires: graphite2-devel
  20. BuildRequires: gtk-doc
  21. BuildRequires: libicu-devel
  22. %description
  23. HarfBuzz is an OpenType text shaping engine.
  24. %package devel
  25. Summary: Development tools for %{name}
  26. Summary(ja): %{name} の開発環境
  27. Group: programming
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: %{name}-icu = %{version}-%{release}
  30. Requires: pkgconfig
  31. Requires: libicu-devel
  32. Provides: %{name}-icu-devel = %{version}-%{release}
  33. Obsoletes: %{name}-icu-devel < 2.0.0
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. %{name}.
  37. %package icu
  38. Summary: ICU library for %{name}
  39. Summary(ja): %{name} 用 ICU ライブラリ
  40. Group: system
  41. Requires: %{name} = %{version}-%{release}
  42. %description icu
  43. This package contains icu library for %{name}.
  44. %package docs
  45. Summary: Documentation for %{name}
  46. Summary(ja): %{name} 用のドキュメント
  47. Group: documentation
  48. Requires: %{name} = %{version}-%{release}
  49. BuildArch: noarch
  50. %description docs
  51. This package contains documentation for %{name}.
  52. # compat32
  53. %package -n compat32-%{name}
  54. Summary: Text shaping library
  55. Group: system,legacy
  56. Requires: %{name} = %{version}-%{release}
  57. %description -n compat32-%{name}
  58. HarfBuzz is an OpenType text shaping engine.
  59. %package -n compat32-%{name}-devel
  60. Summary: Development tools for %{name}
  61. Summary(ja): %{name} の開発環境
  62. Group: programming
  63. Requires: compat32-%{name} = %{version}-%{release}
  64. Requires: pkgconfig
  65. %description -n compat32-%{name}-devel
  66. Header files and libraries for building a extension library for the
  67. %{name}.
  68. %debug_package
  69. %prep
  70. %setup -q
  71. %build
  72. # https://github.com/harfbuzz/harfbuzz/issues/3163
  73. %global optflags %(echo %{optflags} | sed -e 's/-fexceptions/-fno-exceptions/')
  74. %meson \
  75. -Dgobject=enabled \
  76. -Dgraphite2=enabled \
  77. -Dintrospection=enabled \
  78. -Dchafa=disabled
  79. %meson_build
  80. %install
  81. %meson_install
  82. %check
  83. %meson_test
  84. %files
  85. %defattr(-,root,root,-)
  86. %license COPYING
  87. %doc NEWS README*
  88. %{_bindir}/hb-ot-shape-closure
  89. %{_bindir}/hb-info
  90. %{_bindir}/hb-shape
  91. %{_bindir}/hb-subset
  92. %{_bindir}/hb-view
  93. %{_libdir}/libharfbuzz.so.*
  94. %{_libdir}/libharfbuzz-cairo.so.*
  95. %{_libdir}/libharfbuzz-gobject.so.*
  96. %{_libdir}/libharfbuzz-subset.so.*
  97. %dir %{_libdir}/girepository-1.0
  98. %{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
  99. %files devel
  100. %defattr(-,root,root,-)
  101. %{_includedir}/%{name}
  102. %{_libdir}/cmake/harfbuzz
  103. %{_libdir}/libharfbuzz*.so
  104. %{_libdir}/pkgconfig/%{name}*.pc
  105. %dir %{_datadir}/gir-1.0
  106. %{_datadir}/gir-1.0/HarfBuzz-0.0.gir
  107. %files icu
  108. %defattr(-,root,root,-)
  109. %{_libdir}/libharfbuzz-icu.so.*
  110. %files docs
  111. %defattr(-,root,root,-)
  112. %{_datadir}/gtk-doc/html/%{name}
  113. %if %{build_compat32}
  114. %files -n compat32-%{name}
  115. %defattr(-, root, root,-)
  116. %{_libdir}/libharfbuzz*.so.*
  117. %files -n compat32-%{name}-devel
  118. %defattr(-, root, root,-)
  119. %{_libdir}/libharfbuzz*.so
  120. %endif
  121. %changelog
  122. * Fri Jun 28 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.0-1
  123. - new upstream release.
  124. * Tue May 14 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.5.0-1
  125. - new upstream release.
  126. * Fri Apr 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.4.0-1
  127. - new upstream release.
  128. * Wed Mar 20 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.3.1-1
  129. - new upstream release.
  130. * Sun Nov 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.3.0-1
  131. - new upstream release.
  132. * Wed Nov 01 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.2-2
  133. - rebuilt with icu-74.
  134. * Wed Oct 18 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.2-1
  135. - new upstream release.
  136. * Wed Sep 20 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.1-1
  137. - new upstream release.
  138. * Sat Sep 09 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0-1
  139. - new upstream release.
  140. * Wed Jul 12 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.1-1
  141. - new upstream release.
  142. * Mon Jul 10 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.0-1
  143. - new upstream release.
  144. * Wed May 10 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.3.0-1
  145. - new upstream release.
  146. * Thu Apr 27 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.0-1
  147. - new upstream release.
  148. * Fri Mar 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.1.0-1
  149. - new upstream release.
  150. * Tue Feb 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.1-1
  151. - new upstream release.
  152. * Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.0-1
  153. - new upstream release.
  154. * Sat Dec 17 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.0-1
  155. - new upstream release.
  156. * Thu Oct 20 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.1-1
  157. - new upstream release.
  158. * Wed Oct 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.0-1
  159. - new upstream release.
  160. * Thu Aug 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.0-1
  161. - new upstream release.
  162. * Sat Jan 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.0-1
  163. - new upstream release.
  164. * Fri Oct 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.0-1
  165. - new upstream release.
  166. - built with icu-69.
  167. - built with icu-70.1.
  168. * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-2
  169. - built with icu-69.
  170. * Thu Mar 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
  171. - new upstream release.
  172. - dropped scriptlets.
  173. * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-2
  174. - built with icu-67.
  175. * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-1
  176. - new upstream release.
  177. - built with icu-66.
  178. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  179. - new upstream release.
  180. - built with icu-65.
  181. * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-2
  182. - rebuilt with libicu-60.2.
  183. * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-1
  184. - new upstream release.
  185. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1
  186. - new upstream release.
  187. * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1
  188. - new upstream release
  189. * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1
  190. - new upstream release
  191. * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.36-1
  192. - new upstream release
  193. - moved icu subpackage to System Environment/Libraries Group
  194. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1
  195. - new upstream release
  196. * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1
  197. - new upstream release
  198. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1
  199. - new upstream release
  200. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  201. - new upstream release
  202. - add BuildRequires: libicu-devel
  203. - add icu, icu-devel, and docs subpackages
  204. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  205. - new upstream release
  206. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
  207. - new upstream release
  208. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  209. - new upstream release
  210. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  211. - initial build