python-Coherence-vl.spec 3.9 KB

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