update to 1.3.0
[platform/upstream/harfbuzz.git] / packaging / harfbuzz.spec
index e6c2cdc..02f2cf1 100644 (file)
@@ -1,5 +1,5 @@
 Name:           harfbuzz
-Version:        0.9.12
+Version:        1.3.0
 Release:        0
 License:        MIT
 Summary:        An OpenType text shaping engine
@@ -7,9 +7,10 @@ Url:            http://www.freedesktop.org/wiki/Software/HarfBuzz
 Group:          Graphics/Font Management
 Source:         %{name}-%{version}.tar.bz2
 Source99:       baselibs.conf
+Source1001:    harfbuzz.manifest
 BuildRequires:  gcc-c++
-BuildRequires:  pkgconfig(cairo) >= 1.8.0
-BuildRequires:  pkgconfig(cairo-ft)
+#BuildRequires:  pkgconfig(cairo) >= 1.8.0
+#BuildRequires:  pkgconfig(cairo-ft)
 BuildRequires:  pkgconfig(freetype2) >= 2.3.8
 BuildRequires:  pkgconfig(glib-2.0) >= 2.16
 BuildRequires:  pkgconfig(gobject-2.0)
@@ -43,6 +44,7 @@ HarfBuzz is an OpenType text shaping engine.
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 %configure \
@@ -51,24 +53,28 @@ make %{?_smp_mflags}
 
 %install
 %make_install
+rm -rf %{buildroot}/%{_datadir}/gtk-doc
 
 %post -n libharfbuzz -p /sbin/ldconfig
 
 %postun -n libharfbuzz -p /sbin/ldconfig
 
 %files -n libharfbuzz
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %license COPYING
-%{_libdir}/libharfbuzz.so.0*
+%{_libdir}/*.so.0*
 
 %files tools
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %{_bindir}/hb-ot-shape-closure
 %{_bindir}/hb-shape
-%{_bindir}/hb-view
+#%{_bindir}/hb-view
 
 %files devel
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %{_includedir}/harfbuzz/
 %{_libdir}/*.so
-%{_libdir}/pkgconfig/harfbuzz.pc
+%{_libdir}/pkgconfig/*.pc