diff --git a/libotf-0.9.11.tar.bz2 b/libotf-0.9.11.tar.bz2 new file mode 100644 index 0000000..8f05616 --- /dev/null +++ b/libotf-0.9.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d82acc2e53beaef30c7792ecd9fc7622fdcfe8e900de3e7f434d8bec98c27ed +size 291260 diff --git a/libotf-0.9.7.tar.bz2 b/libotf-0.9.7.tar.bz2 deleted file mode 100644 index b694a98..0000000 --- a/libotf-0.9.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:359f88c5580a9b9d8cebab6a4200b443efdb3e74327a53f14f305ec9bc893ff1 -size 284584 diff --git a/libotf-warning-fixes.diff b/libotf-warning-fixes.diff new file mode 100644 index 0000000..8c92a19 --- /dev/null +++ b/libotf-warning-fixes.diff @@ -0,0 +1,14 @@ +--- + src/otfdrive.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/otfdrive.c ++++ b/src/otfdrive.c +@@ -1664,6 +1664,7 @@ + else + gstring->glyphs[i].glyph_id = lookupper (c, &enc->subtable); + } ++ return 0; + } + + diff --git a/libotf.changes b/libotf.changes index 1fecb49..f38d1e0 100644 --- a/libotf.changes +++ b/libotf.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Apr 22 17:11:06 CEST 2010 - tiwai@suse.de + +- updated to version 0.9.11: + * New OTF_* functions required for m17n-lib 1.6.0. + * Bug fixes +- Split libotf0 sub-package to follow shlib policy + ------------------------------------------------------------------- Thu Dec 17 20:48:50 CET 2009 - jengelh@medozas.de diff --git a/libotf.spec b/libotf.spec index 9c48a6b..f45f5de 100644 --- a/libotf.spec +++ b/libotf.spec @@ -1,7 +1,7 @@ # -# spec file for package libotf (Version 0.9.7) +# spec file for package libotf (Version 0.9.11) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,8 +20,8 @@ Name: libotf BuildRequires: freetype2-devel xorg-x11-devel -Version: 0.9.7 -Release: 4 +Version: 0.9.11 +Release: 1 License: LGPLv2.1+ Group: System/I18n/Japanese AutoReqProv: on @@ -31,17 +31,20 @@ Url: http://www.m17n.org/libotf/ # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2 Source1: baselibs.conf +Patch: libotf-warning-fixes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Library for Handling OpenType Fonts %description Library for handling OpenType fonts. +%package -n libotf0 +License: LGPLv2.1+ +Summary: Shared library for libotf +Group: System/I18n/Japanese - -Authors: --------- - Kenichi Handa +%description -n libotf0 +Library for handling OpenType fonts. %package devel License: LGPLv2.1+ @@ -53,14 +56,9 @@ Requires: %{name} = %{version} freetype2-devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - Kenichi Handa - %prep %setup -q +%patch -p1 %build ./autogen.sh @@ -75,14 +73,17 @@ make DESTDIR=${RPM_BUILD_ROOT} install %clean rm -rf %{buildroot} -%post -p /sbin/ldconfig +%post -n libotf0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libotf0 -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING NEWS README ChangeLog %{_bindir}/* + +%files -n libotf0 +%defattr(-, root, root) %{_libdir}/libotf.so.* %files devel