]>
Commit | Line | Data |
---|---|---|
e9c08536 TP |
1 | Summary: OpenGL-FreeType Library |
2 | Name: OGLFT | |
3 | Version: 0.9 | |
4 | Release: 1 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Source0: http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz | |
8 | # Source0-md5: c3a8e0993f98edb7611c20f46631d2a6 | |
9 | URL: http://oglft.sourceforge.net/ | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: freetype-devel | |
13 | BuildRequires: gle-devel | |
14 | BuildRequires: libtool | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | C++ library that supplies an interface between the fonts on a system | |
19 | and an OpenGL or Mesa application. It uses the excellent FreeType | |
20 | library to read font faces from their files and renders text strings | |
21 | as OpenGL primitives. | |
22 | ||
23 | %package devel | |
24 | Summary: Header files for OGLFT | |
25 | Group: Development/Libraries | |
26 | Requires: %{name} = %{version}-%{release} | |
27 | ||
28 | %description devel | |
29 | Header files for OGLFT. | |
30 | ||
31 | %package static | |
32 | Summary: Static version of OGLFT | |
33 | Group: Development/Libraries | |
34 | Requires: %{name}-devel = %{version}-%{release} | |
35 | ||
36 | %description static | |
37 | Static version of OGLFT. | |
38 | ||
39 | %prep | |
40 | %setup -q -n oglft-%{version} | |
41 | ||
42 | %build | |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %{__libtoolize} | |
48 | %configure | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc AUTHORS ChangeLog NEWS README | |
63 | %attr(755,root,root) %{_libdir}/libOGLFT.so.1.*.* | |
64 | %attr(755,root,root) %ghost %{_libdir}/libOGLFT.so.1 | |
65 | ||
66 | %files devel | |
67 | %defattr(644,root,root,755) | |
68 | %doc doc/html | |
69 | %{_includedir}/oglft | |
70 | %attr(755,root,root) %{_libdir}/libOGLFT.so | |
71 | %{_libdir}/libOGLFT.la | |
72 | ||
73 | %files static | |
74 | %defattr(644,root,root,755) | |
75 | %{_libdir}/libOGLFT.a |