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

Revision 1954, 4.2 KB checked in by owa, 12 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1Summary:        A font rendering library for OpenGL
2Summary(ja):    OpenGL 用のフォントレンダリングライブラリ
3Name:           ftgl
4Version:        2.1.3
5Release:        2.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%package devel
42Summary:        Development files for FTGL
43Summary(ja):    FTGL の開発用ファイル
44Group:          Development/Libraries
45Requires:       %{name} = %{version}-%{release}
46Requires:       freetype2-devel, mesa-libGL-devel
47Requires:       pkgconfig
48
49%description devel
50FTGL is a free, open source library to enable developers to use arbitrary
51fonts in their OpenGL applications. Unlike other OpenGL font libraries
52FTGL uses standard font file formats so doesn't need a preprocessing step
53to convert the high quality font data into a lesser quality, proprietary
54format. FTGL uses the Freetype font library to open and 'decode' the fonts.
55It then takes that output and stores it in a format most efficient for
56OpenGL rendering.
57
58This package contains the libraries and header files necessary to develop
59applications 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}
80make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
81find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
82
83# Doc fixes
84mkdir -p __doc/html
85install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/html/* __doc/html
86rm -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
Note: See TracBrowser for help on using the repository browser.