pyclutter-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define pkg_version 1.0.2
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: Python bindings for Clutter
  5. Summary(ja): Clutter 用 Python バインディング
  6. Name: pyclutter
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. Source0: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
  10. License: LGPLv2+
  11. Group: Development/Languages
  12. URL: http://www.clutter-project.org/
  13. BuildRequires: glib2-devel >= 2.16.0
  14. BuildRequires: gtk2-devel >= 2.10.0
  15. BuildRequires: clutter-devel >= 1.0.0
  16. BuildRequires: pycairo-devel >= 1.0.2
  17. BuildRequires: pygobject-devel >= 2.12.1
  18. BuildRequires: python-devel >= 2.5.0
  19. BuildRequires: pygtk2-devel >= 2.8.0
  20. BuildRequires: pygobject-doc
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. This archive contains the Python modules that allow you to use the
  27. Clutter toolkit in Python programs.
  28. %package devel
  29. Summary: PyClutter development environment
  30. Summary(ja): PyClutter の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pygobject-devel
  34. Requires: python-devel
  35. Requires: clutter-devel
  36. %description devel
  37. Header files and libraries for building a extension library for the pyclutter.
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --enable-static=no
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. %{__rm} -rf ${RPM_BUILD_ROOT}%{python_sitearch}/clutter/*.la
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS ChangeLog COPYING NEWS README
  52. %{python_sitearch}/clutter
  53. %{_datadir}/gtk-doc/html/pyclutter
  54. %{_datadir}/pyclutter/1.0/defs
  55. %files devel
  56. %defattr(-,root,root)
  57. %{_includedir}/pyclutter-1.0
  58. %{_libdir}/pkgconfig/pyclutter-1.0.pc
  59. %changelog
  60. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  61. - initial build for Vine Linux