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
Christopher Aillon b376392
%define dbus_version 1.1
6b4d0d4
6b4d0d4
Summary: GLib bindings for D-Bus
6b4d0d4
Name: dbus-glib
Colin Walters 5ef1ea7
Version: 0.98
Colin Walters 7a83ff7
Release: 2%{?dist}
6b4d0d4
URL: http://www.freedesktop.org/software/dbus/
1d45f63
#VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib
df3a0eb
Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
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
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}
6a43f9b
Requires: glib2-devel
6a43f9b
Requires: dbus-devel
b85e18b
Requires: pkgconfig
6b4d0d4
Obsoletes: dbus-devel < 0.90
6b4d0d4
6b4d0d4
%description devel
6b4d0d4
6a43f9b
Headers and static libraries for the D-Bus GLib bindings
6b4d0d4
6b4d0d4
%if 0
6b4d0d4
%package gtk
6b4d0d4
Summary: GTK based tools
6a43f9b
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
39103d0
%configure --disable-tests \
39103d0
	--enable-verbose-mode=yes \
39103d0
	--enable-asserts=yes \
8c1818e
	--disable-gtk-doc
6b4d0d4
c39b4d8
#build with checks for right now but disable checks for final release
c39b4d8
#%configure  --disable-tests --disable-verbose-mode --disable-asserts
83afce0
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
6a43f9b
%{_includedir}/dbus-1.0/dbus/*
39103d0
%{_datadir}/gtk-doc/html/dbus-glib
83afce0
%{_mandir}/man1/*
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
Colin Walters 7a83ff7
* Thu Jul 19 2012 Colin Walters <walters@verbum.org> - 0.98-2
Colin Walters 7a83ff7
- Bump release to override deleted build
Colin Walters 7a83ff7
- Should fix https://bugzilla.redhat.com/show_bug.cgi?id=766198
Colin Walters 7a83ff7
Colin Walters 5ef1ea7
* Wed Oct  5 2011 Colin Walters <walters@verbum.org> - 0.98-1
Colin Walters 5ef1ea7
- Update to 0.98
Colin Walters 5ef1ea7
79e948e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-2
79e948e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79e948e
Christopher Aillon b376392
* Sat Jan 22 2011 Christopher Aillon <caillon@redhat.com> - 0.92-1
Christopher Aillon b376392
- Update to 0.92
Christopher Aillon b376392
Jesse Keating 7563fda
* Wed Sep 29 2010 jkeating - 0.88-3
Jesse Keating 7563fda
- Rebuilt for gcc bug 634757
Jesse Keating 7563fda
Colin Walters eb8b107
* Tue Sep 21 2010 Colin Walters <walters@verbum.org> - 0.88-2
Colin Walters eb8b107
- Drop .gir file, it's now in gobject-introspection
Colin Walters eb8b107
Colin Walters 2157cc0
* Thu Aug 12 2010 Colin Walters <walters@verbum.org> - 0.88-1
Colin Walters 2157cc0
- New upstream version
Colin Walters 2157cc0
- drop now-merged shadow props patch
Colin Walters 2157cc0
71486c3
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.86-4
71486c3
- Rebuild against new gobject-introspection
71486c3
6a686ef
* Tue Jun 29 2010 Dan Williams <dcbw@redhat.com> - 0.86-3
6a686ef
- Fix shadow property access (fdo #28835)
6a686ef
fa93063
* Tue Jun 29 2010 Bastien Nocera <bnocera@redhat.com> 0.86-2
fa93063
- Add introspection data from gir-repository
fa93063
- Remove unneeded autotools calls
fa93063
4085ef4
* Thu Mar 18 2010 Colin Walters <walters@verbum.org> - 0.86-1
4085ef4
- New upstream
4085ef4
  Drop upstreamed patch
e13201e
1d45f63
* Tue Mar 02 2010 Colin Walters <walters@verbum.org> - 0.84-3
1d45f63
- Revert previous broken patch for error names, add better fix
1d45f63
fadb9d8
* Mon Feb 15 2010 Colin Walters <walters@verbum.org> - 0.84-2
fadb9d8
- Add patch to avoid assertions when setting a GError that
fadb9d8
  includes a '-' in the enumeration value.  Should fix #528897
fadb9d8
8c1818e
* Wed Jan 27 2010 Colin Walters <walters@verbum.org> - 0.84-1
8c1818e
- New upstream
8c1818e
  Has introspect.xml internally, drop it from here
8c1818e
9f9b8a6
* Fri Jan 15 2010 Colin Walters <walters@verbum.org> - 0.82-3
9f9b8a6
- Add ListActivatableNames to dbus-bus-introspect.xml to help tracker build
9f9b8a6
f5537bd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
f5537bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f5537bd
83afce0
* Thu Jul 16 2009 Colin Walters <walters@verbum.org> - 0.82-1
83afce0
- New upstream 0.82
83afce0
- Remove mclasen accidental commit of CFLAGS="-O0 -g3"
83afce0
6a43f9b
* Sun Jun 14 2009 Matthias Clasen <mclasen@redhat.com> - 0.80-3
6a43f9b
- Minor directory ownership cleanup
6a43f9b
1c4b2a6
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
1c4b2a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c4b2a6
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