source: projects/specs/branches/6/lib/libo/libotf/libotf-vl.spec @ 2618

Revision 2618, 3.5 KB checked in by munepi, 13 years ago (diff)

updated libotf

Line 
1## -*- coding: utf-8-unix -*-
2Name:           libotf
3Version:        0.9.12
4Release:        1%{?_dist_release}
5Summary:        A Library for handling OpenType Font
6Summary(ja):    OpenType フォントを扱うライブラリ
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://www.m17n.org/libotf/
11Source0:         http://www.m17n.org/%{name}/%{name}-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gcc chrpath freetype2-devel libXaw-devel
15Requires:       freetype2
16
17%description
18The library "libotf" provides the following facilites.
19Read Open Type Layout Tables from OTF file. Currently these tables are
20supported; head, name, cmap, GDEF, GSUB, and GPOS.  Convert a Unicode
21character sequence to a glyph code sequence by using the above tables.
22The combination of libotf and the FreeType library (Ver.2) realizes
23CTL (complex text layout) by OpenType fonts. This library is currently
24used by the m17n library. It seems that the probject Free Type Layout
25provides the similar (or better) facility as this library, but
26currently they have not yet released their library. So, we have
27developed this one.
28
29%package        devel
30Summary:        Development files for %{name}
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}, pkgconfig
33
34%description    devel
35The %{name}-devel package contains libraries and header files for
36developing 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"
51find $RPM_BUILD_ROOT -name '*.la' -exec %__rm -f {} ';'
52for 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* Tue Feb 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.12-1
86- new upstream release
87
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
Note: See TracBrowser for help on using the repository browser.