6b4d0d4
%define gettext_package dbus
6b4d0d4
6b4d0d4
%define expat_version           1.95.5
6b4d0d4
%define glib2_version           2.2.0
6b4d0d4
%define gtk2_version 2.4.0
6b4d0d4
%define dbus_version 0.90
6b4d0d4
6b4d0d4
Summary: GLib bindings for D-Bus
6b4d0d4
Name: dbus-glib
5d40928
Version: 0.80
5d40928
Release: 1%{?dist}
6b4d0d4
URL: http://www.freedesktop.org/software/dbus/
df3a0eb
Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
39103d0
Source1: dbus-bus-introspect.xml
c66feda
License: AFL and GPLv2+
6b4d0d4
Group: System Environment/Libraries
c39b4d8
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6b4d0d4
Requires: chkconfig >= 1.3.26
6b4d0d4
BuildRequires: libtool
6b4d0d4
BuildRequires: dbus-devel >= %{dbus_version}
6b4d0d4
BuildRequires: expat-devel >= %{expat_version}
6b4d0d4
BuildRequires: libxml2-devel
6b4d0d4
BuildRequires: glib2-devel >= %{glib2_version}
6b4d0d4
BuildRequires: gettext
6b4d0d4
BuildRequires: autoconf
6b4d0d4
David Zeuthen 30f12c7
# this patch requires autoreconf
David Zeuthen 30f12c7
BuildRequires: autoconf automake libtool gettext-devel gtk-doc
6b4d0d4
6b4d0d4
%description
6b4d0d4
6b4d0d4
D-Bus add-on library to integrate the standard D-Bus library with
6b4d0d4
the GLib thread abstraction and main loop.
6b4d0d4
6b4d0d4
%package devel
6b4d0d4
Summary: Libraries and headers for the D-Bus GLib bindings
6b4d0d4
Group: Development/Libraries
6b4d0d4
Requires: %name = %{version}-%{release}
6b4d0d4
Requires: glib2-devel 
b85e18b
Requires: dbus-devel 
b85e18b
Requires: pkgconfig
6b4d0d4
Obsoletes: dbus-devel < 0.90
6b4d0d4
6b4d0d4
%description devel
6b4d0d4
6b4d0d4
Headers and static libraries for the D-Bus GLib bindings 
6b4d0d4
6b4d0d4
%if 0
6b4d0d4
%package gtk
6b4d0d4
Summary: GTK based tools
6b4d0d4
Group: Development/Tools 
6b4d0d4
Requires: %name = %{version}-%{release}
6b4d0d4
Requires: gtk2 >= %{gtk_version}
6b4d0d4
%description gtk
6b4d0d4
6b4d0d4
D-Bus tools written using the gtk+ GUI libaries
6b4d0d4
6b4d0d4
%endif
6b4d0d4
6b4d0d4
%prep
6b4d0d4
%setup -q
1b0249a
6b4d0d4
%build
d747292
libtoolize --force --copy
David Zeuthen 30f12c7
autoreconf
39103d0
%configure --disable-tests \
39103d0
	--enable-verbose-mode=yes \
39103d0
	--enable-asserts=yes \
5f718a2
	--disable-gtk-doc \
39103d0
	--with-introspect-xml=%{SOURCE1}
6b4d0d4
c39b4d8
#build with checks for right now but disable checks for final release
c39b4d8
#%configure  --disable-tests --disable-verbose-mode --disable-asserts
6b4d0d4
make
6b4d0d4
6b4d0d4
%install
6b4d0d4
rm -rf %{buildroot}
6b4d0d4
6b4d0d4
make install DESTDIR=$RPM_BUILD_ROOT
6b4d0d4
6b4d0d4
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
6b4d0d4
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
6b4d0d4
6b4d0d4
%clean
6b4d0d4
rm -rf %{buildroot}
6b4d0d4
6b4d0d4
b6619a2
%post -p /sbin/ldconfig
6b4d0d4
b6619a2
%postun -p /sbin/ldconfig
6b4d0d4
6b4d0d4
%files
6b4d0d4
%defattr(-,root,root)
6b4d0d4
6b4d0d4
%doc COPYING ChangeLog NEWS
6b4d0d4
6b4d0d4
%{_libdir}/*glib*.so.*
6b4d0d4
%{_bindir}/dbus-binding-tool
6b4d0d4
6b4d0d4
%files devel
6b4d0d4
%defattr(-,root,root)
6b4d0d4
6b4d0d4
%{_libdir}/lib*.so
6b4d0d4
%{_libdir}/pkgconfig/dbus-glib-1.pc
6b4d0d4
%{_includedir}/*
39103d0
%{_datadir}/gtk-doc/html/dbus-glib
5d40928
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
David Zeuthen 30f12c7
%{_libexecdir}/dbus-bash-completion-helper
6b4d0d4
6b4d0d4
%if 0
6b4d0d4
%files gtk
6b4d0d4
%defattr(-,root,root)
6b4d0d4
6b4d0d4
%{_bindir}/dbus-viewer
6b4d0d4
6b4d0d4
%endif
6b4d0d4
6b4d0d4
%changelog
5d40928
* Mon Feb 02 2009 Colin Walters <walters@verbum.org> - 0.80-1
5d40928
- New upstream release
5d40928
- Adjust to new bash completion dir
5d40928
- Includes patch noreply patch
5d40928
b9d5759
* Wed Jan 07 2009 Colin Walters <walters@verbum.org> - 0.78-2
b9d5759
- Add patch to avoid sending reply to noreply messages; this avoids
b9d5759
  some spurious dbus denial logs during system startup from NM
b9d5759
b4d786d
* Thu Dec 04 2008 Colin Walters <walters@verbum.org> - 0.78-1
b4d786d
- New upstream release, drop upstreamed patches
b4d786d
d747292
* Tue Nov 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.76-4
d747292
- Avoid some spurious linkage
d747292
ba869b4
* Mon Nov 17 2008 Dan Williams <dcbw@redhat.com> - 0.76-3
ba869b4
- Fix crashes when a tracked service restarts too quickly (fdo #18573)
ba869b4
David Zeuthen 30f12c7
* Thu Jul 31 2008 David Zeuthen <davidz@redhat.com> - 0.76-2
David Zeuthen 30f12c7
- Add bash completion for dbus-send(1)
David Zeuthen 30f12c7
1b0249a
* Thu Jun 05 2008 Colin Walters <walters@redhat.com> - 0.76-1
1b0249a
- New upstream 0.76
1b0249a
- Drop all upstreamed patches
1b0249a
271d9de
* Tue May 27 2008 Dan Williams <dcbw@redhat.com> - 0.74-9
271d9de
- Handle unknown object properties without asserting (fdo #16079)
271d9de
- Handle GetAll() property names correctly (fdo #16114)
271d9de
- Enable the freeze-abi patch
271d9de
- Cherry-pick some fixes from upstream git
271d9de
c66feda
* Thu May  8 2008 Matthias Clasen <mclasen@redhat.com> - 0.74-8
c66feda
- Fix license field
c66feda
5a501d1
* Tue Apr 15 2008 Colin Walters <walters@redhat.com> - 0.74-7
5a501d1
- Ensure ABI is frozen as it stands now
5a501d1
David Zeuthen 036dffd
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-6
David Zeuthen 036dffd
- Add another upstreamed patch for setting the default timeout
David Zeuthen 036dffd
  on a proxy
David Zeuthen 036dffd
David Zeuthen ae1890d
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-5
David Zeuthen ae1890d
- Add an already upstreamed patch to export the GetAll() method on
David Zeuthen ae1890d
  the org.freedesktop.DBus.Properties interface
David Zeuthen ae1890d
ab01ef0
* Wed Mar 19 2008 Dan Williams <dcbw@redhat.com> - 0.74-4
ab01ef0
- Ignore children of namespaced nodes too
ab01ef0
b9f2cca
* Tue Feb 12 2008 Dan Williams <dcbw@redhat.com> - 0.74-3
b9f2cca
- Ignore namespaces in introspection XML
b9f2cca
2f0a903
* Sun Nov 18 2007 Dan Williams <dcbw@redhat.com> - 0.74-2
2f0a903
- Actually apply the patch for fdo #12505
2f0a903
50d77c4
* Mon Oct 22 2007 Ray Strode <rstrode@redhat.com> - 0.74-1
50d77c4
- Update to 0.74
50d77c4
295f362
* Mon Sep 24 2007 Dan Williams <dcbw@redhat.com> - 0.73-4
295f362
- Dispatch NameOwnerChanged signals to proxies only once (fdo #12505)
295f362
57165b0
* Sat Sep 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-3
57165b0
- Rebuild against new expat
57165b0
76823a5
* Wed Aug  1 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-2
76823a5
- Fix a bug in introspection support (#248150)
76823a5
39103d0
* Wed Apr  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
39103d0
- Update to 0.73 (#233631)
39103d0
- Drop upstreamed patches
39103d0
e9afde2
* Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
e9afde2
- Add dbus-glib-0.70-use-default-threads.patch
e9afde2
- Partial fix to #219257
e9afde2
David Zeuthen b3f1660
* Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
David Zeuthen b3f1660
- Add dbus-glib-0.70-fix-info-leak.patch
David Zeuthen b3f1660
- Resolves: #216034
David Zeuthen b3f1660
b85e18b
* Sun Nov  5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
b85e18b
- Fix up Requires for the -devel package
b85e18b
c16e52c
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
c16e52c
- Update to 0.71
c16e52c
953cc5b
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
953cc5b
- remove improper obsoletes
953cc5b
cf20d37
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
cf20d37
- Pregenerate the xml introspect file so you don't need dbus running during
cf20d37
  the build 
cf20d37
c39b4d8
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
c39b4d8
- Spec file cleanups
c39b4d8
6b4d0d4
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
6b4d0d4
- Initial dbus-glib package