dbus-glib-vl.spec 6.3 KB

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