From 820e9b9a2faaec380048d20c35345943e961a199 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:17:07 +0100 Subject: [PATCH] automatic version update by autodist [release 2.8.1-1mamba;Tue Apr 09 2013] --- README.md | 6 ++++ libfreeglut.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 libfreeglut.spec diff --git a/README.md b/README.md index 1ea42dc..7d08678 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # libfreeglut +freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. 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, widely available and highly portable. + +GLUT (and hence 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. + +freeglut is released under the X-Consortium license. + diff --git a/libfreeglut.spec b/libfreeglut.spec new file mode 100644 index 0000000..5632a31 --- /dev/null +++ b/libfreeglut.spec @@ -0,0 +1,93 @@ +Name: libfreeglut +Version: 2.8.1 +Release: 1mamba +Summary: GLUT (and hence freeglut) allows the user to create and manage windows containing OpenGL contexts +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://freeglut.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/freeglut/freeglut/%{version}/freeglut-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libGL-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXrandr-devel +BuildRequires: libXxf86vm-devel +## AUTOBUILDREQ-END +Provides: libGLUT +Obsoletes: libGLUT +Provides: libglut +Obsoletes: libglut +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%description +freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. 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, widely available and highly portable. + +GLUT (and hence 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. + +freeglut is released under the X-Consortium license. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: libGLUT-devel +Obsoletes: libGLUT-devel +Provides: libglut-devel +Obsoletes: libglut-devel + +%description devel +freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. 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, widely available and highly portable. + +GLUT (and hence 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. + +freeglut is released under the X-Consortium license. + +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q -n freeglut-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) + %{_libdir}/libglut.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/GL/freeglut*.h +%{_includedir}/GL/glut.h +%{_libdir}/libglut.a +%{_libdir}/libglut.la +%{_libdir}/libglut.so +%doc ChangeLog NEWS README README.cygwin_mingw README.mac README.win32 TODO + +%changelog +* Tue Apr 09 2013 Automatic Build System 2.8.1-1mamba +- automatic version update by autodist + +* Sun Feb 19 2012 Silvan Calarco 2.8.0-2mamba +- provide libglut and libglut-devel + +* Fri Feb 17 2012 Silvan Calarco 2.8.0-1mamba +- package created by autospec