freeglut-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Name: freeglut
  2. Version: 3.4.0
  3. Release: 1%{?_dist_release}
  4. Summary: A freely licensed alternative to the GLUT library
  5. Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. URL: http://freeglut.sourceforge.net
  10. License: MIT
  11. Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  12. # For the manpages
  13. Source1: https://downloads.sourceforge.net/openglut/openglut-0.6.3-doc.tar.gz
  14. # patch from Fedora
  15. Patch0: common.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: cmake
  18. BuildRequires: pkgconfig
  19. BuildRequires: libICE-devel
  20. BuildRequires: libXext-devel
  21. BuildRequires: libXi-devel
  22. BuildRequires: mesa-libGLU-devel
  23. # The virtual Provides below is present so that this freeglut package is a
  24. # drop in binary replacement for "glut" which will satisfy rpm dependancies
  25. # properly. The Obsoletes tag is required in order for any pre-existing
  26. # "glut" package to be removed and replaced with freeglut when upgrading to
  27. # freeglut. Note: This package will NOT co-exist with the glut package.
  28. Provides: glut = 3.7
  29. Obsoletes: glut <= 3.7
  30. %description
  31. freeglut is a completely open source alternative to the OpenGL Utility Toolkit
  32. (GLUT) library with an OSI approved free software license. GLUT was originally
  33. written by Mark Kilgard to support the sample programs in the second edition
  34. OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical
  35. applications because it is simple, universally available and highly portable.
  36. freeglut allows the user to create and manage windows containing OpenGL
  37. contexts on a wide range of platforms and also read the mouse, keyboard and
  38. joystick functions.
  39. %package devel
  40. Summary: freeglut developmental libraries and header files
  41. Summary(ja): freeglut の開発用ファイル
  42. Group: programming
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: mesa-libGL-devel
  45. Requires: mesa-libGLU-devel
  46. Provides: glut-devel = 3.7
  47. Obsoletes: glut-devel <= 3.7
  48. %description devel
  49. Developmental libraries and header files required for developing or compiling
  50. software which links to the freeglut library, which is an open source
  51. alternative to the popular GLUT library, with an OSI approved free software
  52. license.
  53. %debug_package
  54. %prep
  55. %setup -q -a 1
  56. %patch0 -p0
  57. %build
  58. %cmake -DFREEGLUT_BUILD_STATIC_LIBS=OFF
  59. %cmake_build
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. %cmake_install
  63. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
  64. install -p -m 644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %files
  68. %defattr(-,root,root,-)
  69. %license COPYING
  70. %doc AUTHORS ChangeLog README
  71. # don't include contents of doc/ directory as it is mostly obsolete
  72. %{_libdir}/libglut*.so.*
  73. %files devel
  74. %defattr(-,root,root,-)
  75. %{_includedir}/GL/*.h
  76. %{_libdir}/libglut.so
  77. %dir %{_libdir}/cmake/FreeGLUT
  78. %{_libdir}/cmake/FreeGLUT/*
  79. %{_libdir}/pkgconfig/glut.pc
  80. %{_mandir}/man3/*
  81. %changelog
  82. * Wed Jul 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1
  83. - new upstream release.
  84. * Fri Sep 23 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.2-1
  85. - new upstream release.
  86. - dropped ldconfig scriptlets.
  87. * Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.1-1
  88. - new upstream release
  89. - built with mesa 10.4.4
  90. * Wed Nov 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-1
  91. - update to 2.8.0
  92. - build with mesa-9.0
  93. * Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
  94. - add BuildRequires: libXi-devel
  95. - add Patch0 (freeglut-2.6.0-fixld.patch)
  96. - add Patch1 (freeglut-2.6.0-noxwarn.patch)
  97. * Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  98. - new upstream release
  99. - dropt static libraries
  100. * Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-6
  101. - rebuild with mesa-7.1
  102. * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-5
  103. - new versioning policy
  104. * Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-4vl2
  105. - build with xorg-x11-7.3 and mesa-7.0.2
  106. * Sun Sep 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.0-4vl1
  107. - imported from Fedora Core 5
  108. * Tue Feb 21 2006 Karsten Hopp <karsten@redhat.de> 2.4.0-4
  109. - BuildRequires: libGLU-devel
  110. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.0-3.2
  111. - bump again for double-long bug on ppc(64)
  112. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.0-3.1
  113. - rebuilt for new gcc4.1 snapshot and glibc changes
  114. * Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 2.4.0-3
  115. - Added "Requires: libGL-devel libGLU-devel" to fix bug (#179464)
  116. - Change file based GL header build dep to BuildRequires: libGL-devel
  117. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 2.4.0-2.1
  118. - rebuilt
  119. * Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 2.4.0-2
  120. - Remove references to obsolete /usr/X11R6 paths
  121. * Fri Sep 23 2005 Mike A. Harris <mharris@redhat.com> 2.4.0-1
  122. - Updated to freeglut-2.4.0
  123. - Removed unneeded patches:
  124. - freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
  125. - Use "-p /sbin/ldconfig" in post/postun scripts instead of a separate script.
  126. * Sat Mar 5 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-16
  127. - Added freeglut-2.2.0-gcc4-fix-invalid-lvalue-in-assignment-cvsps-392-393.patch
  128. to fix "invalid lvalue in assignment" bugs reported by gcc 4
  129. - Added "-Wall" to CFLAGS in specfile.
  130. * Thu Mar 3 2005 Mike A. Harris <mharris@redhat.com> 2.2.0-15
  131. - Rebuild with gcc 4 for FC4 development
  132. * Sat Aug 14 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-14
  133. - Add post and postun scripts that call ldconfig (#128413)
  134. * Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-13
  135. - Rebuilt with gcc 3.4 for FC3 development
  136. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 2.2.0-12
  137. - rebuilt
  138. * Thu Mar 18 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-11
  139. - Updated "Obsoletes: glut" to be "Obsoletes: glut <= 3.7" and
  140. "Obsoletes: glut-devel" to be "Obsoletes: glut-devel <= 3.7" as per
  141. suggestion from Matthias Saou in comment #14 of bug (#107228)
  142. * Sun Mar 7 2004 Mike A. Harris <mharris@redhat.com>
  143. - Made "glut-devel" virtual provides be "glut-devel = 3.7"
  144. * Sun Mar 7 2004 Mike A. Harris <mharris@redhat.com> 2.2.0-10
  145. - Initial Red Hat packaging created by taking the ATrpms src.rpm package from
  146. http://tinyurl.com/2goog as suggested in bugzilla bug (#107228)
  147. - Bumped the Release field to "10" so our package is newer when people
  148. upgrade to it, as requested in bug (#107228)
  149. - Removed redundant version/release macros from top of specfile
  150. - Versioned buildroot directory
  151. - Add --enable-warnings arg to ./configure script
  152. - Add HTML documentation to main package
  153. - Made "glut" virtual provides be "glut = 3.7"
  154. - Do not include *.la files
  155. * Sat Feb 21 2004 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> 2.2.0
  156. - Added glut compatibility provides.
  157. - Moved *.so to devel package.
  158. * Tue Jan 13 2004 Andy Piper <andy.piper@freeuk.com>
  159. - updated to freeglut-2.2.0
  160. - fixed library install
  161. * Fri Nov 14 2003 Andy Piper <andy.piper@freeuk.com>
  162. - updated for freeglut-2.0.1
  163. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  164. - rebuilt
  165. * Tue Jun 3 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.3
  166. - Add BuildRequires on /sbin/ldconfig
  167. - Change ldconfig call to explicit /sbin/ldconfig
  168. * Sun Jun 1 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.2
  169. - Oddly, when I build this on my workstation, it only builds static libs, but
  170. when I build it in the buildsystem it builds shared and static libs. Must
  171. be a twilight zone thing going on. Add shared libs to file lists.
  172. * Sat May 31 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.1
  173. - Added -L/usr/X11R6/%{_lib} configure script invocation and CFLAGS so lib64
  174. is treated properly on x86_64/ppc64/s390x architectures
  175. * Fri May 30 2003 Mike A. Harris <mharris@www.linux.org.uk> 1.3-0.20020125.0
  176. - Initial build.