]>
Commit | Line | Data |
---|---|---|
ece7f33d | 1 | Summary: OpenGL frontend to freetype2 |
d43b2aa8 | 2 | Summary(pl.UTF-8): Nakładka OpenGL na freetype2 - łatwy dostęp do fontów z poziomu OpenGL |
d0b3b65f | 3 | Name: ftgl |
38163398 AG |
4 | Version: 2.1.3 |
5 | Release: 0.rc5.1 | |
d0b3b65f GJ |
6 | Epoch: 0 |
7 | License: LGPL | |
8 | Group: X11/Libraries | |
92d1d294 | 9 | # original URL (dead ATM): http://opengl.geek.nz/ftgl/%{name}-%{version}.tar.gz |
38163398 AG |
10 | Source0: http://dl.sourceforge.net/ftgl/%{name}-%{version}-rc5.tar.gz |
11 | # Source0-md5: fcf4d0567b7de9875d4e99a9f7423633 | |
d0b3b65f | 12 | URL: http://homepages.paradise.net.nz/henryj/code/#FTGL |
d374c80e | 13 | BuildRequires: OpenGL-GLU-devel |
38163398 | 14 | BuildRequires: autoconf |
4a41cd30 | 15 | BuildRequires: automake |
d0b3b65f | 16 | BuildRequires: doxygen |
215e8a1a JB |
17 | BuildRequires: freetype-devel >= 2.0.9 |
18 | BuildRequires: libstdc++-devel | |
38163398 | 19 | BuildRequires: libtool |
d0b3b65f GJ |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
1d1bafcc | 23 | FTGL is a free, open source library to enable developers to use |
92d1d294 | 24 | arbitrary fonts in their OpenGL (http://www.opengl.org/) applications. |
38163398 AG |
25 | Unlike other OpenGL font libraries FTGL uses standard font file |
26 | formats so doesn't need a preprocessing step to convert the high | |
27 | quality font data into a lesser quality, proprietary format. FTGL uses | |
28 | the Freetype (http://www.freetype.org/) font library to open and | |
29 | 'decode' the fonts. It then takes that output and stores it in a | |
30 | format most efficient for OpenGL rendering. | |
1d1bafcc | 31 | |
fe04ce87 JR |
32 | %description -l pl.UTF-8 |
33 | FTPGL to wolnodostępna biblioteka z otwartymi źródłami umożliwiająca | |
34 | programistom używanie dowolnych fontów w aplikacjach OpenGL | |
35 | (http://www.opengl.org/). W przeciwieństwie do innych bibliotek OpenGL | |
36 | FTGL używa standardowych formatów plików z fontami, dzięki czemu nie | |
37 | jest wymagany żaden preprocessing, aby przetworzyć dane fontu wysokiej | |
38 | jakości na własnościowy format niższej jakości. FTGL do wczytywania i | |
39 | dekodowania fontów używa biblioteki obsługi fontów Freetype | |
40 | (http://www.freetype.org/), następnie przejmuje wyjście i przechowuje | |
92d1d294 | 41 | je w formacie najbardziej wydajnym przy renderingu OpenGL. |
d0b3b65f GJ |
42 | |
43 | %package devel | |
388ee0eb | 44 | Summary: OpenGL frontend to freetype2 - development files |
d43b2aa8 | 45 | Summary(pl.UTF-8): Nakładka OpenGL na freetype2 - pliki dla programistów |
92d1d294 | 46 | Group: X11/Development/Libraries |
215e8a1a | 47 | Requires: %{name} = %{version}-%{release} |
d374c80e | 48 | Requires: OpenGL-GLU-devel |
215e8a1a JB |
49 | Requires: freetype-devel >= 2.0.9 |
50 | Requires: libstdc++-devel | |
d0b3b65f GJ |
51 | |
52 | %description devel | |
92d1d294 JB |
53 | OpenGL frontend to freetype2 - development files. |
54 | ||
fe04ce87 JR |
55 | %description devel -l pl.UTF-8 |
56 | Nakładka OpenGL na freetype2 - pliki dla programistów. | |
d0b3b65f | 57 | |
215e8a1a JB |
58 | %package static |
59 | Summary: Static FTGL library | |
d43b2aa8 | 60 | Summary(pl.UTF-8): Statyczna biblioteka FTGL |
215e8a1a JB |
61 | Group: X11/Development/Libraries |
62 | Requires: %{name}-devel = %{version}-%{release} | |
63 | ||
64 | %description static | |
65 | Static FTGL library. | |
66 | ||
fe04ce87 | 67 | %description static -l pl.UTF-8 |
215e8a1a JB |
68 | Statyczna biblioteka FTGL. |
69 | ||
d0b3b65f | 70 | %prep |
38163398 | 71 | %setup -q -n %{name}-%{version}~rc5 |
d0b3b65f GJ |
72 | |
73 | %build | |
38163398 AG |
74 | %{__libtoolize} |
75 | %{__aclocal} -I m4 | |
76 | %{__autoconf} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
215e8a1a JB |
79 | %configure \ |
80 | --enable-shared | |
38163398 AG |
81 | %{__make} \ |
82 | ECHO=/bin/echo | |
d0b3b65f GJ |
83 | |
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
38163398 AG |
86 | %{__make} install \ |
87 | DESTDIR=$RPM_BUILD_ROOT \ | |
88 | ECHO=/bin/echo | |
d0b3b65f | 89 | |
215e8a1a JB |
90 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
91 | ||
d0b3b65f GJ |
92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
215e8a1a JB |
95 | %post -p /sbin/ldconfig |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
38163398 | 100 | %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO |
215e8a1a | 101 | %attr(755,root,root) %{_libdir}/libftgl.so.*.*.* |
fb4bc3b5 | 102 | %attr(755,root,root) %ghost %{_libdir}/libftgl.so.2 |
215e8a1a | 103 | |
d0b3b65f GJ |
104 | %files devel |
105 | %defattr(644,root,root,755) | |
fb4bc3b5 | 106 | %doc docs/html |
215e8a1a JB |
107 | %attr(755,root,root) %{_libdir}/libftgl.so |
108 | %{_libdir}/libftgl.la | |
1d1bafcc | 109 | %{_includedir}/FTGL |
1d1bafcc | 110 | %{_pkgconfigdir}/*.pc |
215e8a1a JB |
111 | |
112 | %files static | |
113 | %defattr(644,root,root,755) | |
114 | %{_libdir}/libftgl.a |