dbus-glib-vl.spec 6.2 KB

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