gtkglext-vl.spec 3.1 KB

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