gtkglext-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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: 4%{?_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. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4
  63. - rebuilt with rpm-4.8.1 for pkg-config
  64. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-3vl5
  65. - removed *.la
  66. - spec in utf-8
  67. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2vl5
  68. - rebuilt with xorg-x11-devel
  69. * Mon Apr 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1vl5
  70. - updated to 1.2.0
  71. - added %%post and %%postun section
  72. * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.6-0vl2
  73. - not to run libtoolize in spec file
  74. - added Japanese summary
  75. * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp>
  76. - (1.0.6-0vl1)
  77. - first packaging