dbus-python-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  3. %define dbus_glib_version 0.92
  4. %define dbus_version 1.4.1
  5. %define pkg_release 1%{?_dist_release}
  6. Name: dbus-python
  7. Summary: D-Bus Python Bindings
  8. Summary(ja): D-Bus Python バインディング
  9. Version: 0.83.2
  10. Release: %{pkg_release}
  11. Group: System Environment/Libraries
  12. License: MIT
  13. URL: http://www.freedesktop.org/software/dbus/
  14. Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: dbus-devel >= %{dbus_version}
  17. BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
  18. BuildRequires: python-devel
  19. %description
  20. D-Bus python bindings for use with python programs.
  21. %description -l ja
  22. D-Bus を python プログラムから使う為のバインディングです。
  23. %package devel
  24. Summary: Libraries and headers for dbus-python
  25. Summary(ja): dbus-python のライブラリ及びヘッダファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. Headers and static libraries for hooking up custom mainloops to the dbus python
  30. bindings.
  31. %description devel -l ja
  32. dbus-python バインディング用のカスタム・メインループをフックする為の
  33. ヘッダファイルとスタティック・ライブラリです。
  34. %prep
  35. %setup -q
  36. %build
  37. %configure
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. # remove unnecessary *.la files
  43. find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} \;
  44. %clean
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %files
  47. %defattr(-,root,root)
  48. %doc COPYING ChangeLog README NEWS TODO
  49. %doc doc/API_CHANGES.txt doc/HACKING.txt doc/tutorial.txt
  50. %exclude %{_datadir}/doc/dbus-python
  51. %dir %{python_sitelib}/dbus
  52. %dir %{python_sitelib}/dbus/mainloop
  53. %{python_sitearch}/*.so
  54. %{python_sitelib}/*.py*
  55. %{python_sitelib}/dbus/*.py*
  56. %{python_sitelib}/dbus/mainloop/*.py*
  57. %files devel
  58. %defattr(-,root,root)
  59. %{_includedir}/dbus-1.0/dbus/dbus-python.h
  60. %{_libdir}/pkgconfig/dbus-python.pc
  61. %changelog
  62. * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.83.2-1
  63. - new upstream release
  64. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.83.1-1
  65. - new upstream release
  66. - dropt Patch0 (merged into upstream)
  67. - built with rpm-4.8.1 for pkg-config
  68. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-4
  69. - rebuilt with gcc-4.4.3-3 on ppc
  70. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-3
  71. - rebuilt with rpm-4.8.0-3 (on ppc)
  72. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.83.0-2
  73. - rebuild with python-2.6
  74. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.83.0-1
  75. - initital build for Vine Linux based on fedora package
  76. * Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
  77. - Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
  78. * Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2
  79. - Update to 0.83.0.
  80. * Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
  81. - fix license tag
  82. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
  83. - Autorebuild for GCC 4.3
  84. * Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
  85. - Update to 0.82.4
  86. * Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
  87. - Rebuild against new dbus-glib
  88. * Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
  89. - Rebuild for selinux ppc32 issue.
  90. * Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
  91. - Update to 0.82.0
  92. - Put all docs in the usual place
  93. * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
  94. - Rebuild
  95. * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
  96. - Don't examine args for functions declared METH_NOARGS (#235017)
  97. * Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
  98. - upgrade to 0.80.2 which fixes some memleaks
  99. * Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
  100. - upgrade to 0.80.1
  101. - remove dependency on Pyrex and libxml2
  102. - some API breakage,
  103. please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
  104. for notes on changes
  105. * Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
  106. - rebuild against new Pyrex
  107. * Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
  108. - rebuild against python 2.5
  109. * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
  110. - Fix a typo in the spec file
  111. * Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
  112. - require libxml2-python for site-packages/dbus/introspect_parser.py
  113. * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
  114. - Remove unnecessary obsoletes
  115. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
  116. - Try python_sitearch this time
  117. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
  118. - Add a BR on dbus-devel
  119. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
  120. - Spec file cleanups
  121. - Add PKG_CONFIG_PATH
  122. * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
  123. - Initial package import