]> git.pld-linux.org Git - packages/ftgl.git/blob - ftgl.spec
- up
[packages/ftgl.git] / ftgl.spec
1 Summary:        OpenGL frontend for freetype2
2 Summary(pl):    £atwy dostep do fontow z poziomu OpenGL
3 Name:           ftgl
4 Version:        2.1.2
5 Release:        1
6 Epoch:          0
7 License:        LGPL
8 Group:          X11/Libraries
9 Source0:        ftp://ftp.pl.debian.org/pub/debian/pool/main/f/%{name}/%{name}_%{version}.orig.tar.gz
10 # Source0-md5:  3eabec9ad37371c4d139408c7ffd2429
11 Patch0:         %{name}-Makefiles.patch
12 URL:            http://homepages.paradise.net.nz/henryj/code/#FTGL
13 BuildRequires:  automake
14 BuildRequires:  doxygen
15 BuildRequires:  OpenGL-devel
16 BuildRequires:  glut-devel
17 BuildRequires:  freetype-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         no_install_post_strip   1
21
22 %description
23 FTGL is a free, open source library to enable developers to use
24 arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike
25 other OpenGL font libraries FTGL uses standard font file formats so
26 doesn't need a preprocessing step to convert the high quality font
27 data into a lesser quality, proprietary format. FTGL uses the Freetype
28 (www.freetype.org) font library to open and 'decode' the fonts. It
29 then takes that output and stores it in a format most efficient for
30 OpenGL rendering.
31
32 %description -l pl
33
34 %package devel
35 Summary:        OpenGL frontend for freetype2
36 Group:          X11/Libraries
37 Requires:       freetype-devel
38 Requires:       OpenGL-devel
39 Requires:       glut-devel
40
41 %description devel
42 OpenGL frontend for freetype2
43
44 %prep
45 %setup -q -n FTGL
46 %patch0 -p1
47
48 %build
49 cd unix
50 install %{_datadir}/automake/config.* .
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
57
58 %{makeinstall} -C unix
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files devel
64 %defattr(644,root,root,755)
65 %doc COPYING.txt HISTORY.txt README.txt $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/*
66 %{_includedir}/FTGL
67 %{_libdir}/*.*
68 %{_pkgconfigdir}/*.pc
This page took 0.215297 seconds and 3 git commands to generate.