cogl-vl.spec 3.8 KB

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