version up to 2.6.7
[platform/upstream/harfbuzz.git] / packaging / harfbuzz.spec
index b128bc4..2d3033a 100644 (file)
@@ -1,11 +1,11 @@
 Name:           harfbuzz
-Version:        0.9.40
+Version:        2.6.7
 Release:        0
-License:        MIT
+License:        MIT and ISC
 Summary:        An OpenType text shaping engine
 Url:            http://www.freedesktop.org/wiki/Software/HarfBuzz
 Group:          Graphics/Font Management
-Source:         %{name}-%{version}.tar.bz2
+Source:         %{name}-%{version}.tar.xz
 Source99:       baselibs.conf
 Source1001:    harfbuzz.manifest
 BuildRequires:  gcc-c++
@@ -45,6 +45,7 @@ HarfBuzz is an OpenType text shaping engine.
 %prep
 %setup -q
 cp %{SOURCE1001} .
+patch -p1 < %{_builddir}/%{name}-%{version}/patch/remove-icu-header-dependencies-from-harfbuzz-header.patch
 
 %build
 %configure \
@@ -70,6 +71,7 @@ rm -rf %{buildroot}/%{_datadir}/gtk-doc
 %defattr(-,root,root)
 %{_bindir}/hb-ot-shape-closure
 %{_bindir}/hb-shape
+%{_bindir}/hb-subset
 #%{_bindir}/hb-view
 
 %files devel
@@ -78,3 +80,4 @@ rm -rf %{buildroot}/%{_datadir}/gtk-doc
 %{_includedir}/harfbuzz/
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake/harfbuzz/harfbuzz-config.cmake