]>
Commit | Line | Data |
---|---|---|
e9c08536 | 1 | Summary: OpenGL-FreeType Library |
0c91027c | 2 | Summary(pl.UTF-8): Biblioteka OpenGL-FreeType |
e9c08536 TP |
3 | Name: OGLFT |
4 | Version: 0.9 | |
6b17e791 | 5 | Release: 6 |
0c91027c | 6 | License: LGPL v2.1+ |
e9c08536 TP |
7 | Group: Libraries |
8 | Source0: http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz | |
9 | # Source0-md5: c3a8e0993f98edb7611c20f46631d2a6 | |
2d992a39 | 10 | Patch0: link.patch |
e9c08536 | 11 | URL: http://oglft.sourceforge.net/ |
0c91027c JB |
12 | BuildRequires: OpenGL-GLU-devel |
13 | BuildRequires: autoconf >= 2.50 | |
e9c08536 | 14 | BuildRequires: automake |
0c91027c | 15 | BuildRequires: freetype-devel >= 2 |
e9c08536 | 16 | BuildRequires: gle-devel |
0c91027c | 17 | BuildRequires: libstdc++-devel |
e9c08536 | 18 | BuildRequires: libtool |
0c91027c | 19 | BuildRequires: qt-devel >= 3 |
e9c08536 TP |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | C++ library that supplies an interface between the fonts on a system | |
24 | and an OpenGL or Mesa application. It uses the excellent FreeType | |
25 | library to read font faces from their files and renders text strings | |
26 | as OpenGL primitives. | |
27 | ||
0c91027c JB |
28 | %description -l pl.UTF-8 |
29 | Bibllioteka C++ zapewniająca interfejs pomiędzy fontami w systemie | |
30 | oraz aplikacjami OpenGL/Mesy. Wykorzystuje świetną bibliotekę FreeType | |
31 | do odczytu wyglądu fontów z plików, natomiast łańcuchy tekstu rysuje | |
32 | jako figury OpenGL. | |
33 | ||
e9c08536 TP |
34 | %package devel |
35 | Summary: Header files for OGLFT | |
0c91027c | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OGLFT |
e9c08536 TP |
37 | Group: Development/Libraries |
38 | Requires: %{name} = %{version}-%{release} | |
0c91027c JB |
39 | Requires: OpenGL-GLU-devel |
40 | Requires: freetype-devel >= 2 | |
41 | Requires: gle-devel | |
42 | Requires: libstdc++-devel | |
43 | Requires: qt-devel >= 3 | |
e9c08536 TP |
44 | |
45 | %description devel | |
46 | Header files for OGLFT. | |
47 | ||
0c91027c JB |
48 | %description devel -l pl.UTF-8 |
49 | Pliki nagłówkowe biblioteki OGLFT. | |
50 | ||
e9c08536 | 51 | %package static |
0c91027c JB |
52 | Summary: Static version of OGLFT library |
53 | Summary(pl.UTF-8): Statyczna wersja biblioteki OGLFT | |
e9c08536 TP |
54 | Group: Development/Libraries |
55 | Requires: %{name}-devel = %{version}-%{release} | |
56 | ||
57 | %description static | |
0c91027c JB |
58 | Static version of OGLFT library. |
59 | ||
60 | %description static -l pl.UTF-8 | |
61 | Statyczna wersja biblioteki OGLFT. | |
e9c08536 TP |
62 | |
63 | %prep | |
64 | %setup -q -n oglft-%{version} | |
2d992a39 | 65 | %patch0 -p1 |
e9c08536 TP |
66 | |
67 | %build | |
2d992a39 | 68 | %{__libtoolize} |
e9c08536 | 69 | %{__aclocal} |
2d992a39 | 70 | %{__autoconf} |
e9c08536 | 71 | %{__autoheader} |
2d992a39 | 72 | %{__automake} |
0c91027c JB |
73 | %configure \ |
74 | CPPFLAGS="%{rpmcppflags} -I/usr/include/qt" \ | |
75 | QTDIR=/usr | |
e9c08536 TP |
76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT | |
83 | ||
95318917 TP |
84 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la |
85 | ||
e9c08536 TP |
86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS ChangeLog NEWS README | |
92 | %attr(755,root,root) %{_libdir}/libOGLFT.so.1.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libOGLFT.so.1 | |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %doc doc/html | |
e9c08536 | 98 | %attr(755,root,root) %{_libdir}/libOGLFT.so |
0c91027c | 99 | %{_includedir}/oglft |
e9c08536 TP |
100 | |
101 | %files static | |
102 | %defattr(644,root,root,755) | |
103 | %{_libdir}/libOGLFT.a |