%define version 0.9.3 %define release 3mdk %define major 0 %define libname %mklibname otf %{major} Name: libotf Summary: Library for handling OpenType fonts Version: %{version} Release: %{release} Group: System/Internationalization License: LGPL URL: http://www.m17n.org/libotf/ Source0: http://www.m17n.org/libotf/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: freetype2-devel BuildRequires: X11-devel %description The library "libotf" provides the following facilites: - Read Open Type Layout Tables from OTF file (currently supported tables are: head, name, cmap, GDEF, GSUB, and GPOS) - Convert a Unicode character sequence to a glyph code sequence by using the above tables. The combination of libotf and the FreeType library realizes CTL (Complex Text Layout) by OpenType fonts.* %package tools Summary: Utilities of OpenType library Group: System/Internationalization Obsoletes: %{name}-example Requires: %{libname} = %{version} %description tools Example tool from %name %package -n %{libname} Summary: Main OpenType library Group: System/Internationalization Provides: %{name} = %{version}-%{release} %description -n %{libname} Libotf library. %package -n %{libname}-devel Summary: Development files for %{name} Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} %description -n %{libname}-devel Headers of %{name} for development. %prep %setup -q %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files tools %defattr(-,root,root) %doc COPYING %{_bindir}/otf* %files -n %{libname} %defattr(-,root,root) %doc COPYING %{_libdir}/lib*.so.* %files -n %{libname}-devel %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/libotf-config %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/lib*.a %{_libdir}/lib*.la %changelog * Wed Feb 09 2005 Abel Cheung <deaddog@mandrake.org> 0.9.3-3mdk - Another BuildRequires fix * Sat Feb 05 2005 Abel Cheung <deaddog@mandrake.org> 0.9.3-2mdk - Fix BuildRequires - Examples can be useful, thus rename to libotf-tools (similar to freetype2-tools) - Move libotf-config to devel subpackage * Tue Dec 28 2004 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.9.3-1mdk - new release * Tue Nov 09 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.2-1mdk - fix description - fix libification - initial spec for mdk (UTUMI Hirosi <utuhiro78@yahoo.co.jp>)