harfbuzz-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Text shaping library
  3. Name: harfbuzz
  4. Version: 2.8.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 Environment/Libraries
  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. * Thu Mar 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1
  117. - new upstream release.
  118. - dropped scriptlets.
  119. * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-2
  120. - built with icu-67.
  121. * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-1
  122. - new upstream release.
  123. - built with icu-66.
  124. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  125. - new upstream release.
  126. - built with icu-65.
  127. * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-2
  128. - rebuilt with libicu-60.2.
  129. * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-1
  130. - new upstream release.
  131. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1
  132. - new upstream release.
  133. * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1
  134. - new upstream release
  135. * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1
  136. - new upstream release
  137. * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.36-1
  138. - new upstream release
  139. - moved icu subpackage to System Environment/Libraries Group
  140. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1
  141. - new upstream release
  142. * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1
  143. - new upstream release
  144. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1
  145. - new upstream release
  146. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  147. - new upstream release
  148. - add BuildRequires: libicu-devel
  149. - add icu, icu-devel, and docs subpackages
  150. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  151. - new upstream release
  152. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
  153. - new upstream release
  154. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  155. - new upstream release
  156. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  157. - initial build