python-Coherence-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
  2. Summary: Python framework to participate in digital living networks
  3. Name: python-Coherence
  4. Version: 0.5.8
  5. Release: 2%{?_dist_release}
  6. License: MIT
  7. Group: Development/Languages
  8. URL: https://coherence.beebits.net/
  9. Source: https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
  10. Requires: python-setuptools
  11. Requires: python-configobj
  12. BuildRequires: python-devel
  13. BuildRequires: python-setuptools
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Buildarch: noarch
  16. %description
  17. Coherence is a framework written in Python enabling applications to participate
  18. in digital living networks, such as the UPnP universe.
  19. %description -l ja
  20. Coherence はアプリケーションをDLNA(Digital Living Network Alliance)やUPnPに
  21. 参加できるようにする Python で書かれたフレームワークです。
  22. %prep
  23. %setup -q -n Coherence-%{version}
  24. %build
  25. %{__python} setup.py build
  26. %install
  27. %{__rm} -rf ${RPM_BUILD_ROOT}
  28. %{__python} setup.py install \
  29. --single-version-externally-managed \
  30. -O1 --skip-build --root ${RPM_BUILD_ROOT}
  31. %clean
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc LICENCE README docs/*
  36. %exclude %{_bindir}/applet-coherence
  37. %{_bindir}/coherence
  38. %{python_sitelib}/Coherence-*.egg-info/
  39. %{python_sitelib}/coherence/
  40. # We don't want this in the package
  41. %exclude %{python_sitelib}/misc/
  42. %changelog
  43. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.8-2
  44. - rebuild with python-2.6
  45. * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.8-1
  46. - initial build for Vine Linux based on fedora package
  47. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5.8-2
  48. - Rebuild for Python 2.6
  49. * Tue Jul 15 2008 Matthias Saou <http://freshrpms.net/> 0.5.8-1
  50. - Update to 0.5.8.
  51. - Don't include new "misc" directory, as its location is ugly!
  52. - Don't include applet-coherence as it probably requires the "misc" directory.
  53. - Remove all reqs but python-configobj, as it seems to be the only one left.
  54. * Sun Feb 3 2008 Matthias Saou <http://freshrpms.net/> 0.5.0-1
  55. - Update to 0.5.0.
  56. * Wed Aug 29 2007 Matthias Saou <http://freshrpms.net/> 0.4.0-2
  57. - Update python-setuptools build requirement to new python-setuptools-devel.
  58. * Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 0.4.0-1
  59. - Update to 0.4.0.
  60. - No need to update License field, MIT is already correct.
  61. * Tue Jul 24 2007 Matthias Saou <http://freshrpms.net/> 0.3.0-1
  62. - Update to 0.3.0.
  63. * Tue May 8 2007 Matthias Saou <http://freshrpms.net/> 0.2.1-3
  64. - Rename Coherence -> python-Coherence to match our python naming guidelines.
  65. * Mon May 7 2007 Matthias Saou <http://freshrpms.net/> 0.2.1-2
  66. - Rename coherence -> Coherence to match upstream and our naming guidelines.
  67. - Obsolete coherence < 0.2.1-2 but don't provide it since elisa's requirement
  68. has been updated to match the name change and nothing else requires it.
  69. * Fri Apr 20 2007 Matthias Saou <http://freshrpms.net/> 0.2.1-1
  70. - Update to 0.2.1.
  71. * Fri Mar 23 2007 Matthias Saou <http://freshrpms.net/> 0.1.0-1
  72. - Update to 0.1.0 release.
  73. * Wed Feb 14 2007 Matthias Saou <http://freshrpms.net/> 0.0-1.r303
  74. - Switch to using the go-4-python-2.5 svn branch.
  75. * Fri Feb 9 2007 Matthias Saou <http://freshrpms.net/> 0-0.1.r294
  76. - Initial RPM release.