python-Coherence-vl.spec 4.1 KB

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