dbus-python-vl.spec 5.1 KB

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