pigment-python-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  3. Summary: Python bindings for Pigment Media Center Toolkit
  4. Summary(ja): Pigment メディアセンター・ツールキット用の Python バインディング
  5. Name: pigment-python
  6. Version: 0.3.12
  7. Release: 2%{?_dist_release}
  8. Source0: http://elisa.fluendo.com/static/download/pigment/%{name}-%{version}.tar.bz2
  9. License: LGPL
  10. Group: Development/Languages
  11. URL: http://elisa.fluendo.com/
  12. Requires: gstreamer-python, pygtk2, pigment
  13. BuildRequires: glib2-devel, gtk2-devel, python-devel, pygtk2-devel
  14. BuildRequires: pigment-devel
  15. BuildRequires: gstreamer-devel, gstreamer-plugins-base-devel
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Packager: kazutaka
  18. %description
  19. Python bindings for Pigment Media Center software.
  20. %description -l ja
  21. Pigment メディアセンター・ツールキット用の Python バインディングです。
  22. %prep
  23. %setup -q
  24. %build
  25. %configure
  26. %{__make} %{?_smp_mflags}
  27. %install
  28. %{__rm} -rf ${RPM_BUILD_ROOT}
  29. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  30. # remove unnecessary *.la files
  31. find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
  32. %clean
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %files
  35. %defattr(-,root,root)
  36. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE TODO
  37. %{python_sitelib}/pgm/
  38. %{python_sitearch}/_pgm*.so
  39. %{_datadir}/pigment-python/
  40. %changelog
  41. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.12-2
  42. - rebuild with python-2.6
  43. * Sun Jun 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.12-1
  44. - new upstream release
  45. * Mon Apr 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.11-1
  46. - new upstream release
  47. * Fri Feb 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.10-1
  48. - new upstream release
  49. * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.9-1
  50. - new upstream release
  51. * Mon Oct 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.8-1
  52. - initial build for Vine Linux