dbus-glib-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. %define gettext_package dbus
  2. %define expat_version 2.1.0
  3. %define glib2_version 2.34.0
  4. %define dbus_version 1.6.4
  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.100.2
  10. Release: 2%{?_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. %endif
  117. %changelog
  118. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.100.2-2
  119. - rebuild with VineSeed environment
  120. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.100.2-1
  121. - new upstream release
  122. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.100-1
  123. - new upstream release
  124. * Sat Dec 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.98-1
  125. - new upstream release
  126. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.96-1
  127. - new upstream release
  128. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-1
  129. - new upstream release
  130. * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.92-1
  131. - new upstream release
  132. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.88-1
  133. - new upstream release
  134. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.86-2
  135. - build with rpm-4.8.1-1 for pkg-config file
  136. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.86-1
  137. - new upstream release
  138. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.82-1
  139. - new upstream release
  140. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.80-2
  141. - added compat32 package for x86_64 arch support
  142. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.80-1
  143. - new upstream release
  144. - built with dbus-1.2.12, glib-2.20.0
  145. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.76-1
  146. - new upstream release
  147. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-1vl5
  148. - rebuilt with dbus-1.1.20, glib2-2.16.1
  149. - used %%{?_dist_release}
  150. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.74-0vl2
  151. - rebuild with expat-2.0.1
  152. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.74-0vl1
  153. - new upstream release
  154. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.73-0vl1
  155. - initial build for Vine Linux
  156. * Wed Apr 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
  157. - Update to 0.73 (#233631)
  158. - Drop upstreamed patches
  159. * Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
  160. - Add dbus-glib-0.70-use-default-threads.patch
  161. - Partial fix to #219257
  162. * Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
  163. - Add dbus-glib-0.70-fix-info-leak.patch
  164. - Resolves: #216034
  165. * Sun Nov 5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
  166. - Fix up Requires for the -devel package
  167. * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
  168. - Update to 0.71
  169. * Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
  170. - remove improper obsoletes
  171. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
  172. - Pregenerate the xml introspect file so you don't need dbus running during
  173. the build
  174. * Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
  175. - Spec file cleanups
  176. * Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
  177. - Initial dbus-glib package