2007-01-10 01:56:10 +01:00
|
|
|
#
|
2007-08-02 18:44:23 +02:00
|
|
|
# spec file for package libotf (Version 0.9.6)
|
2007-01-10 01:56:10 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: libotf
|
|
|
|
BuildRequires: freetype2-devel xorg-x11-devel
|
2007-08-02 18:44:23 +02:00
|
|
|
Version: 0.9.6
|
2007-01-10 01:56:10 +01:00
|
|
|
Release: 1
|
2007-08-02 18:44:23 +02:00
|
|
|
License: LGPL v2 or later
|
2007-01-10 01:56:10 +01:00
|
|
|
Group: System/I18n/Japanese
|
|
|
|
Autoreqprov: on
|
|
|
|
URL: http://www.m17n.org/libotf/
|
|
|
|
# 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
|
|
|
|
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
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
libtoolize --force
|
|
|
|
autoreconf --force --install --verbose
|
2007-08-02 18:44:23 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
2007-01-10 01:56:10 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--libdir=%{_libdir}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
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}/libotf.*a
|
|
|
|
%{_libdir}/pkgconfig/libotf.pc
|
|
|
|
|
2007-08-02 18:44:23 +02:00
|
|
|
%changelog
|
|
|
|
* Wed Aug 01 2007 - mfabian@suse.de
|
|
|
|
- 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.
|
2007-01-10 01:56:10 +01:00
|
|
|
* Tue Jan 09 2007 - mfabian@suse.de
|
|
|
|
- update to 0.9.5.20070109:
|
|
|
|
make it possible to link with C++ programs
|
|
|
|
(Ed Trager, Kenichi Handa).
|
|
|
|
* Tue Jan 09 2007 - mfabian@suse.de
|
|
|
|
- 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.
|
|
|
|
* Mon Oct 30 2006 - meissner@suse.de
|
|
|
|
- use RPM_OPT_FLAGS correctly, require freetype2-devel in -devel.
|
|
|
|
* Fri Mar 03 2006 - mfabian@suse.de
|
|
|
|
- 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.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Tue Dec 28 2004 - mfabian@suse.de
|
|
|
|
- update to 0.9.3.
|
|
|
|
* Mon Aug 16 2004 - mfabian@suse.de
|
|
|
|
- new package: libotf, version 0.9.2.
|