[521] | 1 | ## -*- coding: utf-8-unix -*- |
---|
| 2 | Name: libotf |
---|
[8084] | 3 | Version: 0.9.13 |
---|
[521] | 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 |
---|
[8084] | 12 | |
---|
| 13 | Patch0: libotf-0.9.13-freetype2.patch |
---|
| 14 | |
---|
[521] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | BuildRequires: gcc chrpath freetype2-devel libXaw-devel |
---|
[8084] | 18 | BuildRequires: autoconf |
---|
[521] | 19 | Requires: freetype2 |
---|
| 20 | |
---|
[8084] | 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
[521] | 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 |
---|
[8084] | 48 | %patch0 -p1 |
---|
[521] | 49 | |
---|
| 50 | %build |
---|
[8084] | 51 | autoreconf -if |
---|
[521] | 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 |
---|
[8084] | 93 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.13-1 |
---|
| 94 | - update to 0.9.13 |
---|
| 95 | - add Patch0 (libotf-0.9.13-freetype2.patch) |
---|
| 96 | |
---|
[2618] | 97 | * Tue Feb 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.12-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[521] | 100 | * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1 |
---|
| 101 | - built based on Fedora development |
---|
| 102 | - s/freetype/freetype2/ in Requires, BuildRequires tags |
---|
| 103 | |
---|
| 104 | * Sat Oct 24 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-3 |
---|
| 105 | - Add BR libXaw-devel (BR 530586) |
---|
| 106 | |
---|
| 107 | * Fri Oct 9 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-2 |
---|
| 108 | - Remove libotf-config (just just pkg-config instead) |
---|
| 109 | - Remove example/Makefile to fix multilib conflict |
---|
| 110 | |
---|
| 111 | * Tue Aug 25 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-1 |
---|
| 112 | - Update to 0.9.9 |
---|
| 113 | |
---|
| 114 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-3 |
---|
| 115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 116 | |
---|
| 117 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Fri Aug 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1 |
---|
| 121 | - Update to 0.9.8 |
---|
| 122 | |
---|
| 123 | * Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-4 |
---|
| 124 | - Remove .deps from example |
---|
| 125 | |
---|
| 126 | * Fri Mar 28 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-3 |
---|
| 127 | - Change to LGPLv2+ |
---|
| 128 | - Add examples |
---|
| 129 | |
---|
| 130 | * Wed Mar 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-2 |
---|
| 131 | - Cleanup suggestions from panemade at gmail dot com |
---|
| 132 | |
---|
| 133 | * Tue Mar 25 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-1 |
---|
| 134 | - Initial |
---|
| 135 | |
---|