harfbuzz-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Text shaping library
  3. Name: harfbuzz
  4. Version: 1.2.7
  5. Release: 1%{?_dist_release}
  6. License: MIT
  7. Group: System Environment/Libraries
  8. URL: http://www.freedesktop.org/wiki/Software/HarfBuzz
  9. Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: cairo-devel
  13. BuildRequires: freetype2-devel
  14. BuildRequires: libicu-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. HarfBuzz is an OpenType text shaping engine.
  20. %package devel
  21. Summary: Development tools for %{name}
  22. Summary(ja): %{name} の開発環境
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: pkgconfig
  26. %description devel
  27. Header files and libraries for building a extension library for the
  28. %{name}.
  29. %package icu
  30. Summary: ICU library for %{name}
  31. Summary(ja): %{name} 用 ICU ライブラリ
  32. Group: System Environment/Libraries
  33. Requires: libicu
  34. Requires: %{name} = %{version}-%{release}
  35. %description icu
  36. This package contains icu library for %{name}.
  37. %package icu-devel
  38. Summary: Development tools for %{name}-icu
  39. Summary(ja): %{name}-icu の開発環境
  40. Group: Development/Libraries
  41. Requires: %{name}-icu = %{version}-%{release}
  42. Requires: %{name}-devel = %{version}-%{release}
  43. Requires: libicu-devel
  44. Requires: pkgconfig
  45. %description icu-devel
  46. Header files and libraries for building a extension library for the
  47. %{name}-icu.
  48. %package docs
  49. Summary: Documentation for %{name}
  50. Summary(ja): %{name} 用のドキュメント
  51. Group: Documentation
  52. Requires: %{name} = %{version}-%{release}
  53. BuildArch: noarch
  54. %description docs
  55. This package contains documentation for %{name}.
  56. # compat32
  57. %package -n compat32-%{name}
  58. Summary: Text shaping library
  59. Group: System Environment/Libraries
  60. Requires: %{name} = %{version}-%{release}
  61. %description -n compat32-%{name}
  62. HarfBuzz is an OpenType text shaping engine.
  63. %package -n compat32-%{name}-devel
  64. Summary: Development tools for %{name}
  65. Summary(ja): %{name} の開発環境
  66. Group: Development/Libraries
  67. Requires: compat32-%{name} = %{version}-%{release}
  68. Requires: pkgconfig
  69. %description -n compat32-%{name}-devel
  70. Header files and libraries for building a extension library for the
  71. %{name}.
  72. %prep
  73. %setup -q
  74. %build
  75. %configure \
  76. --disable-static
  77. %{__make} %{?_smp_mflags}
  78. %install
  79. %{__rm} -rf ${RPM_BUILD_ROOT}
  80. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  81. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  82. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  83. %clean
  84. %{__rm} -rf ${RPM_BUILD_ROOT}
  85. %post -p /sbin/ldconfig
  86. %postun -p /sbin/ldconfig
  87. %post icu -p /sbin/ldconfig
  88. %postun icu -p /sbin/ldconfig
  89. %post -n compat32-%{name} -p /sbin/ldconfig
  90. %postun -n compat32-%{name} -p /sbin/ldconfig
  91. %files
  92. %defattr(-,root,root,-)
  93. %doc COPYING ChangeLog NEWS README
  94. %{_bindir}/hb-ot-shape-closure
  95. %{_bindir}/hb-shape
  96. %{_bindir}/hb-view
  97. %{_libdir}/libharfbuzz.so.*
  98. %files devel
  99. %defattr(-,root,root,-)
  100. %{_includedir}/%{name}
  101. %{_libdir}/libharfbuzz.so
  102. %{_libdir}/pkgconfig/%{name}.pc
  103. %files icu
  104. %defattr(-,root,root,-)
  105. %{_libdir}/libharfbuzz-icu.so.*
  106. %files icu-devel
  107. %defattr(-,root,root,-)
  108. %{_libdir}/libharfbuzz-icu.so
  109. %{_libdir}/pkgconfig/%{name}-icu.pc
  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. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1
  123. - new upstream release.
  124. * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1
  125. - new upstream release
  126. * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1
  127. - new upstream release
  128. * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.36-1
  129. - new upstream release
  130. - moved icu subpackage to System Environment/Libraries Group
  131. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1
  132. - new upstream release
  133. * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1
  134. - new upstream release
  135. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1
  136. - new upstream release
  137. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  138. - new upstream release
  139. - add BuildRequires: libicu-devel
  140. - add icu, icu-devel, and docs subpackages
  141. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  142. - new upstream release
  143. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
  144. - new upstream release
  145. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  146. - new upstream release
  147. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  148. - initial build