]>
Commit | Line | Data |
---|---|---|
f47c7d95 | 1 | Summary: A freely licensed alternative to the GLUT library |
d0191a96 | 2 | Summary(pl.UTF-8): Zamiennik biblioteki GLUT na wolnej licencji |
f47c7d95 | 3 | Name: freeglut |
03ac66ec PZ |
4 | Version: 2.6.0 |
5 | Release: 1 | |
f47c7d95 JB |
6 | License: MIT |
7 | Group: Libraries | |
27c737c8 | 8 | Source0: http://downloads.sourceforge.net/freeglut/%{name}-%{version}.tar.gz |
03ac66ec | 9 | # Source0-md5: 39f0f2de89f399529d2b981188082218 |
f47c7d95 JB |
10 | URL: http://freeglut.sourceforge.net/ |
11 | BuildRequires: OpenGL-GLU-devel | |
3e3c81fe JB |
12 | BuildRequires: autoconf >= 2.59-9 |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRequires: xorg-lib-libXext-devel | |
27c737c8 | 16 | BuildRequires: xorg-lib-libXi-devel |
3e3c81fe | 17 | BuildRequires: xorg-lib-libXxf86vm-devel |
05ab4e2e | 18 | Provides: OpenGL-glut = 4.0 |
7770b64f | 19 | Obsoletes: glut |
f47c7d95 JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | Freeglut, the Free OpenGL Utility Toolkit, is meant to be a free | |
24 | alternative to Mark Kilgard's GLUT library. It is distributed under an | |
25 | X-Consortium style license (see COPYING for details), to offer you a | |
26 | chance to use and/or modify the source. | |
27 | ||
28 | It makes use of OpenGL, GLU, and pthread libraries. The library does | |
29 | not make use of any GLUT code and is not 100% compatible. Code | |
30 | recompilation and/or slight modifications might be required for your | |
31 | applications to work with freeglut. | |
32 | ||
692b2449 JR |
33 | %description -l pl.UTF-8 |
34 | Freeglut to Free OpenGL Utility Toolkit, mający być wolnodostępnym | |
f47c7d95 | 35 | zamiennikiem biblioteki GLUT Marka Kilgarda. Jest rozprowadzany na |
692b2449 JR |
36 | licencji w stylu X-Consortium (szczegóły w pliku COPYING), aby |
37 | umożliwić korzystanie i/lub modyfikowanie źródeł. | |
f47c7d95 JB |
38 | |
39 | Korzysta z bibliotek OpenGL, GLU i pthread. Biblioteka nie korzysta z | |
692b2449 JR |
40 | żadnego kodu GLUT-a i nie jest w 100% kompatybilna. Do działania |
41 | aplikacji z freeglutem może być konieczna rekompilacja kodu i/lub małe | |
f47c7d95 JB |
42 | modyfikacje. |
43 | ||
44 | %package devel | |
45 | Summary: Header files for freeglut library | |
d0191a96 | 46 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki freeglut |
f47c7d95 JB |
47 | Group: Development/Libraries |
48 | Requires: %{name} = %{version}-%{release} | |
49 | Requires: OpenGL-GLU-devel | |
3e3c81fe | 50 | Requires: xorg-lib-libXext-devel |
f543f19b | 51 | Requires: xorg-lib-libXi-devel |
3e3c81fe | 52 | Requires: xorg-lib-libXxf86vm-devel |
05ab4e2e | 53 | Provides: OpenGL-glut-devel = 4.0 |
7770b64f | 54 | Obsoletes: glut-devel |
f47c7d95 JB |
55 | |
56 | %description devel | |
57 | Header files for freeglut library. | |
58 | ||
692b2449 JR |
59 | %description devel -l pl.UTF-8 |
60 | Pliki nagłówkowe biblioteki freeglut. | |
f47c7d95 JB |
61 | |
62 | %package static | |
63 | Summary: Static freeglut library | |
d0191a96 | 64 | Summary(pl.UTF-8): Statyczna biblioteka freeglut |
f47c7d95 JB |
65 | Group: Development/Libraries |
66 | Requires: %{name}-devel = %{version}-%{release} | |
05ab4e2e | 67 | Provides: OpenGL-glut-static = 4.0 |
7770b64f | 68 | Obsoletes: glut-static |
f47c7d95 JB |
69 | |
70 | %description static | |
71 | Static freeglut library. | |
72 | ||
692b2449 | 73 | %description static -l pl.UTF-8 |
f47c7d95 JB |
74 | Statyczna biblioteka freeglut. |
75 | ||
76 | %prep | |
77 | %setup -q | |
78 | ||
79 | %build | |
3e3c81fe JB |
80 | %{__libtoolize} |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
d001085f MB |
85 | %configure \ |
86 | --disable-warnings | |
f47c7d95 JB |
87 | %{__make} |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
be493e91 | 103 | %doc AUTHORS COPYING ChangeLog FrequentlyAskedQuestions NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png} |
f47c7d95 JB |
104 | %lang(fr) %doc LISEZ_MOI |
105 | %attr(755,root,root) %{_libdir}/libglut.so.*.*.* | |
d001085f | 106 | %attr(755,root,root) %ghost %{_libdir}/libglut.so.3 |
f47c7d95 JB |
107 | |
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
110 | %doc doc/{freeglut_user_interface.html,structure.html} | |
111 | %attr(755,root,root) %{_libdir}/libglut.so | |
112 | %{_libdir}/libglut.la | |
113 | %{_includedir}/GL/freeglut*.h | |
114 | %{_includedir}/GL/glut.h | |
115 | ||
116 | %files static | |
117 | %defattr(644,root,root,755) | |
118 | %{_libdir}/libglut.a |