From d4126bc64fdf37816a3faa227a37b7113ccf52ab Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mar 07 2012 16:59:55 +0000 Subject: Renamed the source package to mingw-freeglut --- diff --git a/mingw-freeglut.spec b/mingw-freeglut.spec new file mode 100644 index 0000000..ddb30ac --- /dev/null +++ b/mingw-freeglut.spec @@ -0,0 +1,126 @@ +%global __strip %{_mingw32_strip} +%global __objdump %{_mingw32_objdump} +%global _use_internal_dependency_generator 0 +%global __find_requires %{_mingw32_findrequires} +%global __find_provides %{_mingw32_findprovides} + +Name: mingw-freeglut +Version: 2.6.0 +Release: 0.5.rc1%{?dist} +Summary: Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT) + +License: MIT +Group: Development/Libraries + +URL: http://freeglut.sourceforge.net +Source0: http://downloads.sourceforge.net/freeglut/freeglut-%{version}-rc1.tar.gz + +# Patches from native Fedora package: +# (none) + +# Case sensitivity of the header includes. +Patch1000: freeglut-2.6.0-header-case.patch + +# Hack to disable X / enable Windows in the configure.ac file. +Patch1001: freeglut-2.6.0-disable-X.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 35 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-binutils + +BuildRequires: dos2unix + +# Because we patch configure.ac. +BuildRequires: autoconf, automake, libtool + + +%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. + +%{_mingw32_description} + + +%package -n mingw32-freeglut +Summary: Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT) + +%description -n mingw32-freeglut +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. + +%{_mingw32_description} + + +%prep +%setup -q -n freeglut-2.6.0 + +%patch1000 -p1 +%patch1001 -p1 + +autoreconf +libtoolize + +dos2unix -k FrequentlyAskedQuestions + + +%build +%{_mingw32_configure} --disable-static --enable-shared +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libglut.la + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -n mingw32-freeglut +%defattr(-,root,root,-) +%doc AUTHORS COPYING FrequentlyAskedQuestions NEWS README README.win32 TODO +%{_mingw32_bindir}/libglut-0.dll +%{_mingw32_libdir}/libglut.dll.a +%{_mingw32_includedir}/GL/freeglut.h +%{_mingw32_includedir}/GL/freeglut_ext.h +%{_mingw32_includedir}/GL/freeglut_std.h +%{_mingw32_includedir}/GL/glut.h + + +%changelog +* Wed Mar 07 2012 Erik van Pienbroek - 2.6.0-0.5.rc1 +- Renamed the source package to mingw-freeglut (RHBZ #800866) + +* Mon Feb 27 2012 Erik van Pienbroek - 2.6.0-0.4.rc1 +- Rebuild against the mingw-w64 toolchain + +* Fri Jan 13 2012 Fedora Release Engineering - 2.6.0-0.3.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.6.0-0.2.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Oct 14 2009 Richard W.M. Jones - 2.6.0-0.1.rc1 +- Initial RPM release. diff --git a/mingw32-freeglut.spec b/mingw32-freeglut.spec deleted file mode 100644 index 94edb2e..0000000 --- a/mingw32-freeglut.spec +++ /dev/null @@ -1,105 +0,0 @@ -%global __strip %{_mingw32_strip} -%global __objdump %{_mingw32_objdump} -%global _use_internal_dependency_generator 0 -%global __find_requires %{_mingw32_findrequires} -%global __find_provides %{_mingw32_findprovides} - -Name: mingw32-freeglut -Version: 2.6.0 -Release: 0.4.rc1%{?dist} -Summary: Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT) - -License: MIT -Group: Development/Libraries - -URL: http://freeglut.sourceforge.net -Source0: http://downloads.sourceforge.net/freeglut/freeglut-%{version}-rc1.tar.gz - -# Patches from native Fedora package: -# (none) - -# Case sensitivity of the header includes. -Patch1000: freeglut-2.6.0-header-case.patch - -# Hack to disable X / enable Windows in the configure.ac file. -Patch1001: freeglut-2.6.0-disable-X.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -BuildRequires: mingw32-filesystem >= 35 -BuildRequires: mingw32-gcc -BuildRequires: mingw32-binutils - -BuildRequires: dos2unix - -# Because we patch configure.ac. -BuildRequires: autoconf, automake, libtool - - -%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. - -%{_mingw32_description} - - -%prep -%setup -q -n freeglut-2.6.0 - -%patch1000 -p1 -%patch1001 -p1 - -autoreconf -libtoolize - -dos2unix -k FrequentlyAskedQuestions - - -%build -%{_mingw32_configure} --disable-static --enable-shared -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install - -rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libglut.la - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING FrequentlyAskedQuestions NEWS README README.win32 TODO -%{_mingw32_bindir}/libglut-0.dll -%{_mingw32_libdir}/libglut.dll.a -%{_mingw32_includedir}/GL/freeglut.h -%{_mingw32_includedir}/GL/freeglut_ext.h -%{_mingw32_includedir}/GL/freeglut_std.h -%{_mingw32_includedir}/GL/glut.h - - -%changelog -* Mon Feb 27 2012 Erik van Pienbroek - 2.6.0-0.4.rc1 -- Rebuild against the mingw-w64 toolchain - -* Fri Jan 13 2012 Fedora Release Engineering - 2.6.0-0.3.rc1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Feb 08 2011 Fedora Release Engineering - 2.6.0-0.2.rc1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Oct 14 2009 Richard W.M. Jones - 2.6.0-0.1.rc1 -- Initial RPM release.