dbus-glib-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. %define gettext_package dbus
  2. %define expat_version 2.0.1
  3. %define glib2_version 2.24.0
  4. %define dbus_version 1.2.24
  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.86
  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. %{_mandir}/man1/dbus-binding-tool.1.gz
  95. %files devel
  96. %defattr(-,root,root)
  97. %{_libdir}/lib*.so
  98. %{_libdir}/pkgconfig/dbus-glib-1.pc
  99. %{_includedir}/*
  100. %{_datadir}/gtk-doc/html/dbus-glib
  101. %if 0
  102. %files gtk
  103. %defattr(-,root,root)
  104. %{_bindir}/dbus-viewer
  105. %endif
  106. # compat32
  107. %if %{build_compat32}
  108. %files -n compat32-%{name}
  109. %defattr(-,root,root)
  110. %{_libdir}/*glib*.so.*
  111. %files -n compat32-%{name}-devel
  112. %defattr(-,root,root)
  113. %{_libdir}/lib*.so
  114. %{_libdir}/pkgconfig/dbus-glib-1.pc
  115. %endif
  116. %changelog
  117. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-1
  118. - new upstream release
  119. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.82-1
  120. - new upstream release
  121. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.80-2
  122. - added compat32 package for x86_64 arch support
  123. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.80-1
  124. - new upstream release
  125. - built with dbus-1.2.12, glib-2.20.0
  126. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.76-1
  127. - new upstream release
  128. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-1vl5
  129. - rebuilt with dbus-1.1.20, glib2-2.16.1
  130. - used %%{?_dist_release}
  131. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.74-0vl2
  132. - rebuild with expat-2.0.1
  133. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-0vl1
  134. - new upstream release
  135. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.73-0vl1
  136. - initial build for Vine Linux
  137. * Wed Apr 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
  138. - Update to 0.73 (#233631)
  139. - Drop upstreamed patches
  140. * Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
  141. - Add dbus-glib-0.70-use-default-threads.patch
  142. - Partial fix to #219257
  143. * Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
  144. - Add dbus-glib-0.70-fix-info-leak.patch
  145. - Resolves: #216034
  146. * Sun Nov 5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
  147. - Fix up Requires for the -devel package
  148. * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
  149. - Update to 0.71
  150. * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
  151. - remove improper obsoletes
  152. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
  153. - Pregenerate the xml introspect file so you don't need dbus running during
  154. the build
  155. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
  156. - Spec file cleanups
  157. * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
  158. - Initial dbus-glib package