pyclutter-gtk-vl.spec 1.9 KB

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