libotf/libotf.spec

109 lines
2.9 KiB
RPMSpec

#
# spec file for package libotf (Version 0.9.5.20070109)
#
# 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
Version: 0.9.5.20070109
Release: 1
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
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
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=/usr \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir}
make
%install
make DESTDIR=${RPM_BUILD_ROOT} install
%clean
%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
%changelog -n libotf
* 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.