cogl-vl.spec 4.7 KB

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