7 Summary: Freely licensed alternative to the GLUT library
8 Url: http://freeglut.sourceforge.net/
9 Group: System/Libraries
10 Source: %{name}-%{version}.tar.bz2
11 BuildRequires: gcc-c++
12 BuildRequires: libtool
13 BuildRequires: mesa-devel
14 BuildRequires: pkgconfig
15 BuildRequires: pkgconfig(glu)
16 BuildRequires: pkgconfig(libdrm)
17 BuildRequires: pkgconfig(xi)
20 Freeglut is a completely open source alternative to the OpenGL Utility
21 Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
22 support the sample programs in the second edition OpenGL Redbook. Since
23 then, GLUT has been used in a wide variety of practical applications
24 because it is simple, universally available, and highly portable.
26 GLUT (and freeglut) allow the user to create and manage windows
27 containing OpenGL contexts and also read the mouse, keyboard, and
28 joystick functions on a wide range of platforms.
31 Summary: Freely licensed alternative to the GLUT library
32 Group: Development/Libraries/X11
34 %description -n libglut
35 Freeglut is a completely open source alternative to the OpenGL Utility
36 Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
37 support the sample programs in the second edition OpenGL Redbook. Since
38 then, GLUT has been used in a wide variety of practical applications
39 because it is simple, universally available, and highly portable.
41 GLUT (and freeglut) allow the user to create and manage windows
42 containing OpenGL contexts and also read the mouse, keyboard, and
43 joystick functions on a wide range of platforms.
46 Summary: Development libraries, includes and man pages for freeglut (GLUT Library)
47 Group: Development/Libraries/X11
48 Requires: libglut = %{version}
52 This package contains all necessary include files and libraries needed
53 to compile and link applications for the freeglut library.
55 In addition, it also includes manual pages which describe all functions
56 provided by the freeglut library.
58 Freeglut is a completely open source alternative to the OpenGL Utility
59 Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
60 support the sample programs in the second edition OpenGL Redbook. Since
61 then, GLUT has been used in a wide variety of practical applications
62 because it is simple, universally available, and highly portable.
64 GLUT (and freeglut) allow the user to create and manage windows
65 containing OpenGL contexts and also read the mouse, keyboard, and
66 joystick functions on a wide range of platforms.
69 Summary: Demonstration applications for the freeglut library
70 Group: System/X11/Utilities
73 This package contains demonstration applications for the freeglut library.
75 Freeglut is a completely open source alternative to the OpenGL Utility
76 Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to
77 support the sample programs in the second edition OpenGL Redbook. Since
78 then, GLUT has been used in a wide variety of practical applications
79 because it is simple, universally available, and highly portable.
81 GLUT (and freeglut) allow the user to create and manage windows
82 containing OpenGL contexts and also read the mouse, keyboard, and
83 joystick functions on a wide range of platforms.
91 --enable-replace-glut \
96 make %{?_smp_mflags} -C src
97 make %{?_smp_mflags} -C include
100 make install -C src DESTDIR=%{buildroot}
101 make install -C include DESTDIR=%{buildroot}
102 rm -rf %{buildroot}%{_libdir}/libglut.la
104 %post -n libglut -p /sbin/ldconfig
106 %postun -n libglut -p /sbin/ldconfig
109 %defattr(-,root,root)
111 %{_libdir}/libglut.so.*
114 %defattr(-,root,root)
116 %{_libdir}/libglut.so