Accepting request 38562 from M17N

Copy from M17N/libotf based on submit request 38562 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/38562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libotf?expand=0&rev=9
This commit is contained in:
OBS User autobuild 2010-04-25 16:39:51 +00:00 committed by Git OBS Bridge
parent 618df52c14
commit f33bb757fd
5 changed files with 42 additions and 19 deletions

3
libotf-0.9.11.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d82acc2e53beaef30c7792ecd9fc7622fdcfe8e900de3e7f434d8bec98c27ed
size 291260

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:359f88c5580a9b9d8cebab6a4200b443efdb3e74327a53f14f305ec9bc893ff1
size 284584

14
libotf-warning-fixes.diff Normal file
View File

@ -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;
}

View File

@ -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 Thu Dec 17 20:48:50 CET 2009 - jengelh@medozas.de

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,8 +20,8 @@
Name: libotf Name: libotf
BuildRequires: freetype2-devel xorg-x11-devel BuildRequires: freetype2-devel xorg-x11-devel
Version: 0.9.7 Version: 0.9.11
Release: 4 Release: 1
License: LGPLv2.1+ License: LGPLv2.1+
Group: System/I18n/Japanese Group: System/I18n/Japanese
AutoReqProv: on AutoReqProv: on
@ -31,17 +31,20 @@ Url: http://www.m17n.org/libotf/
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf
Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2 Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Patch: libotf-warning-fixes.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Library for Handling OpenType Fonts Summary: Library for Handling OpenType Fonts
%description %description
Library for handling OpenType fonts. Library for handling OpenType fonts.
%package -n libotf0
License: LGPLv2.1+
Summary: Shared library for libotf
Group: System/I18n/Japanese
%description -n libotf0
Authors: Library for handling OpenType fonts.
--------
Kenichi Handa <handa@m17n.org>
%package devel %package devel
License: LGPLv2.1+ License: LGPLv2.1+
@ -53,14 +56,9 @@ Requires: %{name} = %{version} freetype2-devel
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
to develop applications that require these. to develop applications that require these.
Authors:
--------
Kenichi Handa <handa@m17n.org>
%prep %prep
%setup -q %setup -q
%patch -p1
%build %build
./autogen.sh ./autogen.sh
@ -75,14 +73,17 @@ make DESTDIR=${RPM_BUILD_ROOT} install
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -n libotf0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -n libotf0 -p /sbin/ldconfig
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog %doc AUTHORS COPYING NEWS README ChangeLog
%{_bindir}/* %{_bindir}/*
%files -n libotf0
%defattr(-, root, root)
%{_libdir}/libotf.so.* %{_libdir}/libotf.so.*
%files devel %files devel