1 | Summary: A font rendering library for OpenGL |
---|
2 | Summary(ja): OpenGL 用のフォントレンダリングライブラリ |
---|
3 | Name: ftgl |
---|
4 | Version: 2.1.3 |
---|
5 | Release: 2.rc5%{?_dist_release} |
---|
6 | License: LGPL |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://ftgl.wiki.sourceforge.net/ |
---|
9 | |
---|
10 | Source0: http://downloads.sourceforge.net/ftgl/ftgl-%{version}-rc5.tar.bz2 |
---|
11 | Patch0: ftgl-2.1.3-rc5-ttf_font.patch |
---|
12 | Patch1: ftgl-2.1.3-rc5-ldflags.patch |
---|
13 | |
---|
14 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
15 | BuildRequires: freetype2-devel, mesa-libGL-devel, freeglut-devel |
---|
16 | BuildRequires: libXi-devel, libXmu-devel, cppunit-devel |
---|
17 | BuildRequires: pkgconfig |
---|
18 | BuildRequires: doxygen |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: daisuke |
---|
23 | |
---|
24 | %description |
---|
25 | FTGL is a free, open source library to enable developers to use arbitrary |
---|
26 | fonts in their OpenGL applications. Unlike other OpenGL font libraries |
---|
27 | FTGL uses standard font file formats so doesn't need a preprocessing step |
---|
28 | to convert the high quality font data into a lesser quality, proprietary |
---|
29 | format. FTGL uses the Freetype font library to open and 'decode' the fonts. |
---|
30 | It then takes that output and stores it in a format most efficient for |
---|
31 | OpenGL rendering. |
---|
32 | |
---|
33 | Rendering modes supported are: |
---|
34 | * Bit maps |
---|
35 | * Anti aliased pix maps |
---|
36 | * Texture maps |
---|
37 | * Outlines |
---|
38 | * Polygon meshes |
---|
39 | * Extruded polygon meshes |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Development files for FTGL |
---|
43 | Summary(ja): FTGL の開発用ファイル |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: %{name} = %{version}-%{release} |
---|
46 | Requires: freetype2-devel, mesa-libGL-devel |
---|
47 | Requires: pkgconfig |
---|
48 | |
---|
49 | %description devel |
---|
50 | FTGL is a free, open source library to enable developers to use arbitrary |
---|
51 | fonts in their OpenGL applications. Unlike other OpenGL font libraries |
---|
52 | FTGL uses standard font file formats so doesn't need a preprocessing step |
---|
53 | to convert the high quality font data into a lesser quality, proprietary |
---|
54 | format. FTGL uses the Freetype font library to open and 'decode' the fonts. |
---|
55 | It then takes that output and stores it in a format most efficient for |
---|
56 | OpenGL rendering. |
---|
57 | |
---|
58 | This package contains the libraries and header files necessary to develop |
---|
59 | applications with FTGL. |
---|
60 | |
---|
61 | %prep |
---|
62 | %setup -q -n ftgl-2.1.3~rc5 |
---|
63 | %patch0 -p1 -b .destdir |
---|
64 | %patch1 -p1 -b .ldflags |
---|
65 | |
---|
66 | %build |
---|
67 | %configure \ |
---|
68 | --enable-shared \ |
---|
69 | --disable-static \ |
---|
70 | --with-gl-inc=%{_includedir} \ |
---|
71 | --with-gl-lib=%{_libdir} \ |
---|
72 | --with-glut-inc=%{_includedir} \ |
---|
73 | --with-glut-lib=%{_libdir} \ |
---|
74 | --with-x |
---|
75 | |
---|
76 | %__make all %{?_smp_mflags} |
---|
77 | |
---|
78 | %install |
---|
79 | %__rm -rf %{buildroot} |
---|
80 | make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT |
---|
81 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
82 | |
---|
83 | # Doc fixes |
---|
84 | mkdir -p __doc/html |
---|
85 | install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/html/* __doc/html |
---|
86 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc |
---|
87 | |
---|
88 | %post |
---|
89 | /sbin/ldconfig |
---|
90 | |
---|
91 | %postun |
---|
92 | /sbin/ldconfig |
---|
93 | |
---|
94 | %clean |
---|
95 | %__rm -rf %{buildroot} |
---|
96 | |
---|
97 | %files |
---|
98 | %defattr(-,root,root) |
---|
99 | %doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO |
---|
100 | %{_libdir}/lib*.so.* |
---|
101 | |
---|
102 | %files devel |
---|
103 | %defattr(-,root,root) |
---|
104 | %doc __doc/* |
---|
105 | %{_includedir}/FTGL |
---|
106 | %{_libdir}/lib*.so |
---|
107 | %{_libdir}/pkgconfig/*.pc |
---|
108 | |
---|
109 | %changelog |
---|
110 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.3-2.rc5 |
---|
111 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
112 | |
---|
113 | * Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-1.rc5 |
---|
114 | - update to 2.1.3-rc5 |
---|
115 | - add BR: libXi-devel, libXmu-devel, cppunit-devel |
---|
116 | |
---|
117 | * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5 |
---|
118 | - applied new versioning policy, spec in utf-8 |
---|
119 | - excluded lib*.la |
---|
120 | |
---|
121 | * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1 |
---|
122 | - initial build for Vine Linux |
---|
123 | |
---|
124 | * Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 2.1.2-1mdv2007.0 |
---|
125 | + Revision: 113842 |
---|
126 | - Import ftgl |
---|
127 | |
---|
128 | * Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 2.1.2-1mdv2007.1 |
---|
129 | - fix build |
---|
130 | - new version |
---|
131 | |
---|
132 | * Wed Aug 23 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 2.0.11-5mdv2007.0 |
---|
133 | - fix correct usage of %%mklibname |
---|
134 | |
---|
135 | * Tue Aug 22 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 2.0.11-4mdv2007.0 |
---|
136 | - rebuild for new xorg |
---|
137 | - %%mkrel |
---|
138 | |
---|
139 | * Sun Jan 08 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 2.0.11-3mdk |
---|
140 | - Rebuild |
---|
141 | |
---|
142 | * Sun Nov 21 2004 Abel Cheung <deaddog@mandrake.org> 2.0.11-2mdk |
---|
143 | - Fix build (thx Stefan's bot) |
---|
144 | |
---|
145 | * Thu Nov 04 2004 Abel Cheung <deaddog@mandrake.org> 2.0.11-1mdk |
---|
146 | - First Mandrake package |
---|
147 | - Patch0: Patch .pc file to use freetype2.pc |
---|