1 Summary: A freely licensed alternative to the GLUT library
2 Summary(pl.UTF-8): Zamiennik biblioteki GLUT na wolnej licencji
8 Source0: http://dl.sourceforge.net/freeglut/%{name}-%{version}.tar.gz
9 # Source0-md5: 6d16873bd876fbf4980a927cfbc496a1
10 Patch0: %{name}-gcc4.patch
11 URL: http://freeglut.sourceforge.net/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: autoconf >= 2.59-9
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: xorg-lib-libXext-devel
17 BuildRequires: xorg-lib-libXxf86vm-devel
18 Provides: OpenGL-glut = 4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
33 %description -l pl.UTF-8
34 Freeglut to Free OpenGL Utility Toolkit, mający być wolnodostępnym
35 zamiennikiem biblioteki GLUT Marka Kilgarda. Jest rozprowadzany na
36 licencji w stylu X-Consortium (szczegóły w pliku COPYING), aby
37 umożliwić korzystanie i/lub modyfikowanie źródeł.
39 Korzysta z bibliotek OpenGL, GLU i pthread. Biblioteka nie korzysta z
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
45 Summary: Header files for freeglut library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki freeglut
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: OpenGL-GLU-devel
50 Requires: xorg-lib-libXext-devel
51 Requires: xorg-lib-libXxf86vm-devel
52 Provides: OpenGL-glut-devel = 4.0
56 Header files for freeglut library.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki freeglut.
62 Summary: Static freeglut library
63 Summary(pl.UTF-8): Statyczna biblioteka freeglut
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
66 Provides: OpenGL-glut-static = 4.0
67 Obsoletes: glut-static
70 Static freeglut library.
72 %description static -l pl.UTF-8
73 Statyczna biblioteka freeglut.
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc AUTHORS COPYING ChangeLog NEWS README TODO doc/{freeglut.html,index.html,progress.html,*.png}
103 %lang(fr) %doc LISEZ_MOI
104 %attr(755,root,root) %{_libdir}/libglut.so.*.*.*
107 %defattr(644,root,root,755)
108 %doc doc/{freeglut_user_interface.html,structure.html}
109 %attr(755,root,root) %{_libdir}/libglut.so
110 %{_libdir}/libglut.la
111 %{_includedir}/GL/freeglut*.h
112 %{_includedir}/GL/glut.h
115 %defattr(644,root,root,755)