Summary(pl.UTF-8): Biblioteka do obsługi fontów OpenType (OTF)
Name: libotf
Version: 0.9.12
-Release: 1
-License: LGPL
+Release: 2
+License: LGPL v2.1+
Group: Libraries
Source0: http://www.m17n.org/libotf/%{name}-%{version}.tar.gz
# Source0-md5: 630a0556af3be60360e8a75e59561eda
URL: http://www.m17n.org/libotf/
-BuildRequires: freetype-devel
+BuildRequires: freetype-devel >= 2
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXt-devel
BuildRequires: xorg-lib-libXaw-devel
%description
The library "libotf" provides the following facilites:
- o Read Open Type Layout Tables from OTF file. Currently these
- tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
- o Convert a Unicode character sequence to a glyph code sequence by
- using the above tables.
+ - read Open Type Layout Tables from OTF file. Currently these
+ tables are supported; 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 (Ver.2) realizes
CTL (complex text layout) by OpenType fonts.
-#%description -l pl.UTF-8
+%description -l pl.UTF-8
+Biblioteka libotf zapewnia następującą funkcjonalność:
+ - odczyt tablic Open Type Layout z plików OTF; obecnie obsługiwane
+ są następujące tablice: head, name, cmap, GDEF, GSUB i GPOS.
+ - konwersja sekwencji znaków unikodowych na sekwencje kodów glifów
+ z użyciem tych tablic.
%package devel
Summary: Header files for libotf library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libotf
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: freetype-devel >= 2
%description devel
Header files for libotf library.
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libotf.la
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/otf*
+%attr(755,root,root) %{_bindir}/otfdump
+%attr(755,root,root) %{_bindir}/otflist
+%attr(755,root,root) %{_bindir}/otftobdf
+%attr(755,root,root) %{_bindir}/otfview
%attr(755,root,root) %{_libdir}/libotf.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libotf.so.0
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/libotf-config
-%{_libdir}/libotf.so
+%attr(755,root,root) %{_libdir}/libotf.so
%{_includedir}/otf.h
%{_pkgconfigdir}/libotf.pc