mesa-libGLU-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: mesa-libGLU
  3. Summary: Mesa libGLU library
  4. Summary(ja): Mesa libGLU ライブラリ
  5. Version: 9.0.2
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: MIT
  11. URL: https://www.mesa3d.org/
  12. Source0: https://archive.mesa3d.org/glu/glu-%{version}.tar.xz
  13. Source2: make-git-snapshot.sh
  14. BuildRequires: mesa-libGL-devel
  15. Provides: libGLU = %{version}-%{release}
  16. %description
  17. Mesa implementation of the standard GLU OpenGL utility API.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発ファイル
  21. Group: programming
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: mesa-libGL-devel >= 9.0.0
  24. Provides: libGLU-devel = %{version}-%{release}
  25. %description devel
  26. The %{name}-devel package contains libraries and header files for
  27. developing applications that use %{name}.
  28. # compat32
  29. %package -n compat32-%{name}
  30. Summary: Mesa libGLU runtime library
  31. Summary(ja): Mesa libGLU ランタイムライブラリ
  32. Group: system,legacy
  33. Requires: %{name} = %{version}-%{release}
  34. %description -n compat32-%{name}
  35. Mesa libGLU runtime library
  36. %package -n compat32-%{name}-devel
  37. Summary: Mesa libGLU development package
  38. Summary(ja): Mesa libGLU 開発パッケージ
  39. Group: programming,legacy
  40. Requires: compat32-mesa-libGL >= 9.0.0
  41. Requires: compat32-%{name} = %{version}-%{release}
  42. Requires: %{name}-devel = %{version}-%{release}
  43. %description -n compat32-%{name}-devel
  44. Mesa libGLU development package
  45. %debug_package
  46. %prep
  47. %setup -q -n glu-%{version}
  48. %build
  49. %configure --disable-static
  50. make %{?_smp_mflags}
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  55. rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
  56. %files
  57. %{_libdir}/libGLU.so.1
  58. %{_libdir}/libGLU.so.1.3.*
  59. %files devel
  60. %{_includedir}/GL/glu*.h
  61. %{_libdir}/libGLU.so
  62. %{_libdir}/pkgconfig/glu.pc
  63. %if %{build_compat32}
  64. %files -n compat32-%{name}
  65. %{_libdir}/libGLU.so.1
  66. %{_libdir}/libGLU.so.1.3.*
  67. %files -n compat32-%{name}-devel
  68. %{_includedir}/GL/glu*.h
  69. %{_libdir}/libGLU.so
  70. %{_libdir}/pkgconfig/glu.pc
  71. %endif
  72. %changelog
  73. * Sun Oct 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.2-1
  74. - new upstream release.
  75. - dropped ldconfig scriptlets.
  76. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-4
  77. - rebuild with gcc-5.4.0
  78. * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.0.0-3
  79. - added Group tag
  80. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-2
  81. - add Requires: mesa-libGL-devel to mesa-libGLU-devel package
  82. - remove Requires: mesa-libGL-devel from compat-mesa-libGLU-devel package
  83. * Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.0-1
  84. - initial build for Vine Linux
  85. * Tue Sep 18 2012 Adam Jackson <ajax@redhat.com> 9.0.0-1
  86. - libGLU 9.0
  87. * Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
  88. - add back libGLU provides for now
  89. * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
  90. - Initial packaging for split libGLU