cogl-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. Name: cogl
  2. Version: 1.22.8
  3. Release: 1%{?_dist_release}
  4. Summary: A small open source library for using 3D graphics hardware to draw pretty pictures
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: LGPLv2+
  8. URL: https://www.clutter-project.org/
  9. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  10. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{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. %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 gstreamer
  37. Summary: Cogl GStreamer library
  38. Summary(ja): cogl gstreamer ライブラリ
  39. Group: System Environment/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. %description gstreamer
  42. %{summary}
  43. %package docs
  44. Summary: Documentation for cogl
  45. Summary(ja): cogl 用のドキュメント
  46. Group: Documentation
  47. Provides: %{name}-doc = %{version}-%{release}
  48. BuildArch: noarch
  49. %description docs
  50. This package contains documentation for cogl.
  51. %prep
  52. %setup -q
  53. for i in `grep -rl "<note>" ./`;
  54. do
  55. sed -i 's/<note>//' $i
  56. done
  57. for i in `grep -rl "<\/note>" ./`;
  58. do
  59. sed -i 's/<\/note>//' $i
  60. done
  61. %build
  62. %configure \
  63. --enable-gtk-doc \
  64. --disable-static \
  65. --enable-cairo=yes \
  66. --enable-gdk-pixbuf=yes \
  67. --enable-cogl-gst=yes \
  68. --enable-cogl-pango=yes \
  69. --enable-glx=yes \
  70. --enable-introspection=yes \
  71. --enable-kms-egl-platform=yes \
  72. --enable-xlib-egl-platform=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. %license COPYING
  87. %doc ChangeLog AUTHORS NEWS README
  88. %{_libdir}/*.so.*
  89. %{_libdir}/girepository-1.0/*.typelib
  90. %{_datadir}/%{name}/examples-data/crate.jpg
  91. %files devel
  92. %defattr(-,root,root,-)
  93. %{_includedir}/cogl
  94. %{_libdir}/*.so
  95. %{_libdir}/pkgconfig/*.pc
  96. %{_datadir}/gir-1.0/*.gir
  97. %files gstreamer
  98. %defattr(-,root,root,-)
  99. %{_libdir}/gstreamer-1.0/libgstcogl.so
  100. %files docs
  101. %defattr(-,root,root,-)
  102. %{_datadir}/gtk-doc/html/cogl
  103. %{_datadir}/gtk-doc/html/cogl-gst
  104. %{_datadir}/gtk-doc/html/cogl-2.0-experimental
  105. %changelog
  106. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.8-1
  107. - new upstream release.
  108. - dropped Patch0: fixed in upstream.
  109. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.2-1
  110. - new upstream release.
  111. - added Patch0.
  112. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22.0-1
  113. - new upstream release
  114. - remove Patch0
  115. * Wed May 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-2
  116. - add Patch0 (cogl-1.20.0-git20150508.patch)
  117. - add BuildRequires: mesa-libgbm-devel
  118. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-1
  119. - new upstream release
  120. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.2-1
  121. - new upstream release
  122. - add BuildRequires: mesa-libEGL-devel
  123. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.0-1
  124. - new upstream release
  125. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.2-1
  126. - new upstream release
  127. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-2
  128. - rebuild with VineSeed environment
  129. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-1
  130. - new upstream release
  131. - add BuildRequire: gstreamer1-plugins-base-devel
  132. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  133. - new upstream release
  134. - add BuildRequires: libXrandr-devel
  135. * Sun Jan 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  136. - new upstream release
  137. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  138. - new upstream release
  139. - remove Patch0 (04_fix_crash_on_free.patch)
  140. * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  141. - new upstream release
  142. * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  143. - add Patch0 (04_fix_crash_on_free.patch)
  144. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  145. - new upstream release
  146. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  147. - new upstream release
  148. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  149. - new upstream release
  150. * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
  151. - new upstream release
  152. - remove Patch0
  153. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  154. - new upstream release
  155. - add Patch0 (cogl-1.7.6-configure.patch)
  156. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  157. - initial build for Vine Linux