dbus-glib-vl.spec 5.8 KB

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