libmash-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: A library for using real 3D models within a Clutter scene
  2. Name: libmash
  3. Version: 0.2.0
  4. Release: 3%{?_dist_release}
  5. URL: http://wiki.clutter-project.org/wiki/Mash
  6. Source0: http://source.clutter-project.org/sources/mash/0.2/mash-%{version}.tar.xz
  7. License: LGPLv2+
  8. Group: System Environment/Libraries
  9. BuildRequires: libtool
  10. BuildRequires: glib2-devel >= 2.16
  11. BuildRequires: clutter-devel
  12. BuildRequires: gtk-doc
  13. BuildRequires: rply-devel
  14. BuildRequires: libmx-devel
  15. %description
  16. Mash is a small library for using real 3D models within a Clutter
  17. scene. Models can be exported from Blender or other 3D modeling
  18. software as PLY files and then used as actors. It also supports a
  19. lighting model with animatable lights.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. This package contains libraries and header files needed for
  26. development of programs using %{name}.
  27. %prep
  28. %setup -q -n mash-%{version}
  29. %build
  30. %configure
  31. make %{?_smp_mflags}
  32. %install
  33. make install DESTDIR=$RPM_BUILD_ROOT
  34. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  36. %post -p /sbin/ldconfig
  37. %postun -p /sbin/ldconfig
  38. %files
  39. %defattr(-,root,root)
  40. %doc README COPYING.LIB NEWS AUTHORS
  41. %{_libdir}/libmash-0.2.so.*
  42. %dir %{_libdir}/girepository-1.0
  43. %{_libdir}/girepository-1.0/*.typelib
  44. %files devel
  45. %defattr(-,root,root)
  46. %dir %{_includedir}/mash-0.2
  47. %{_includedir}/mash-0.2/*
  48. %{_libdir}/libmash-0.2.so
  49. %{_libdir}/pkgconfig/mash-0.2.pc
  50. %dir %{_datadir}/gtk-doc/html/mash
  51. %{_datadir}/gtk-doc/html/mash/*
  52. %{_datadir}/gir-1.0/*.gir
  53. %dir %{_datadir}/gir-1.0
  54. %changelog
  55. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-3
  56. - rebuild with cogl-1.12.0
  57. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2
  58. - rebuild with cogl-1.10.0
  59. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  60. - initial build for Vine Linux
  61. * Thu Sep 15 2011 Richard Hughes <rhughes@redhat.com> - 0.2.0-1
  62. - New upstream release.
  63. * Thu Mar 26 2011 Richard Hughes <rhughes@redhat.com> - 0.1.0-2
  64. - Updated after review concerns.
  65. - Do not use 'mash' in the package summary
  66. - Add the README file to the package docs
  67. - Own datadir/gir-1.0 and libdir/girepository-1.0
  68. - Added note about the non-BR of mx-devel
  69. - Added BR of rply-devel, and patched configure to use it pending a new
  70. upstream release.
  71. * Sat Mar 26 2011 Richard Hughes <rhughes@redhat.com> - 0.1.0-1
  72. - Initial version for review.