mesa-libGLU-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.0
  6. Release: 3%{?_dist_release}
  7. License: MIT
  8. Group: System Environment/Libraries
  9. URL: http://mesa3d.org/
  10. Source0: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-%{version}.tar.bz2
  11. Source2: make-git-snapshot.sh
  12. BuildRequires: mesa-libGL-devel
  13. Provides: libGLU = %{version}-%{release}
  14. %description
  15. Mesa implementation of the standard GLU OpenGL utility API.
  16. %package devel
  17. Summary: Development files for %{name}
  18. Summary(ja): %{name} の開発ファイル
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: mesa-libGL-devel >= 9.0.0
  22. Provides: libGLU-devel = %{version}-%{release}
  23. %description devel
  24. The %{name}-devel package contains libraries and header files for
  25. developing applications that use %{name}.
  26. # compat32
  27. %package -n compat32-%{name}
  28. Summary: Mesa libGLU runtime library
  29. Summary(ja): Mesa libGLU ランタイムライブラリ
  30. Group: System Environment/Libraries
  31. Requires(post): /sbin/ldconfig
  32. Requires(postun): /sbin/ldconfig
  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: Development/Libraries
  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. %prep
  46. %setup -q -n glu-%{version}
  47. %build
  48. %configure --disable-static
  49. make %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  54. rm -rf $RPM_BUILD_ROOT%{_datadir}/man/man3/gl[A-Z]*
  55. %post -p /sbin/ldconfig
  56. %post -n compat32-%{name} -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %postun -n compat32-%{name} -p /sbin/ldconfig
  59. %files
  60. %{_libdir}/libGLU.so.1
  61. %{_libdir}/libGLU.so.1.3.*
  62. %files devel
  63. %{_includedir}/GL/glu*.h
  64. %{_libdir}/libGLU.so
  65. %{_libdir}/pkgconfig/glu.pc
  66. %if %{build_compat32}
  67. %files -n compat32-%{name}
  68. %{_libdir}/libGLU.so.1
  69. %{_libdir}/libGLU.so.1.3.*
  70. %files -n compat32-%{name}-devel
  71. %{_includedir}/GL/glu*.h
  72. %{_libdir}/libGLU.so
  73. %{_libdir}/pkgconfig/glu.pc
  74. %endif
  75. %changelog
  76. * Tue Oct 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.0.0-3
  77. - added Group tag
  78. * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 9.0.0-2
  79. - add Requires: mesa-libGL-devel to mesa-libGLU-devel package
  80. - remove Requires: mesa-libGL-devel from compat-mesa-libGLU-devel package
  81. * Sat Nov 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.0-1
  82. - initial build for Vine Linux
  83. * Tue Sep 18 2012 Adam Jackson <ajax@redhat.com> 9.0.0-1
  84. - libGLU 9.0
  85. * Mon Sep 10 2012 Dave Airlie <airlied@redhat.com> 9.0-0.2
  86. - add back libGLU provides for now
  87. * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 9.0-0.1
  88. - Initial packaging for split libGLU