cogl-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define cogl_version 1.7.4
  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. %configure --enable-gtk-doc \
  46. --disable-static \
  47. --enable-cairo=yes \
  48. --enable-gdk-pixbuf=yes \
  49. --enable-cogl-pango=yes \
  50. --enable-glx=yes \
  51. --enable-introspection=yes
  52. make V=0
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. #make DESTDIR=$RPM_BUILD_ROOT install
  56. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  57. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  58. %find_lang %{name}
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %post -p /sbin/ldconfig
  62. %postun -p /sbin/ldconfig
  63. %files -f %{name}.lang
  64. %defattr(-,root,root,-)
  65. %doc ChangeLog AUTHORS COPYING NEWS README
  66. %{_libdir}/*.so.*
  67. %{_libdir}/girepository-1.0/*.typelib
  68. %files devel
  69. %defattr(-, root, root)
  70. %{_includedir}/cogl
  71. %{_libdir}/*.so
  72. %{_libdir}/pkgconfig/*.pc
  73. %{_datadir}/gir-1.0/*.gir
  74. %files doc
  75. %defattr(-, root, root)
  76. %{_datadir}/gtk-doc/html/cogl
  77. %{_datadir}/gtk-doc/html/cogl-2.0-experimental
  78. %changelog
  79. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  80. - initial build for Vine Linux