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