glew-vl.spec 5.2 KB

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