cogl-vl.spec 2.7 KB

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