dbus-glib-vl.spec 6.5 KB

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