2007-01-10 01:56:10 +01:00
|
|
|
#
|
2008-09-24 00:26:36 +02:00
|
|
|
# spec file for package libotf (Version 0.9.7)
|
2007-01-10 01:56:10 +01:00
|
|
|
#
|
2009-03-03 23:15:41 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 01:56:10 +01:00
|
|
|
#
|
2008-09-24 00:26:36 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 01:56:10 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-24 00:26:36 +02:00
|
|
|
|
2007-01-10 01:56:10 +01:00
|
|
|
Name: libotf
|
|
|
|
BuildRequires: freetype2-devel xorg-x11-devel
|
2008-09-24 00:26:36 +02:00
|
|
|
Version: 0.9.7
|
2009-03-03 23:15:41 +01:00
|
|
|
Release: 3
|
2008-09-24 00:26:36 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-10 01:56:10 +01:00
|
|
|
Group: System/I18n/Japanese
|
2008-09-24 00:26:36 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://www.m17n.org/libotf/
|
2007-01-10 01:56:10 +01:00
|
|
|
# CVS:
|
|
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login
|
|
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf
|
|
|
|
Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Library for Handling OpenType Fonts
|
|
|
|
|
|
|
|
%description
|
|
|
|
Library for handling OpenType fonts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Kenichi Handa <handa@m17n.org>
|
|
|
|
|
|
|
|
%package devel
|
2008-09-24 00:26:36 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-10 01:56:10 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development.
|
|
|
|
Group: System/I18n/Japanese
|
|
|
|
Requires: %{name} = %{version} freetype2-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Kenichi Handa <handa@m17n.org>
|
|
|
|
|
|
|
|
%prep
|
2009-03-03 23:15:41 +01:00
|
|
|
%setup -q
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
autoreconf --force --install --verbose
|
2009-03-03 23:15:41 +01:00
|
|
|
%configure --disable-static --with-pic
|
2008-11-03 12:24:00 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
2009-03-03 23:15:41 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-10 01:56:10 +01:00
|
|
|
|
|
|
|
%clean
|
2009-03-03 23:15:41 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 01:56:10 +01:00
|
|
|
|
2007-08-02 18:44:23 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2007-01-10 01:56:10 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/libotf.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/usr/include/*
|
|
|
|
%{_libdir}/libotf.so
|
|
|
|
%{_libdir}/pkgconfig/libotf.pc
|
|
|
|
|
2007-08-02 18:44:23 +02:00
|
|
|
%changelog
|
2009-03-03 23:15:41 +01:00
|
|
|
* Tue Mar 03 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
2008-11-03 12:24:00 +01:00
|
|
|
* Fri Oct 31 2008 schwab@suse.de
|
|
|
|
- Don't disable strict aliasing.
|
2009-03-03 23:15:41 +01:00
|
|
|
* Fri Apr 18 2008 schwab@suse.de
|
2008-09-24 00:26:36 +02:00
|
|
|
- Update to libotf 0.9.7.
|
|
|
|
* src/otfdrive.c (gstring_subst): If a glyph is changed, set the
|
|
|
|
character code to 0, and update GlyphClass.
|
|
|
|
* example/otfdump.c (dump_chain_class_set_list): Ignore an element
|
|
|
|
whose offset is zero.
|
|
|
|
* src/otfdrive.c (lookup_gpos): Ignore mark glyphs while
|
|
|
|
processing GPOS_MarkBase1.
|
|
|
|
* src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH.
|
|
|
|
* src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set
|
|
|
|
character code of a glyph to 0.
|
|
|
|
(OTF_drive_gsub): If otf->cmap is NULL, try to load it.
|
|
|
|
- added baselibs.conf to build biarch compat library
|
|
|
|
* Wed Aug 01 2007 mfabian@suse.de
|
2007-08-02 18:44:23 +02:00
|
|
|
- update to 0.9.6:
|
|
|
|
• src/otfdrive.c (gstring_subst): Remove a glyph if it is
|
|
|
|
ignored because of 0 glyph ID.
|
|
|
|
- added ldconfig to post scripts.
|
2009-03-03 23:15:41 +01:00
|
|
|
* Tue Jan 09 2007 mfabian@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- update to 0.9.5.20070109:
|
|
|
|
make it possible to link with C++ programs
|
|
|
|
(Ed Trager, Kenichi Handa).
|
2008-11-03 12:24:00 +01:00
|
|
|
* Tue Jan 09 2007 mfabian@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- update to 0.9.5:
|
|
|
|
• New function OTF_open_ft_face() can be used to process a font
|
|
|
|
already opened by FreeType library.
|
|
|
|
• The example program `otfview' accept the second argument
|
|
|
|
INDEX.
|
2008-09-24 00:26:36 +02:00
|
|
|
* Mon Oct 30 2006 meissner@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- use RPM_OPT_FLAGS correctly, require freetype2-devel in -devel.
|
2008-09-24 00:26:36 +02:00
|
|
|
* Fri Mar 03 2006 mfabian@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- Bugzilla #154974: update to 0.9.4.
|
|
|
|
We have updated m17n-lib to 1.3.0.20060113. This version can
|
|
|
|
only use libotf >= 0.9.4. It won't link against libotf 0.9.3.
|
|
|
|
In order not to loose the OpenType support in m17n-lib, we
|
|
|
|
should update libotf as well.
|
2008-09-24 00:26:36 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-09-24 00:26:36 +02:00
|
|
|
* Tue Dec 28 2004 mfabian@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- update to 0.9.3.
|
2008-09-24 00:26:36 +02:00
|
|
|
* Mon Aug 16 2004 mfabian@suse.de
|
2007-01-10 01:56:10 +01:00
|
|
|
- new package: libotf, version 0.9.2.
|