]> git.pld-linux.org Git - packages/libotf.git/commitdiff
- pl auto/th/libotf-0.9.12-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Sep 2012 13:14:50 +0000 (15:14 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Sep 2012 13:14:56 +0000 (15:14 +0200)
- -devel R: freetype-devel
- release 2

libotf.spec

index 76efc48725059e4e2e2ac305dc437480230d160f..8689a2d0a9f8d32ebec3540ad85e5e56ed283a5d 100644 (file)
@@ -6,13 +6,13 @@ Summary:      Library for handling OpenType Font (OTF)
 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
@@ -21,21 +21,27 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
@@ -69,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libotf.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -78,14 +87,17 @@ 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
 
This page took 0.061847 seconds and 4 git commands to generate.