cogl-vl.spec 2.8 KB

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