pyclutter-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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 2%{?_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. Patch0: pyclutter-1.3.2-clutter-1.9.2-compat.patch
  11. Patch1: pyclutter-1.3.2-clutter-1.9.14-compat.patch
  12. License: LGPLv2+
  13. Group: Development/Languages
  14. URL: http://www.clutter-project.org/
  15. BuildRequires: glib2-devel >= 2.16.0
  16. BuildRequires: gtk2-devel >= 2.10.0
  17. BuildRequires: clutter-devel >= 1.0.0
  18. BuildRequires: pycairo-devel >= 1.0.2
  19. BuildRequires: pygobject-devel >= 2.12.1
  20. BuildRequires: python-devel >= 2.5.0
  21. BuildRequires: pygtk2-devel >= 2.8.0
  22. BuildRequires: pygobject-doc
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. This archive contains the Python modules that allow you to use the
  29. Clutter toolkit in Python programs.
  30. %package devel
  31. Summary: PyClutter development environment
  32. Summary(ja): PyClutter の開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pygobject-devel
  36. Requires: python-devel
  37. Requires: clutter-devel
  38. %description devel
  39. Header files and libraries for building a extension library for the pyclutter.
  40. %prep
  41. %setup -q
  42. %patch0 -p1 -b .compat
  43. %patch1 -p1 -b .compat_1.9.14
  44. %build
  45. %configure --enable-static=no
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  50. %{__rm} -rf ${RPM_BUILD_ROOT}%{python_sitearch}/clutter/*.la
  51. %clean
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %files
  54. %defattr(-,root,root)
  55. %doc AUTHORS ChangeLog COPYING NEWS README
  56. %{python_sitearch}/clutter
  57. %{_datadir}/pyclutter/1.0/defs
  58. %files devel
  59. %defattr(-,root,root)
  60. %{_includedir}/pyclutter-1.0
  61. %{_libdir}/pkgconfig/pyclutter-1.0.pc
  62. %changelog
  63. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-2
  64. - rebuild with clutter-1.10.0
  65. - add Patch0 (pyclutter-1.3.2-clutter-1.9.2-compat.patch) from fedora
  66. - add Patch1 (pyclutter-1.3.2-clutter-1.9.14-compat.patch) from fedora
  67. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
  68. - update to 1.3.2
  69. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-2
  70. - rebuild with rpm-4.8.1 for pkg-config file
  71. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  72. - initial build for Vine Linux