cogl-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. %define cogl_version 1.12.2
  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.12/%{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: gdk-pixbuf2-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. for i in `grep -rl "<note>" ./`;
  46. do
  47. sed -i 's/<note>//' $i
  48. done
  49. for i in `grep -rl "<\/note>" ./`;
  50. do
  51. sed -i 's/<\/note>//' $i
  52. done
  53. %build
  54. %configure \
  55. --enable-gtk-doc \
  56. --disable-static \
  57. --enable-cairo=yes \
  58. --enable-gdk-pixbuf=yes \
  59. --enable-cogl-pango=yes \
  60. --enable-glx=yes \
  61. --enable-introspection=yes
  62. make V=1
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. #make DESTDIR=$RPM_BUILD_ROOT install
  66. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  68. %find_lang %{name}
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %post -p /sbin/ldconfig
  72. %postun -p /sbin/ldconfig
  73. %files -f %{name}.lang
  74. %defattr(-,root,root,-)
  75. %doc ChangeLog AUTHORS COPYING NEWS README
  76. %{_libdir}/*.so.*
  77. %{_libdir}/girepository-1.0/*.typelib
  78. %{_datadir}/%{name}/examples-data/crate.jpg
  79. %files devel
  80. %defattr(-, root, root)
  81. %{_includedir}/cogl
  82. %{_libdir}/*.so
  83. %{_libdir}/pkgconfig/*.pc
  84. %{_datadir}/gir-1.0/*.gir
  85. %files doc
  86. %defattr(-, root, root)
  87. %{_datadir}/gtk-doc/html/cogl
  88. %{_datadir}/gtk-doc/html/cogl-2.0-experimental
  89. %changelog
  90. * Sun Jan 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  91. - new upstream release
  92. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  93. - new upstream release
  94. - remove Patch0 (04_fix_crash_on_free.patch)
  95. * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  96. - new upstream release
  97. * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  98. - add Patch0 (04_fix_crash_on_free.patch)
  99. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  100. - new upstream release
  101. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  102. - new upstream release
  103. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  104. - new upstream release
  105. * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
  106. - new upstream release
  107. - remove Patch0
  108. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  109. - new upstream release
  110. - add Patch0 (cogl-1.7.6-configure.patch)
  111. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  112. - initial build for Vine Linux