gtkglext-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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: 3%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: %{name}-%{version}.tar.bz2
  10. URL: http://gtkglext.sourceforge.net/
  11. BuildRequires: gtk2-devel
  12. BuildRequires: xorg-x11-devel mesa-libGL-devel
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: gtk2
  15. Requires: mesa-libGL
  16. %description
  17. GtkGLExt provides additional GDK objects which support OpenGL rendering in GTK+, and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable.
  18. %package devel
  19. Summary: Development tools for GtkGLExt
  20. Summary(ja): GtkGLExt の開発ファイル類
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}
  23. Requires: gtk2-devel
  24. Requires: mesa-libGL
  25. %description devel
  26. The gtkglext-devel package contains the header files and developer
  27. docs for the GtkGLExt.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %makeinstall
  36. ## remove unuse files
  37. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-, root, root)
  44. %doc AUTHORS COPYING ChangeLog NEWS README
  45. %doc examples/
  46. %{_libdir}/libgdkglext-x11-1.0.so.*
  47. %{_libdir}/libgtkglext-x11-1.0.so.*
  48. %files devel
  49. %defattr(-, root, root)
  50. %{_includedir}/gtkglext-1.0
  51. %{_libdir}/gtkglext-1.0
  52. %{_libdir}/libgdkglext-x11-1.0.a
  53. #%{_libdir}/libgdkglext-x11-1.0.la
  54. %{_libdir}/libgdkglext-x11-1.0.so
  55. %{_libdir}/libgtkglext-x11-1.0.a
  56. #%{_libdir}/libgtkglext-x11-1.0.la
  57. %{_libdir}/libgtkglext-x11-1.0.so
  58. %{_libdir}/pkgconfig/*.pc
  59. %{_datadir}/aclocal/gtkglext*
  60. %{_datadir}/gtk-doc/html/gtkglext
  61. %changelog
  62. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-3vl5
  63. - removed *.la
  64. - spec in utf-8
  65. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2vl5
  66. - rebuilt with xorg-x11-devel
  67. * Mon Apr 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1vl5
  68. - updated to 1.2.0
  69. - added %%post and %%postun section
  70. * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.6-0vl2
  71. - not to run libtoolize in spec file
  72. - added Japanese summary
  73. * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp>
  74. - (1.0.6-0vl1)
  75. - first packaging