Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37561863
en ru br
ALT Linux repositórios
S:2.8.1-alt4

Group :: System/Legacy libraries
RPM: libfreeglut2.8

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libfreeglut2.8
Version: 2.8.1
Release: alt4

Summary: A 2.8 version of the freely licensed alternative to the GLUT library
License: MIT
Group: System/Legacy libraries

Url: http://freeglut.sourceforge.net/
Source: freeglut-%version.tar
# fc
# #1017551: Don't check whether a menu is active while manipulating it
Patch0: freeglut-2.8.1-fc-nocheck.patch
Patch1: libfreeglut-alt-fix-visibility-hidden.patch

BuildRequires: imake libGLU-devel libICE-devel libXi-devel libXrandr-devel libXxf86vm-devel xorg-cf-files

%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 = %EVR
# due to freeglut_std.h
Requires: libGL-devel libGLU-devel
Conflicts: libmesaglut-devel libfreeglut-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 -p1
%patch1 -p2

%build
%add_optflags -fvisibility=hidden
%ifarch %e2k
%add_optflags -lm
%endif
sed -i -s 's,LIBRARY=glut,LIBRARY=glut-2.8,' configure.ac
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std

%files
%_libdir/*.so.*

%files devel
%_includedir/*
%_libdir/*.so

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009