dbus-glib-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. %define gettext_package dbus
  2. %define expat_version 2.0.1
  3. %define glib2_version 2.22.0
  4. %define dbus_version 1.2.16
  5. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  6. Summary: GLib bindings for D-Bus
  7. Summary(ja): D-Bus の GLib バインディング
  8. Name: dbus-glib
  9. Version: 0.82
  10. Release: 1%{?_dist_release}
  11. URL: http://www.freedesktop.org/software/dbus/
  12. Source0: http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
  13. Source1: dbus-bus-introspect.xml
  14. License: AFL/GPL
  15. Group: System Environment/Libraries
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires: chkconfig
  18. BuildRequires: libtool
  19. BuildRequires: dbus-devel >= %{dbus_version}
  20. BuildRequires: expat-devel >= %{expat_version}
  21. BuildRequires: libxml2-devel
  22. BuildRequires: glib2-devel >= %{glib2_version}
  23. BuildRequires: gettext
  24. BuildRequires: autoconf
  25. %description
  26. D-Bus add-on library to integrate the standard D-Bus library with
  27. the GLib thread abstraction and main loop.
  28. %package devel
  29. Summary: Libraries and headers for the D-Bus GLib bindings
  30. Summary(ja): D-Bus GLib バインディング用のライブラリとヘッダファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: glib2-devel
  34. Requires: dbus-devel
  35. Requires: pkgconfig
  36. Obsoletes: dbus-devel < 0.90
  37. %description devel
  38. Headers and static libraries for the D-Bus GLib bindings
  39. %if 0
  40. %package gtk
  41. Summary: GTK based tools
  42. Group: Development/Tools
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: gtk2 >= 2.10.0
  45. %description gtk
  46. D-Bus tools written using the gtk+ GUI libaries
  47. %endif
  48. # compat32
  49. %package -n compat32-%{name}
  50. Summary: GLib bindings for D-Bus
  51. Summary(ja): D-Bus の GLib バインディング
  52. Group: System Environment/Libraries
  53. Requires: %{name} = %{version}-%{release}
  54. %description -n compat32-%{name}
  55. D-Bus add-on library to integrate the standard D-Bus library with
  56. the GLib thread abstraction and main loop.
  57. %package -n compat32-%{name}-devel
  58. Summary: Libraries and headers for the D-Bus GLib bindings
  59. Summary(ja): D-Bus GLib バインディング用のライブラリとヘッダファイル
  60. Group: Development/Libraries
  61. Requires: %{name}-devel = %{version}-%{release}
  62. Requires: compat32-%{name} = %{version}-%{release}
  63. Requires: compat32-glib2-devel
  64. Requires: compat32-dbus-devel
  65. %description -n compat32-%{name}-devel
  66. Headers and static libraries for the D-Bus GLib bindings
  67. %prep
  68. %setup -q
  69. %build
  70. %configure --disable-tests \
  71. --disable-verbose-mode \
  72. --disable-asserts \
  73. --disable-gtk-doc \
  74. --with-introspect-xml=%{SOURCE1}
  75. %__make
  76. %install
  77. rm -rf %{buildroot}
  78. make install DESTDIR=$RPM_BUILD_ROOT
  79. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  80. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  81. %clean
  82. rm -rf %{buildroot}
  83. %post -p /sbin/ldconfig
  84. %postun -p /sbin/ldconfig
  85. %post -n compat32-%{name} -p /sbin/ldconfig
  86. %postun -n compat32-%{name} -p /sbin/ldconfig
  87. %files
  88. %defattr(-,root,root)
  89. %doc COPYING ChangeLog NEWS
  90. %{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
  91. %{_libdir}/*glib*.so.*
  92. %{_libexecdir}/dbus-bash-completion-helper
  93. %{_bindir}/dbus-binding-tool
  94. %files devel
  95. %defattr(-,root,root)
  96. %{_libdir}/lib*.so
  97. %{_libdir}/pkgconfig/dbus-glib-1.pc
  98. %{_includedir}/*
  99. %{_datadir}/gtk-doc/html/dbus-glib
  100. %if 0
  101. %files gtk
  102. %defattr(-,root,root)
  103. %{_bindir}/dbus-viewer
  104. %endif
  105. # compat32
  106. %if %{build_compat32}
  107. %files -n compat32-%{name}
  108. %defattr(-,root,root)
  109. %{_libdir}/*glib*.so.*
  110. %files -n compat32-%{name}-devel
  111. %defattr(-,root,root)
  112. %{_libdir}/lib*.so
  113. %{_libdir}/pkgconfig/dbus-glib-1.pc
  114. %endif
  115. %changelog
  116. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.82-1
  117. - new upstream release
  118. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.80-2
  119. - added compat32 package for x86_64 arch support
  120. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.80-1
  121. - new upstream release
  122. - built with dbus-1.2.12, glib-2.20.0
  123. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.76-1
  124. - new upstream release
  125. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-1vl5
  126. - rebuilt with dbus-1.1.20, glib2-2.16.1
  127. - used %%{?_dist_release}
  128. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.74-0vl2
  129. - rebuild with expat-2.0.1
  130. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-0vl1
  131. - new upstream release
  132. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.73-0vl1
  133. - initial build for Vine Linux
  134. * Wed Apr 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
  135. - Update to 0.73 (#233631)
  136. - Drop upstreamed patches
  137. * Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
  138. - Add dbus-glib-0.70-use-default-threads.patch
  139. - Partial fix to #219257
  140. * Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
  141. - Add dbus-glib-0.70-fix-info-leak.patch
  142. - Resolves: #216034
  143. * Sun Nov 5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
  144. - Fix up Requires for the -devel package
  145. * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
  146. - Update to 0.71
  147. * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
  148. - remove improper obsoletes
  149. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
  150. - Pregenerate the xml introspect file so you don't need dbus running during
  151. the build
  152. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
  153. - Spec file cleanups
  154. * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
  155. - Initial dbus-glib package