gtkglext-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #define __libtoolize:
  2. Summary: GtkGLExt is an OpenGL extension to GTK+ 2.0 or later.
  3. Summary(ja): GTK+ 2.0 以降の OpenGL 拡張
  4. Name: gtkglext
  5. Version: 1.2.0
  6. Release: 6%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: %{name}-%{version}.tar.bz2
  10. # Upstream changes, addressing BZ 677457
  11. Patch0: gtkglext-1.2.0-bz677457.diff
  12. Patch1: gtkglext-1.2.0-pangox-compat.patch
  13. URL: http://gtkglext.sourceforge.net/
  14. BuildRequires: gtk2-devel
  15. BuildRequires: xorg-x11-devel
  16. BuildRequires: mesa-libGL-devel
  17. BuildRequires: mesa-libGLU-devel
  18. BuildRequires: pangox-compat-devel
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Requires: gtk2
  21. Requires: mesa-libGL
  22. %description
  23. GtkGLExt provides additional GDK objects which support OpenGL rendering in GTK+, and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable.
  24. %package devel
  25. Summary: Development tools for GtkGLExt
  26. Summary(ja): GtkGLExt の開発ファイル類
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}
  29. Requires: gtk2-devel
  30. Requires: libXmu-devel
  31. Requires: mesa-libGL-devel
  32. Requires: mesa-libGLU-devel
  33. %description devel
  34. The gtkglext-devel package contains the header files and developer
  35. docs for the GtkGLExt.
  36. %prep
  37. %setup -q
  38. %patch0 -p1
  39. %patch1 -p1 -b .pangox-compat
  40. %build
  41. %configure
  42. make
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. %makeinstall
  46. ## remove unuse files
  47. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-, root, root)
  54. %doc AUTHORS COPYING ChangeLog NEWS README
  55. %doc examples/
  56. %{_libdir}/libgdkglext-x11-1.0.so.*
  57. %{_libdir}/libgtkglext-x11-1.0.so.*
  58. %files devel
  59. %defattr(-, root, root)
  60. %{_includedir}/gtkglext-1.0
  61. %{_libdir}/gtkglext-1.0
  62. %{_libdir}/libgdkglext-x11-1.0.a
  63. #%{_libdir}/libgdkglext-x11-1.0.la
  64. %{_libdir}/libgdkglext-x11-1.0.so
  65. %{_libdir}/libgtkglext-x11-1.0.a
  66. #%{_libdir}/libgtkglext-x11-1.0.la
  67. %{_libdir}/libgtkglext-x11-1.0.so
  68. %{_libdir}/pkgconfig/*.pc
  69. %{_datadir}/aclocal/gtkglext*
  70. %{_datadir}/gtk-doc/html/gtkglext
  71. %changelog
  72. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-6
  73. - add BuildRequires: pangox-compat-devel
  74. - add Patch1 (gtkglext-1.2.0-pangox-compat.patch)
  75. * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-5
  76. - add Patch0 (gtkglext-1.2.0-bz677457.diff)
  77. - add BuildRequires: mesa-libGLU-devel
  78. - add Requires: libXmu-devel, mesa-libGL-devel, mesa-libGLU-devel (-devel package)
  79. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4
  80. - rebuilt with rpm-4.8.1 for pkg-config
  81. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-3vl5
  82. - removed *.la
  83. - spec in utf-8
  84. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2vl5
  85. - rebuilt with xorg-x11-devel
  86. * Mon Apr 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1vl5
  87. - updated to 1.2.0
  88. - added %%post and %%postun section
  89. * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.6-0vl2
  90. - not to run libtoolize in spec file
  91. - added Japanese summary
  92. * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp>
  93. - (1.0.6-0vl1)
  94. - first packaging