source: projects/specs/trunk/f/ftgl/ftgl-vl.spec @ 10760

Revision 10760, 4.3 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Summary:        A font rendering library for OpenGL
2Summary(ja):    OpenGL 用のフォントレンダリングライブラリ
3Name:           ftgl
4Version:        2.1.3
5Release:        3.rc5%{?_dist_release}
6License:        LGPL
7Group:          System Environment/Libraries
8URL:            http://ftgl.wiki.sourceforge.net/
9
10Source0:        http://downloads.sourceforge.net/ftgl/ftgl-%{version}-rc5.tar.bz2
11Patch0:         ftgl-2.1.3-rc5-ttf_font.patch
12Patch1:         ftgl-2.1.3-rc5-ldflags.patch
13
14Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
15BuildRequires:  freetype2-devel, mesa-libGL-devel, freeglut-devel
16BuildRequires:  libXi-devel, libXmu-devel, cppunit-devel
17BuildRequires:  pkgconfig
18BuildRequires:  doxygen
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       daisuke
23
24%description
25FTGL is a free, open source library to enable developers to use arbitrary
26fonts in their OpenGL applications. Unlike other OpenGL font libraries
27FTGL uses standard font file formats so doesn't need a preprocessing step
28to convert the high quality font data into a lesser quality, proprietary
29format. FTGL uses the Freetype font library to open and 'decode' the fonts.
30It then takes that output and stores it in a format most efficient for
31OpenGL rendering.
32
33Rendering 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
42%package devel
43Summary:        Development files for FTGL
44Summary(ja):    FTGL の開発用ファイル
45Group:          Development/Libraries
46Requires:       %{name} = %{version}-%{release}
47Requires:       freetype2-devel, mesa-libGL-devel
48Requires:       pkgconfig
49
50%description devel
51FTGL is a free, open source library to enable developers to use arbitrary
52fonts in their OpenGL applications. Unlike other OpenGL font libraries
53FTGL uses standard font file formats so doesn't need a preprocessing step
54to convert the high quality font data into a lesser quality, proprietary
55format. FTGL uses the Freetype font library to open and 'decode' the fonts.
56It then takes that output and stores it in a format most efficient for
57OpenGL rendering.
58
59This package contains the libraries and header files necessary to develop
60applications with FTGL.
61#'
62
63%prep
64%setup -q -n ftgl-2.1.3~rc5
65%patch0 -p1 -b .destdir
66%patch1 -p1 -b .ldflags
67
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
77
78%__make all %{?_smp_mflags}
79
80%install
81%__rm -rf %{buildroot}
82make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
83find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
84
85# Doc fixes
86mkdir -p __doc/html
87install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/html/* __doc/html
88rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
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)
101%doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO
102%{_libdir}/lib*.so.*
103
104%files devel
105%defattr(-,root,root)
106%doc __doc/*
107%{_includedir}/FTGL
108%{_libdir}/lib*.so
109%{_libdir}/pkgconfig/*.pc
110
111%changelog
112* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> 2.1.3-3.rc5
113- rebuild with gcc-5.4.0
114
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
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
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
Note: See TracBrowser for help on using the repository browser.