python-Coherence-vl.spec 3.5 KB

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