# # spec file for package libglfw (Version 2.5.0) # # Copyright (c) 2005 Víctor Fernández Martínez. Valencia, Spain. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: libglfw Summary: Portable framework for OpenGL development Version: 2.5.0 Release: 1polinux URL: http://glfw.sourceforge.net/ Source: glfw-%{version}.tar.bz2 License: BSD-like Group: Development/Libraries/X11 Buildroot: %{_tmppath}/%{name}-%{version}-root #Requires: xorg-x11-server-glx Provides: glfw Packager: Víctor Fernández %description GLFW is a free, open source, portable framework for OpenGL application development. In short, it is a link library that constitutes a powerful API for handling operating system specific tasks, such as opening an OpenGL window and reading keyboard, mouse and joystick input. It also provides functions for reading a high precision timer, using OpenGL extensions, creating and synchronizing threads, reading textures from files and more... Author --------------- Marcus Geelnard %package devel Requires: libglfw = %{version} Summary: Portable framework for OpenGL development, development libraries Group: Development/Libraries/X11 %description devel GLFW is a free, open source, portable framework for OpenGL application development. In short, it is a link library that constitutes a powerful API for handling operating system specific tasks, such as opening an OpenGL window and reading keyboard, mouse and joystick input. It also provides functions for reading a high precision timer, using OpenGL extensions, creating and synchronizing threads, reading textures from files and more... This package contains the development headers required to compile programs that make use of glfw. %prep %setup -q -n glfw-2.5 %build make x11-gcc %install mkdir -p $RPM_BUILD_ROOT/usr/X11/lib cp -f lib/x11/libglfw.a $RPM_BUILD_ROOT/usr/X11/lib mkdir -p $RPM_BUILD_ROOT/usr/X11/include/GL cp -f include/GL/glfw.h $RPM_BUILD_ROOT/usr/X11/include/GL mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cp -f license.txt readme.html $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} %clean rm -rf $RPM_BUILD_ROOT %post ldconfig %postun ldconfig %files %defattr(-,root,root) /usr/X11/lib/* %doc license.txt readme.html %files devel /usr/X11/include/GL/* %changelog * Fri Aug 19 2005 - vfernandez@polinux.upv.es - first build