harfbuzz-vl.spec 6.9 KB

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