cogl-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. %define cogl_version 1.10.2
  2. %define cogl_release 2%{?_dist_release}
  3. Name: cogl
  4. Version: %{cogl_version}
  5. Release: %{cogl_release}
  6. Summary: A small open source library for using 3D graphics hardware to draw pretty pictures
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://www.clutter-project.org/
  10. Source0: http://www.clutter-project.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz
  11. # fron redhat
  12. Patch0: 04_fix_crash_on_free.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gobject-introspection-devel
  15. BuildRequires: libXcomposite-devel
  16. BuildRequires: mesa-libGL-devel
  17. BuildRequires: pango-devel
  18. BuildRequires: gtk-doc
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. Cogl is a small open source library for using 3D graphics hardware to draw
  24. pretty pictures. The API departs from the flat state machine style of
  25. OpenGL and is designed to make it easy to write orthogonal components that
  26. can render without stepping on each others toes.
  27. %package devel
  28. Summary: Development tools for cogl
  29. Summary(ja): cogl の開発環境
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. %description devel
  34. Header files and libraries for building a extension library for the
  35. cogl.
  36. %package doc
  37. Summary: Documentation for cogl
  38. Summary(ja): cogl 用のドキュメント
  39. Group: Documentation
  40. Requires: %{name} = %{version}-%{release}
  41. BuildArch: noarch
  42. %description doc
  43. This package contains documentation for cogl.
  44. %prep
  45. %setup -q
  46. %patch0 -p1 -b .crash
  47. %build
  48. autoreconf -if
  49. %configure --enable-gtk-doc \
  50. --disable-static \
  51. --enable-cairo=yes \
  52. --enable-gdk-pixbuf=yes \
  53. --enable-cogl-pango=yes \
  54. --enable-glx=yes \
  55. --enable-introspection=yes
  56. make V=1
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. #make DESTDIR=$RPM_BUILD_ROOT install
  60. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  61. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  62. %find_lang %{name}
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post -p /sbin/ldconfig
  66. %postun -p /sbin/ldconfig
  67. %files -f %{name}.lang
  68. %defattr(-,root,root,-)
  69. %doc ChangeLog AUTHORS COPYING NEWS README
  70. %{_libdir}/*.so.*
  71. %{_libdir}/girepository-1.0/*.typelib
  72. %{_datadir}/%{name}/examples-data/crate.jpg
  73. %files devel
  74. %defattr(-, root, root)
  75. %{_includedir}/cogl
  76. %{_libdir}/*.so
  77. %{_libdir}/pkgconfig/*.pc
  78. %{_datadir}/gir-1.0/*.gir
  79. %files doc
  80. %defattr(-, root, root)
  81. %{_datadir}/gtk-doc/html/cogl
  82. %{_datadir}/gtk-doc/html/cogl-2.0-experimental
  83. %changelog
  84. * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  85. - add Patch0 (04_fix_crash_on_free.patch)
  86. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  87. - new upstream release
  88. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  89. - new upstream release
  90. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  91. - new upstream release
  92. * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
  93. - new upstream release
  94. - remove Patch0
  95. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  96. - new upstream release
  97. - add Patch0 (cogl-1.7.6-configure.patch)
  98. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  99. - initial build for Vine Linux