harfbuzz-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Text shaping library
  3. Name: harfbuzz
  4. Version: 3.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: 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-shape
  86. %{_bindir}/hb-subset
  87. %{_bindir}/hb-view
  88. %{_libdir}/libharfbuzz.so.*
  89. %{_libdir}/libharfbuzz-gobject.so.*
  90. %{_libdir}/libharfbuzz-subset.so.*
  91. %dir %{_libdir}/girepository-1.0
  92. %{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
  93. %files devel
  94. %defattr(-,root,root,-)
  95. %{_includedir}/%{name}
  96. %{_libdir}/cmake/harfbuzz
  97. %{_libdir}/libharfbuzz*.so
  98. %{_libdir}/pkgconfig/%{name}*.pc
  99. %dir %{_datadir}/gir-1.0
  100. %{_datadir}/gir-1.0/HarfBuzz-0.0.gir
  101. %files icu
  102. %defattr(-,root,root,-)
  103. %{_libdir}/libharfbuzz-icu.so.*
  104. %files docs
  105. %defattr(-,root,root,-)
  106. %{_datadir}/gtk-doc/html/%{name}
  107. %if %{build_compat32}
  108. %files -n compat32-%{name}
  109. %defattr(-, root, root,-)
  110. %{_libdir}/libharfbuzz*.so.*
  111. %files -n compat32-%{name}-devel
  112. %defattr(-, root, root,-)
  113. %{_libdir}/libharfbuzz*.so
  114. %endif
  115. %changelog
  116. * Fri Oct 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.0-1
  117. - built with icu-69.
  118. - built with icu-70.1.
  119. * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-2
  120. - built with icu-69.
  121. * Thu Mar 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
  122. - new upstream release.
  123. - dropped scriptlets.
  124. * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-2
  125. - built with icu-67.
  126. * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-1
  127. - new upstream release.
  128. - built with icu-66.
  129. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  130. - new upstream release.
  131. - built with icu-65.
  132. * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-2
  133. - rebuilt with libicu-60.2.
  134. * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-1
  135. - new upstream release.
  136. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1
  137. - new upstream release.
  138. * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1
  139. - new upstream release
  140. * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1
  141. - new upstream release
  142. * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.36-1
  143. - new upstream release
  144. - moved icu subpackage to System Environment/Libraries Group
  145. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1
  146. - new upstream release
  147. * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1
  148. - new upstream release
  149. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1
  150. - new upstream release
  151. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  152. - new upstream release
  153. - add BuildRequires: libicu-devel
  154. - add icu, icu-devel, and docs subpackages
  155. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  156. - new upstream release
  157. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
  158. - new upstream release
  159. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  160. - new upstream release
  161. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  162. - initial build