glew-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. Name: glew
  2. Version: 1.5.2
  3. Release: 1%{?_dist_release}
  4. Summary: The OpenGL Extension Wrangler Library
  5. Group: System Environment/Libraries
  6. License: BSD and MIT
  7. URL: http://glew.sourceforge.net
  8. Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
  9. Patch0: glew-1.5.2-makefile.patch
  10. Patch1: glew-1.5.2-add-needed.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: libGLU-devel
  13. %description
  14. The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++
  15. extension loading library. GLEW provides efficient run-time mechanisms for
  16. determining which OpenGL extensions are supported on the target platform.
  17. OpenGL core and extension functionality is exposed in a single header file.
  18. GLEW is available for a variety of operating systems, including Windows, Linux,
  19. Mac OS X, FreeBSD, Irix, and Solaris.
  20. %package devel
  21. Summary: Development files for glew
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libGLU-devel
  25. %description devel
  26. Development files for glew
  27. %prep
  28. %setup -q
  29. %patch0 -p1
  30. %patch1 -p1
  31. %__sed -i -e 's/\r//g' config/config.guess
  32. %build
  33. %__make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS"
  34. %install
  35. %__rm -rf $RPM_BUILD_ROOT
  36. %__make install \
  37. GLEW_DEST="$RPM_BUILD_ROOT" \
  38. libdir=%{_libdir} \
  39. bindir=%{_bindir} \
  40. includedir=%{_includedir}
  41. %__rm $RPM_BUILD_ROOT%{_libdir}/libGLEW.a
  42. %clean
  43. %__rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc LICENSE.txt
  49. %{_bindir}/*
  50. %{_libdir}/libGLEW.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_libdir}/libGLEW.so
  54. %{_includedir}/GL/*.h
  55. %doc doc/*
  56. %changelog
  57. * Sat Apr 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.5.2-1
  58. - built based on Fedora development
  59. * Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.5.2-2
  60. - glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed
  61. * Tue Feb 02 2010 Adam Jackson <ajax@redhat.com> 1.5.2-1
  62. - glew 1.5.2
  63. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Thu Nov 13 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.5.1-1
  68. - New upstream release (#469639)
  69. - Fix licenseing issue with developer documentation
  70. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2
  71. - Autorebuild for GCC 4.3
  72. * Mon Jan 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.5.0-1
  73. - New upstream version, now SGI licensed stuff free out of the box!
  74. - Unfortunately some of the included docs are under a non free license,
  75. therefor this package is based on a modified tarbal with these files removed
  76. * Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-4
  77. - Add missing GL_FLOAT_MATXxX defines
  78. * Sat Aug 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-3
  79. - Fix multiple unused direct shlib dependencies in libGLEW.so
  80. - Remove the "SGI Free Software License B" and "GLX Public License" tekst from
  81. the doc dir in the tarbal
  82. - Patch credits.html to no longer refer to the 2 non free licenses, instead it
  83. now points to LICENSE-README.fedora
  84. - Put API docs in -devel instead of main package
  85. * Mon Aug 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-2
  86. - Remove SGI encumbered files to make this ok to go into Fedora
  87. - Replace some removed files with (modified) mesa files
  88. - Regenerate some of the removed files using the mesa replacemenmt files
  89. and the scripts in the auto directory
  90. - Readd wglew.h, some programs may need this to compile
  91. - Update License tag for new Licensing Guidelines compliance
  92. * Sun May 06 2007 Ian Chapman <packages@amiga-hardware.com> 1.4.0-1%{?dist}
  93. - Updated to 1.4.0
  94. * Sun Mar 04 2007 Ian Chapman <packages@amiga-hardware.com> 1.3.6-1%{?dist}
  95. - Updated to 1.3.6
  96. - Updated pathandstrip patch
  97. - Dropped xlib patch - fixed upstream
  98. - Dropped sed EOL replacements - fixed upstream
  99. - Changed license to GPL
  100. * Fri Dec 01 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.5-1%{?dist}
  101. - Updated to 1.3.5
  102. - Fixed stripping of the binaries
  103. - Reinstate parallel building, no longer appears broken
  104. - Removed FC4 specifics from spec (no longer supported)
  105. * Tue Jun 20 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-3%{?dist}
  106. - Added buildrequire macros to determine fc4, fc5, fc6 due to X modularisation
  107. * Sun Jun 04 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-2%{?dist}
  108. - Replaced %%{_sed} macro with sed
  109. - Replaced xorg-x11-devel (build)requires with libGLU-devel for compatibility
  110. with modular / non-modular X
  111. - Replaced source URL to use primary sf site rather than a mirror
  112. - Removed superfluous docs from devel package
  113. - Removed wglew.h, seems to be only useful for windows platforms
  114. * Thu May 11 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-1.iss
  115. - Initial Release