1 | ## -*- coding: utf-8-unix -*- |
---|
2 | Name: libotf |
---|
3 | Version: 0.9.9 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Summary: A Library for handling OpenType Font |
---|
6 | Summary(ja): OpenType フォントを扱うライブラリ |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://www.m17n.org/libotf/ |
---|
11 | Source0: http://www.m17n.org/%{name}/%{name}-%{version}.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: gcc chrpath freetype2-devel libXaw-devel |
---|
15 | Requires: freetype2 |
---|
16 | |
---|
17 | %description |
---|
18 | The library "libotf" provides the following facilites. |
---|
19 | Read Open Type Layout Tables from OTF file. Currently these tables are |
---|
20 | supported; head, name, cmap, GDEF, GSUB, and GPOS. Convert a Unicode |
---|
21 | character sequence to a glyph code sequence by using the above tables. |
---|
22 | The combination of libotf and the FreeType library (Ver.2) realizes |
---|
23 | CTL (complex text layout) by OpenType fonts. This library is currently |
---|
24 | used by the m17n library. It seems that the probject Free Type Layout |
---|
25 | provides the similar (or better) facility as this library, but |
---|
26 | currently they have not yet released their library. So, we have |
---|
27 | developed this one. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development files for %{name} |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release}, pkgconfig |
---|
33 | |
---|
34 | %description devel |
---|
35 | The %{name}-devel package contains libraries and header files for |
---|
36 | developing applications that use %{name}. |
---|
37 | |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-static |
---|
45 | %__make %{?_smp_mflags} |
---|
46 | |
---|
47 | |
---|
48 | %install |
---|
49 | %__rm -rf $RPM_BUILD_ROOT |
---|
50 | %__make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
51 | find $RPM_BUILD_ROOT -name '*.la' -exec %__rm -f {} ';' |
---|
52 | for file in $RPM_BUILD_ROOT/usr/bin/*; do chrpath -d $file || true; done |
---|
53 | |
---|
54 | (cd example && %__make clean && %__rm -rf .deps && rm Makefile) |
---|
55 | %__rm $RPM_BUILD_ROOT/usr/bin/libotf-config |
---|
56 | |
---|
57 | |
---|
58 | %clean |
---|
59 | %__rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | |
---|
64 | %postun -p /sbin/ldconfig |
---|
65 | |
---|
66 | |
---|
67 | %files |
---|
68 | %defattr(-,root,root,-) |
---|
69 | %doc AUTHORS COPYING README NEWS |
---|
70 | %{_libdir}/*.so.* |
---|
71 | %{_bindir}/otfdump |
---|
72 | %{_bindir}/otflist |
---|
73 | %{_bindir}/otftobdf |
---|
74 | %{_bindir}/otfview |
---|
75 | |
---|
76 | %files devel |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc example |
---|
79 | %{_includedir}/* |
---|
80 | %{_libdir}/*.so |
---|
81 | %{_libdir}/pkgconfig/* |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1 |
---|
86 | - built based on Fedora development |
---|
87 | - s/freetype/freetype2/ in Requires, BuildRequires tags |
---|
88 | |
---|
89 | * Sat Oct 24 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-3 |
---|
90 | - Add BR libXaw-devel (BR 530586) |
---|
91 | |
---|
92 | * Fri Oct 9 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-2 |
---|
93 | - Remove libotf-config (just just pkg-config instead) |
---|
94 | - Remove example/Makefile to fix multilib conflict |
---|
95 | |
---|
96 | * Tue Aug 25 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-1 |
---|
97 | - Update to 0.9.9 |
---|
98 | |
---|
99 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-3 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
101 | |
---|
102 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
104 | |
---|
105 | * Fri Aug 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1 |
---|
106 | - Update to 0.9.8 |
---|
107 | |
---|
108 | * Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-4 |
---|
109 | - Remove .deps from example |
---|
110 | |
---|
111 | * Fri Mar 28 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-3 |
---|
112 | - Change to LGPLv2+ |
---|
113 | - Add examples |
---|
114 | |
---|
115 | * Wed Mar 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-2 |
---|
116 | - Cleanup suggestions from panemade at gmail dot com |
---|
117 | |
---|
118 | * Tue Mar 25 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-1 |
---|
119 | - Initial |
---|
120 | |
---|