glew-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Name: glew
  2. Version: 1.13.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.13.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 -fPIC" includedir=%{_includedir} STRIP= libdir=%{_libdir} bindir=%{_bindir} GLEW_DEST=
  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. * Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.13.0-1
  60. - new upstream release
  61. - update Patch0 (glew-1.13.0-makefile.patch)
  62. * Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-1
  63. - new upstream release
  64. - update Patch0 (glew-1.7.0-makefile.patch)
  65. - remove Patch1
  66. * Sat Apr 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.5.2-1
  67. - built based on Fedora development
  68. * Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.5.2-2
  69. - glew-1.5.2-add-needed.patch: Fix FTBFS from --no-add-needed
  70. * Tue Feb 02 2010 Adam Jackson <ajax@redhat.com> 1.5.2-1
  71. - glew 1.5.2
  72. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Thu Nov 13 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.5.1-1
  77. - New upstream release (#469639)
  78. - Fix licenseing issue with developer documentation
  79. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2
  80. - Autorebuild for GCC 4.3
  81. * Mon Jan 21 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.5.0-1
  82. - New upstream version, now SGI licensed stuff free out of the box!
  83. - Unfortunately some of the included docs are under a non free license,
  84. therefor this package is based on a modified tarbal with these files removed
  85. * Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-4
  86. - Add missing GL_FLOAT_MATXxX defines
  87. * Sat Aug 18 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-3
  88. - Fix multiple unused direct shlib dependencies in libGLEW.so
  89. - Remove the "SGI Free Software License B" and "GLX Public License" tekst from
  90. the doc dir in the tarbal
  91. - Patch credits.html to no longer refer to the 2 non free licenses, instead it
  92. now points to LICENSE-README.fedora
  93. - Put API docs in -devel instead of main package
  94. * Mon Aug 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-2
  95. - Remove SGI encumbered files to make this ok to go into Fedora
  96. - Replace some removed files with (modified) mesa files
  97. - Regenerate some of the removed files using the mesa replacemenmt files
  98. and the scripts in the auto directory
  99. - Readd wglew.h, some programs may need this to compile
  100. - Update License tag for new Licensing Guidelines compliance
  101. * Sun May 06 2007 Ian Chapman <packages@amiga-hardware.com> 1.4.0-1%{?dist}
  102. - Updated to 1.4.0
  103. * Sun Mar 04 2007 Ian Chapman <packages@amiga-hardware.com> 1.3.6-1%{?dist}
  104. - Updated to 1.3.6
  105. - Updated pathandstrip patch
  106. - Dropped xlib patch - fixed upstream
  107. - Dropped sed EOL replacements - fixed upstream
  108. - Changed license to GPL
  109. * Fri Dec 01 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.5-1%{?dist}
  110. - Updated to 1.3.5
  111. - Fixed stripping of the binaries
  112. - Reinstate parallel building, no longer appears broken
  113. - Removed FC4 specifics from spec (no longer supported)
  114. * Tue Jun 20 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-3%{?dist}
  115. - Added buildrequire macros to determine fc4, fc5, fc6 due to X modularisation
  116. * Sun Jun 04 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-2%{?dist}
  117. - Replaced %%{_sed} macro with sed
  118. - Replaced xorg-x11-devel (build)requires with libGLU-devel for compatibility
  119. with modular / non-modular X
  120. - Replaced source URL to use primary sf site rather than a mirror
  121. - Removed superfluous docs from devel package
  122. - Removed wglew.h, seems to be only useful for windows platforms
  123. * Thu May 11 2006 Ian Chapman <packages@amiga-hardware.com> 1.3.4-1.iss
  124. - Initial Release