harfbuzz-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Text shaping library
  3. Name: harfbuzz
  4. Version: 0.9.9
  5. Release: 1%{?_dist_release}
  6. Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}/%{name}-%{version}.tar.bz2
  7. License: MIT
  8. Group: System Environment/Libraries
  9. URL: http://www.freedesktop.org/wiki/Software/HarfBuzz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Takemikaduchi
  14. BuildRequires: glib2-devel
  15. BuildRequires: cairo-devel
  16. BuildRequires: freetype2-devel
  17. %description
  18. HarfBuzz is an OpenType text shaping engine.
  19. %package devel
  20. Summary: Development tools for %{name}
  21. Summary(ja): %{name} の開発環境
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig
  25. %description devel
  26. Header files and libraries for building a extension library for the
  27. %{name}.
  28. # compat32
  29. %package -n compat32-%{name}
  30. Summary: A set of Thai language support routines
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description -n compat32-%{name}
  34. HarfBuzz is an OpenType text shaping engine.
  35. %package -n compat32-%{name}-devel
  36. Summary: Development tools for %{name}
  37. Summary(ja): %{name} の開発環境
  38. Group: Development/Libraries
  39. Requires: compat32-%{name} = %{version}-%{release}
  40. Requires: pkgconfig
  41. %description -n compat32-%{name}-devel
  42. Header files and libraries for building a extension library for the
  43. %{name}.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure \
  48. --disable-static
  49. %{__make} %{?_smp_mflags}
  50. %install
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  53. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  55. %clean
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %files
  60. %defattr(-,root,root,-)
  61. %doc COPYING ChangeLog NEWS README
  62. %{_bindir}/hb-ot-shape-closure
  63. %{_bindir}/hb-shape
  64. %{_bindir}/hb-view
  65. %{_libdir}/libharfbuzz.so.*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %{_includedir}/%{name}
  69. %{_libdir}/libharfbuzz.so
  70. %{_libdir}/pkgconfig/%{name}.pc
  71. %if %{build_compat32}
  72. %files -n compat32-%{name}
  73. %defattr(-, root, root,-)
  74. %{_libdir}/libharfbuzz.so.*
  75. %files -n compat32-%{name}-devel
  76. %defattr(-, root, root,-)
  77. %{_libdir}/libharfbuzz.so
  78. %endif
  79. %changelog
  80. * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
  81. - new upstream release
  82. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
  83. - new upstream release
  84. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  85. - initial build