6b4d0d
%define gettext_package dbus
6b4d0d
6b4d0d
%define expat_version           1.95.5
6b4d0d
%define glib2_version           2.2.0
6b4d0d
%define gtk2_version 2.4.0
6b4d0d
%define dbus_version 0.90
6b4d0d
6b4d0d
Summary: GLib bindings for D-Bus
6b4d0d
Name: dbus-glib
8c1818
Version: 0.84
8c1818
Release: 1%{?dist}
6b4d0d
URL: http://www.freedesktop.org/software/dbus/
df3a0e
Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
c66fed
License: AFL and GPLv2+
6b4d0d
Group: System Environment/Libraries
c39b4d
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6b4d0d
Requires: chkconfig >= 1.3.26
6b4d0d
BuildRequires: libtool
6b4d0d
BuildRequires: dbus-devel >= %{dbus_version}
6b4d0d
BuildRequires: expat-devel >= %{expat_version}
6b4d0d
BuildRequires: libxml2-devel
6b4d0d
BuildRequires: glib2-devel >= %{glib2_version}
6b4d0d
BuildRequires: gettext
6b4d0d
BuildRequires: autoconf
6b4d0d
David Zeuthen 30f12c
# this patch requires autoreconf
David Zeuthen 30f12c
BuildRequires: autoconf automake libtool gettext-devel gtk-doc
6b4d0d
6b4d0d
%description
6b4d0d
6b4d0d
D-Bus add-on library to integrate the standard D-Bus library with
6b4d0d
the GLib thread abstraction and main loop.
6b4d0d
6b4d0d
%package devel
6b4d0d
Summary: Libraries and headers for the D-Bus GLib bindings
6b4d0d
Group: Development/Libraries
6b4d0d
Requires: %name = %{version}-%{release}
6a43f9
Requires: glib2-devel
6a43f9
Requires: dbus-devel
b85e18
Requires: pkgconfig
6b4d0d
Obsoletes: dbus-devel < 0.90
6b4d0d
6b4d0d
%description devel
6b4d0d
6a43f9
Headers and static libraries for the D-Bus GLib bindings
6b4d0d
6b4d0d
%if 0
6b4d0d
%package gtk
6b4d0d
Summary: GTK based tools
6a43f9
Group: Development/Tools
6b4d0d
Requires: %name = %{version}-%{release}
6b4d0d
Requires: gtk2 >= %{gtk_version}
6b4d0d
%description gtk
6b4d0d
6b4d0d
D-Bus tools written using the gtk+ GUI libaries
6b4d0d
6b4d0d
%endif
6b4d0d
6b4d0d
%prep
6b4d0d
%setup -q
1b0249
6b4d0d
%build
d74729
libtoolize --force --copy
David Zeuthen 30f12c
autoreconf
39103d
%configure --disable-tests \
39103d
	--enable-verbose-mode=yes \
39103d
	--enable-asserts=yes \
8c1818
	--disable-gtk-doc
6b4d0d
c39b4d
#build with checks for right now but disable checks for final release
c39b4d
#%configure  --disable-tests --disable-verbose-mode --disable-asserts
83afce
make
6b4d0d
6b4d0d
%install
6b4d0d
rm -rf %{buildroot}
6b4d0d
6b4d0d
make install DESTDIR=$RPM_BUILD_ROOT
6b4d0d
6b4d0d
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
6b4d0d
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
6b4d0d
6b4d0d
%clean
6b4d0d
rm -rf %{buildroot}
6b4d0d
6b4d0d
b6619a
%post -p /sbin/ldconfig
6b4d0d
b6619a
%postun -p /sbin/ldconfig
6b4d0d
6b4d0d
%files
6b4d0d
%defattr(-,root,root)
6b4d0d
6b4d0d
%doc COPYING ChangeLog NEWS
6b4d0d
6b4d0d
%{_libdir}/*glib*.so.*
6b4d0d
%{_bindir}/dbus-binding-tool
6b4d0d
6b4d0d
%files devel
6b4d0d
%defattr(-,root,root)
6b4d0d
6b4d0d
%{_libdir}/lib*.so
6b4d0d
%{_libdir}/pkgconfig/dbus-glib-1.pc
6a43f9
%{_includedir}/dbus-1.0/dbus/*
39103d
%{_datadir}/gtk-doc/html/dbus-glib
83afce
%{_mandir}/man1/*
5d4092
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
David Zeuthen 30f12c
%{_libexecdir}/dbus-bash-completion-helper
6b4d0d
6b4d0d
%if 0
6b4d0d
%files gtk
6b4d0d
%defattr(-,root,root)
6b4d0d
6b4d0d
%{_bindir}/dbus-viewer
6b4d0d
6b4d0d
%endif
6b4d0d
6b4d0d
%changelog
8c1818
* Wed Jan 27 2010 Colin Walters <walters@verbum.org> - 0.84-1
8c1818
- New upstream
8c1818
  Has introspect.xml internally, drop it from here
8c1818
9f9b8a
* Fri Jan 15 2010 Colin Walters <walters@verbum.org> - 0.82-3
9f9b8a
- Add ListActivatableNames to dbus-bus-introspect.xml to help tracker build
9f9b8a
f5537b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
f5537b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f5537b
83afce
* Thu Jul 16 2009 Colin Walters <walters@verbum.org> - 0.82-1
83afce
- New upstream 0.82
83afce
- Remove mclasen accidental commit of CFLAGS="-O0 -g3"
83afce
6a43f9
* Sun Jun 14 2009 Matthias Clasen <mclasen@redhat.com> - 0.80-3
6a43f9
- Minor directory ownership cleanup
6a43f9
1c4b2a
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
1c4b2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c4b2a
5d4092
* Mon Feb 02 2009 Colin Walters <walters@verbum.org> - 0.80-1
5d4092
- New upstream release
5d4092
- Adjust to new bash completion dir
5d4092
- Includes patch noreply patch
5d4092
b9d575
* Wed Jan 07 2009 Colin Walters <walters@verbum.org> - 0.78-2
b9d575
- Add patch to avoid sending reply to noreply messages; this avoids
b9d575
  some spurious dbus denial logs during system startup from NM
b9d575
b4d786
* Thu Dec 04 2008 Colin Walters <walters@verbum.org> - 0.78-1
b4d786
- New upstream release, drop upstreamed patches
b4d786
d74729
* Tue Nov 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.76-4
d74729
- Avoid some spurious linkage
d74729
ba869b
* Mon Nov 17 2008 Dan Williams <dcbw@redhat.com> - 0.76-3
ba869b
- Fix crashes when a tracked service restarts too quickly (fdo #18573)
ba869b
David Zeuthen 30f12c
* Thu Jul 31 2008 David Zeuthen <davidz@redhat.com> - 0.76-2
David Zeuthen 30f12c
- Add bash completion for dbus-send(1)
David Zeuthen 30f12c
1b0249
* Thu Jun 05 2008 Colin Walters <walters@redhat.com> - 0.76-1
1b0249
- New upstream 0.76
1b0249
- Drop all upstreamed patches
1b0249
271d9d
* Tue May 27 2008 Dan Williams <dcbw@redhat.com> - 0.74-9
271d9d
- Handle unknown object properties without asserting (fdo #16079)
271d9d
- Handle GetAll() property names correctly (fdo #16114)
271d9d
- Enable the freeze-abi patch
271d9d
- Cherry-pick some fixes from upstream git
271d9d
c66fed
* Thu May  8 2008 Matthias Clasen <mclasen@redhat.com> - 0.74-8
c66fed
- Fix license field
c66fed
5a501d
* Tue Apr 15 2008 Colin Walters <walters@redhat.com> - 0.74-7
5a501d
- Ensure ABI is frozen as it stands now
5a501d
David Zeuthen 036dff
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-6
David Zeuthen 036dff
- Add another upstreamed patch for setting the default timeout
David Zeuthen 036dff
  on a proxy
David Zeuthen 036dff
David Zeuthen ae1890
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-5
David Zeuthen ae1890
- Add an already upstreamed patch to export the GetAll() method on
David Zeuthen ae1890
  the org.freedesktop.DBus.Properties interface
David Zeuthen ae1890
ab01ef
* Wed Mar 19 2008 Dan Williams <dcbw@redhat.com> - 0.74-4
ab01ef
- Ignore children of namespaced nodes too
ab01ef
b9f2cc
* Tue Feb 12 2008 Dan Williams <dcbw@redhat.com> - 0.74-3
b9f2cc
- Ignore namespaces in introspection XML
b9f2cc
2f0a90
* Sun Nov 18 2007 Dan Williams <dcbw@redhat.com> - 0.74-2
2f0a90
- Actually apply the patch for fdo #12505
2f0a90
50d77c
* Mon Oct 22 2007 Ray Strode <rstrode@redhat.com> - 0.74-1
50d77c
- Update to 0.74
50d77c
295f36
* Mon Sep 24 2007 Dan Williams <dcbw@redhat.com> - 0.73-4
295f36
- Dispatch NameOwnerChanged signals to proxies only once (fdo #12505)
295f36
57165b
* Sat Sep 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-3
57165b
- Rebuild against new expat
57165b
76823a
* Wed Aug  1 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-2
76823a
- Fix a bug in introspection support (#248150)
76823a
39103d
* Wed Apr  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
39103d
- Update to 0.73 (#233631)
39103d
- Drop upstreamed patches
39103d
e9afde
* Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
e9afde
- Add dbus-glib-0.70-use-default-threads.patch
e9afde
- Partial fix to #219257
e9afde
David Zeuthen b3f166
* Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
David Zeuthen b3f166
- Add dbus-glib-0.70-fix-info-leak.patch
David Zeuthen b3f166
- Resolves: #216034
David Zeuthen b3f166
b85e18
* Sun Nov  5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
b85e18
- Fix up Requires for the -devel package
b85e18
c16e52
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
c16e52
- Update to 0.71
c16e52
953cc5
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
953cc5
- remove improper obsoletes
953cc5
cf20d3
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
cf20d3
- Pregenerate the xml introspect file so you don't need dbus running during
cf20d3
  the build 
cf20d3
c39b4d
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
c39b4d
- Spec file cleanups
c39b4d
6b4d0d
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
6b4d0d
- Initial dbus-glib package