pyclutter-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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.3.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.3/%{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}/pyclutter/1.0/defs
  54. %files devel
  55. %defattr(-,root,root)
  56. %{_includedir}/pyclutter-1.0
  57. %{_libdir}/pkgconfig/pyclutter-1.0.pc
  58. %changelog
  59. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
  60. - update to 1.3.2
  61. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-2
  62. - rebuild with rpm-4.8.1 for pkg-config file
  63. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  64. - initial build for Vine Linux