pyclutter-gst-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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.0
  3. %define pkg_release 2%{?_dist_release}
  4. Summary: Python binding for the Clutter-Gst
  5. Summary(ja): Clutter-Gst 用 Python バインディング
  6. Name: pyclutter-gst
  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: python-devel >= 2.5.0
  14. BuildRequires: clutter-devel >= 1.0.0
  15. BuildRequires: clutter-gst-devel >= 1.0.0
  16. BuildRequires: pyclutter-devel >= 1.0.0
  17. BuildRequires: gstreamer-devel >= 0.10
  18. BuildRequires: gstreamer-python >= 0.10
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. This archive provides Python bindings for the clutter-gtk integration library.
  25. %package devel
  26. Summary: PyClutter-Gst development environment
  27. Summary(ja): PyClutter-Gst の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pyclutter-devel
  31. %description devel
  32. Header files and libraries for building a extension library for the pyclutter-gst.
  33. %prep
  34. %setup -q
  35. %build
  36. %configure --enable-static=no
  37. %{__make} %{?_smp_mflags}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. %{__rm} -rf ${RPM_BUILD_ROOT}/%{python_sitearch}/cluttergst/*.la
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS ChangeLog COPYING NEWS README
  47. %{python_sitearch}/cluttergst
  48. %{_datadir}/pyclutter/1.0/defs/cluttergst*
  49. %files devel
  50. %defattr(-,root,root)
  51. %{_libdir}/pkgconfig/pyclutter-gst-1.0.pc
  52. %changelog
  53. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-2
  54. - rebuild with rpm-4.8.1 for pkg-config file
  55. * Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
  56. - initial build for Vine Linux