[521] | 1 | ## -*- coding: utf-8-unix -*- |
---|
| 2 | Name: libotf |
---|
[2618] | 3 | Version: 0.9.12 |
---|
[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 |
---|
| 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 |
---|
[2618] | 85 | * Tue Feb 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.12-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
[521] | 88 | * Sun Jan 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1 |
---|
| 89 | - built based on Fedora development |
---|
| 90 | - s/freetype/freetype2/ in Requires, BuildRequires tags |
---|
| 91 | |
---|
| 92 | * Sat Oct 24 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-3 |
---|
| 93 | - Add BR libXaw-devel (BR 530586) |
---|
| 94 | |
---|
| 95 | * Fri Oct 9 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-2 |
---|
| 96 | - Remove libotf-config (just just pkg-config instead) |
---|
| 97 | - Remove example/Makefile to fix multilib conflict |
---|
| 98 | |
---|
| 99 | * Tue Aug 25 2009 Neal Becker <ndbecker2@gmail.com> - 0.9.9-1 |
---|
| 100 | - Update to 0.9.9 |
---|
| 101 | |
---|
| 102 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-3 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Fri Aug 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1 |
---|
| 109 | - Update to 0.9.8 |
---|
| 110 | |
---|
| 111 | * Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-4 |
---|
| 112 | - Remove .deps from example |
---|
| 113 | |
---|
| 114 | * Fri Mar 28 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-3 |
---|
| 115 | - Change to LGPLv2+ |
---|
| 116 | - Add examples |
---|
| 117 | |
---|
| 118 | * Wed Mar 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-2 |
---|
| 119 | - Cleanup suggestions from panemade at gmail dot com |
---|
| 120 | |
---|
| 121 | * Tue Mar 25 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.7-1 |
---|
| 122 | - Initial |
---|
| 123 | |
---|