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