[packages/libotf] - pl - -devel R: freetype-devel - release 2

qboosh qboosh at pld-linux.org
Sat Sep 15 15:14:21 CEST 2012


commit 9db72cd7eda6966b84dc83193497276e2b1828b0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 15 15:14:50 2012 +0200

    - pl
    - -devel R: freetype-devel
    - release 2

 libotf.spec | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)
---
diff --git a/libotf.spec b/libotf.spec
index 76efc48..8689a2d 100644
--- a/libotf.spec
+++ b/libotf.spec
@@ -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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libotf.git/commitdiff/9db72cd7eda6966b84dc83193497276e2b1828b0



More information about the pld-cvs-commit mailing list