dbus-python-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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 2%{?_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. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.83.2-2
  63. - rebuild with python-2.7.2
  64. * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.83.2-1
  65. - new upstream release
  66. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.83.1-1
  67. - new upstream release
  68. - dropt Patch0 (merged into upstream)
  69. - built with rpm-4.8.1 for pkg-config
  70. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-4
  71. - rebuilt with gcc-4.4.3-3 on ppc
  72. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.83.0-3
  73. - rebuilt with rpm-4.8.0-3 (on ppc)
  74. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.83.0-2
  75. - rebuild with python-2.6
  76. * Sat Dec 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.83.0-1
  77. - initital build for Vine Linux based on fedora package
  78. * Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
  79. - Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
  80. * Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2
  81. - Update to 0.83.0.
  82. * Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
  83. - fix license tag
  84. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
  85. - Autorebuild for GCC 4.3
  86. * Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
  87. - Update to 0.82.4
  88. * Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
  89. - Rebuild against new dbus-glib
  90. * Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
  91. - Rebuild for selinux ppc32 issue.
  92. * Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
  93. - Update to 0.82.0
  94. - Put all docs in the usual place
  95. * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
  96. - Rebuild
  97. * Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
  98. - Don't examine args for functions declared METH_NOARGS (#235017)
  99. * Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
  100. - upgrade to 0.80.2 which fixes some memleaks
  101. * Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
  102. - upgrade to 0.80.1
  103. - remove dependency on Pyrex and libxml2
  104. - some API breakage,
  105. please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
  106. for notes on changes
  107. * Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
  108. - rebuild against new Pyrex
  109. * Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
  110. - rebuild against python 2.5
  111. * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
  112. - Fix a typo in the spec file
  113. * Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
  114. - require libxml2-python for site-packages/dbus/introspect_parser.py
  115. * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
  116. - Remove unnecessary obsoletes
  117. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
  118. - Try python_sitearch this time
  119. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
  120. - Add a BR on dbus-devel
  121. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
  122. - Spec file cleanups
  123. - Add PKG_CONFIG_PATH
  124. * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
  125. - Initial package import