cogl-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. %define cogl_version 1.22.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.22/%{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: mesa-libEGL-devel
  17. BuildRequires: mesa-libgbm-devel
  18. BuildRequires: pango-devel
  19. BuildRequires: gdk-pixbuf2-devel
  20. BuildRequires: gstreamer1-plugins-base-devel
  21. BuildRequires: gtk-doc
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. Cogl is a small open source library for using 3D graphics hardware to draw
  27. pretty pictures. The API departs from the flat state machine style of
  28. OpenGL and is designed to make it easy to write orthogonal components that
  29. can render without stepping on each others toes.
  30. %package devel
  31. Summary: Development tools for cogl
  32. Summary(ja): cogl の開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. cogl.
  39. %package gstreamer
  40. Summary: Cogl GStreamer library
  41. Summary(ja): cogl gstreamer ライブラリ
  42. Group: System Environment/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. %description gstreamer
  45. %{summary}
  46. %package docs
  47. Summary: Documentation for cogl
  48. Summary(ja): cogl 用のドキュメント
  49. Group: Documentation
  50. Provides: %{name}-doc = %{version}-%{release}
  51. BuildArch: noarch
  52. %description docs
  53. This package contains documentation for cogl.
  54. %prep
  55. %setup -q
  56. for i in `grep -rl "<note>" ./`;
  57. do
  58. sed -i 's/<note>//' $i
  59. done
  60. for i in `grep -rl "<\/note>" ./`;
  61. do
  62. sed -i 's/<\/note>//' $i
  63. done
  64. %build
  65. %configure \
  66. --enable-gtk-doc \
  67. --disable-static \
  68. --enable-cairo=yes \
  69. --enable-gdk-pixbuf=yes \
  70. --enable-cogl-gst=yes \
  71. --enable-cogl-pango=yes \
  72. --enable-glx=yes \
  73. --enable-introspection=yes \
  74. --enable-kms-egl-platform=yes \
  75. --enable-xlib-egl-platform=yes
  76. make V=1
  77. %install
  78. rm -rf $RPM_BUILD_ROOT
  79. #make DESTDIR=$RPM_BUILD_ROOT install
  80. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  81. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  82. %find_lang %{name}
  83. %clean
  84. rm -rf $RPM_BUILD_ROOT
  85. %post -p /sbin/ldconfig
  86. %postun -p /sbin/ldconfig
  87. %files -f %{name}.lang
  88. %defattr(-,root,root,-)
  89. %doc ChangeLog AUTHORS COPYING NEWS README
  90. %{_libdir}/*.so.*
  91. %{_libdir}/girepository-1.0/*.typelib
  92. %{_datadir}/%{name}/examples-data/crate.jpg
  93. %files devel
  94. %defattr(-,root,root,-)
  95. %{_includedir}/cogl
  96. %{_libdir}/*.so
  97. %{_libdir}/pkgconfig/*.pc
  98. %{_datadir}/gir-1.0/*.gir
  99. %files gstreamer
  100. %defattr(-,root,root,-)
  101. %{_libdir}/gstreamer-1.0/libgstcogl.so
  102. %files docs
  103. %defattr(-,root,root,-)
  104. %{_datadir}/gtk-doc/html/cogl
  105. %{_datadir}/gtk-doc/html/cogl-gst
  106. %{_datadir}/gtk-doc/html/cogl-2.0-experimental
  107. %changelog
  108. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22.0-1
  109. - new upstream release
  110. - remove Patch0
  111. * Wed May 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-2
  112. - add Patch0 (cogl-1.20.0-git20150508.patch)
  113. - add BuildRequires: mesa-libgbm-devel
  114. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-1
  115. - new upstream release
  116. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.2-1
  117. - new upstream release
  118. - add BuildRequires: mesa-libEGL-devel
  119. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.0-1
  120. - new upstream release
  121. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.2-1
  122. - new upstream release
  123. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-2
  124. - rebuild with VineSeed environment
  125. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-1
  126. - new upstream release
  127. - add BuildRequire: gstreamer1-plugins-base-devel
  128. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  129. - new upstream release
  130. - add BuildRequires: libXrandr-devel
  131. * Sun Jan 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  132. - new upstream release
  133. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  134. - new upstream release
  135. - remove Patch0 (04_fix_crash_on_free.patch)
  136. * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  137. - new upstream release
  138. * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  139. - add Patch0 (04_fix_crash_on_free.patch)
  140. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  141. - new upstream release
  142. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  143. - new upstream release
  144. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  145. - new upstream release
  146. * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
  147. - new upstream release
  148. - remove Patch0
  149. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  150. - new upstream release
  151. - add Patch0 (cogl-1.7.6-configure.patch)
  152. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  153. - initial build for Vine Linux