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