Group :: System/Libraries
RPM: libfreeglut
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: libfreeglut
Version: 2.4.0
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: A freely licensed alternative to the GLUT library
License: MIT
Group: System/Libraries
Url: http://freeglut.sourceforge.net
Source: http://downloads.sourceforge.net/freeglut/freeglut-%version.tar.gz
Patch0: freeglut-2.4.0-cursor.patch
# Automatically added by buildreq on Tue Dec 16 2008
BuildRequires: imake libGL-devel libICE-devel libXext-devel libXt-devel xorg-cf-files
Obsoletes: libglut freeglut
Provides: libglut freeglut
%description
freeglut is a completely open source alternative to the OpenGL Utility Toolkit
(GLUT) library with an OSI approved free software license. GLUT was originally
written by Mark Kilgard to support the sample programs in the second edition
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical
applications because it is simple, universally available and highly portable.
freeglut allows the user to create and manage windows containing OpenGL
contexts on a wide range of platforms and also read the mouse, keyboard and
joystick functions.
%package devel
Summary: Freeglut developmental libraries and header files
Group: Development/C
Requires: %name = %version-%release
Obsoletes: libglut-devel freeglut-devel
Provides: libglut-devel freeglut-devel
%description devel
Developmental libraries and header files required for developing or compiling
software which links to the freeglut library, which is an open source
alternative to the popular GLUT library, with an OSI approved free software
license.
%prep
%setup -n freeglut-%version
%patch0 -p0
%build
# --disable-warnings: don't add -Werror to CFLAGS
%configure --disable-warnings %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%changelog
…
Full changelog you can see here
Name: libfreeglut
Version: 2.4.0
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: A freely licensed alternative to the GLUT library
License: MIT
Group: System/Libraries
Url: http://freeglut.sourceforge.net
Source: http://downloads.sourceforge.net/freeglut/freeglut-%version.tar.gz
Patch0: freeglut-2.4.0-cursor.patch
# Automatically added by buildreq on Tue Dec 16 2008
BuildRequires: imake libGL-devel libICE-devel libXext-devel libXt-devel xorg-cf-files
Obsoletes: libglut freeglut
Provides: libglut freeglut
%description
freeglut is a completely open source alternative to the OpenGL Utility Toolkit
(GLUT) library with an OSI approved free software license. GLUT was originally
written by Mark Kilgard to support the sample programs in the second edition
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical
applications because it is simple, universally available and highly portable.
freeglut allows the user to create and manage windows containing OpenGL
contexts on a wide range of platforms and also read the mouse, keyboard and
joystick functions.
%package devel
Summary: Freeglut developmental libraries and header files
Group: Development/C
Requires: %name = %version-%release
Obsoletes: libglut-devel freeglut-devel
Provides: libglut-devel freeglut-devel
%description devel
Developmental libraries and header files required for developing or compiling
software which links to the freeglut library, which is an open source
alternative to the popular GLUT library, with an OSI approved free software
license.
%prep
%setup -n freeglut-%version
%patch0 -p0
%build
# --disable-warnings: don't add -Werror to CFLAGS
%configure --disable-warnings %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%changelog
…
Full changelog you can see here