607f97
%global expat_version 1.95.5
607f97
%global glib2_version 2.40.0
607f97
%global dbus_version 1.8
607f97
607f97
Summary: GLib bindings for D-Bus
607f97
Name: dbus-glib
607f97
Version: 0.110
607f97
Release: 2%{?dist}
607f97
URL: http://www.freedesktop.org/software/dbus/
607f97
#VCS: git:git://git.freedesktop.org/git/dbus/dbus-glib
607f97
Source0: https://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
607f97
License: AFL and GPLv2+
607f97
Group: System Environment/Libraries
607f97
BuildRequires: pkgconfig(dbus-1) >= %{dbus_version}
607f97
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
607f97
BuildRequires: expat-devel >= %{expat_version}
607f97
BuildRequires: gettext
607f97
BuildRequires: /usr/bin/chrpath
607f97
607f97
%description
607f97
607f97
D-Bus add-on library to integrate the standard D-Bus library with
607f97
the GLib thread abstraction and main loop.
607f97
607f97
%package devel
607f97
Summary: Libraries and headers for the D-Bus GLib bindings
607f97
Group: Development/Libraries
607f97
Requires: %{name}%{?_isa} = %{version}-%{release}
607f97
607f97
%description devel
607f97
607f97
Headers and static libraries for the D-Bus GLib bindings
607f97
607f97
%prep
607f97
%setup -q
607f97
607f97
%build
607f97
%configure --enable-tests=yes \
607f97
	--enable-asserts=yes \
607f97
	--disable-gtk-doc
607f97
607f97
make %{?_smp_mflags} V=1
607f97
607f97
%check
607f97
make check
607f97
607f97
607f97
%install
607f97
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
607f97
607f97
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
607f97
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
607f97
607f97
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/dbus-binding-tool
607f97
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbus-bash-completion-helper
607f97
607f97
# Scripts that are sourced should not be executable.
607f97
chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
607f97
607f97
607f97
%post -p /sbin/ldconfig
607f97
607f97
%postun -p /sbin/ldconfig
607f97
607f97
%files
607f97
%doc NEWS
607f97
%license COPYING
607f97
%{_libdir}/libdbus-glib-1.so.*
607f97
%{_bindir}/dbus-binding-tool
607f97
%{_mandir}/man1/dbus-binding-tool.1*
607f97
607f97
%files devel
607f97
%{_libdir}/libdbus-glib-1.so
607f97
%{_libdir}/pkgconfig/dbus-glib-1.pc
607f97
%{_includedir}/dbus-1.0/dbus/*
607f97
%{_datadir}/gtk-doc/html/dbus-glib
607f97
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
607f97
%{_libexecdir}/dbus-bash-completion-helper
607f97
607f97
607f97
%changelog
607f97
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
607f97
607f97
* Tue Jan 30 2018 David King <amigadave@amigadave.com> - 0.110-1
607f97
- Update to 0.110
607f97
607f97
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.108-4
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
607f97
607f97
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.108-3
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
607f97
607f97
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.108-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
607f97
607f97
* Fri Sep 09 2016 David King <amigadave@amigadave.com> - 0.108-1
607f97
- Update to 0.108
607f97
- Enable tests
607f97
- Remove obsolete Requires and Obsoletes
607f97
607f97
* Tue Feb 02 2016 David King <amigadave@amigadave.com> - 0.106-1
607f97
- Update to 0.106
607f97
607f97
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-3
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
607f97
607f97
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.104-2
607f97
- Rebuilt for Fedora 23 Change
607f97
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
607f97
607f97
* Mon Feb 09 2015 David King <amigadave@amigadave.com> - 0.104-1
607f97
- Update to 0.104
607f97
- Remove RPATH
607f97
- Remove executable bit from sourced script
607f97
- Move man page to main package and update glob
607f97
- Make the build output more verbose
607f97
607f97
* Sat Feb 07 2015 David King <amigadave@amigadave.com> - 0.102-1
607f97
- Update to 0.102
607f97
- Use pkgconfig for BuildRequires
607f97
- Remove outdated gtk subpackage
607f97
- Use license for COPYING
607f97
- Tighten subpackage dependencies with the isa macro
607f97
- Tidy spec file
607f97
- Preserve timestamps during install
607f97
607f97
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100.2-4
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
607f97
607f97
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100.2-3
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
607f97
607f97
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100.2-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
607f97
607f97
* Mon Jul 01 2013 Colin Walters <walters@redhat.com> - 0.100.2
607f97
- New upstream version
607f97
607f97
* Fri Jun 21 2013 Matthias Clasen <mclasen@redhat.com> - 0.100-4
607f97
- Don't install ChangeLog (need to save space on the live image)
607f97
607f97
* Wed Feb 20 2013 Colin Walters <walters@redhat.com> - 0.100-3
607f97
- CVE-2013-0292
607f97
  Resolves: #911714
607f97
607f97
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
607f97
607f97
* Tue Jul 17 2012 Colin Walters <walters@verbum.org> - 0.100-1
607f97
- Update to 0.100
607f97
607f97
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
607f97
607f97
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
607f97
607f97
* Sat Jan 22 2011 Christopher Aillon <caillon@redhat.com> - 0.92-1
607f97
- Update to 0.92
607f97
607f97
* Wed Sep 29 2010 jkeating - 0.88-3
607f97
- Rebuilt for gcc bug 634757
607f97
607f97
* Tue Sep 21 2010 Colin Walters <walters@verbum.org> - 0.88-2
607f97
- Drop .gir file, it's now in gobject-introspection
607f97
607f97
* Thu Aug 12 2010 Colin Walters <walters@verbum.org> - 0.88-1
607f97
- New upstream version
607f97
- drop now-merged shadow props patch
607f97
607f97
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.86-4
607f97
- Rebuild against new gobject-introspection
607f97
607f97
* Tue Jun 29 2010 Dan Williams <dcbw@redhat.com> - 0.86-3
607f97
- Fix shadow property access (fdo #28835)
607f97
607f97
* Tue Jun 29 2010 Bastien Nocera <bnocera@redhat.com> 0.86-2
607f97
- Add introspection data from gir-repository
607f97
- Remove unneeded autotools calls
607f97
607f97
* Thu Mar 18 2010 Colin Walters <walters@verbum.org> - 0.86-1
607f97
- New upstream
607f97
  Drop upstreamed patch
607f97
607f97
* Tue Mar 02 2010 Colin Walters <walters@verbum.org> - 0.84-3
607f97
- Revert previous broken patch for error names, add better fix
607f97
607f97
* Mon Feb 15 2010 Colin Walters <walters@verbum.org> - 0.84-2
607f97
- Add patch to avoid assertions when setting a GError that
607f97
  includes a '-' in the enumeration value.  Should fix #528897
607f97
607f97
* Wed Jan 27 2010 Colin Walters <walters@verbum.org> - 0.84-1
607f97
- New upstream
607f97
  Has introspect.xml internally, drop it from here
607f97
607f97
* Fri Jan 15 2010 Colin Walters <walters@verbum.org> - 0.82-3
607f97
- Add ListActivatableNames to dbus-bus-introspect.xml to help tracker build
607f97
607f97
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
607f97
607f97
* Thu Jul 16 2009 Colin Walters <walters@verbum.org> - 0.82-1
607f97
- New upstream 0.82
607f97
- Remove mclasen accidental commit of CFLAGS="-O0 -g3"
607f97
607f97
* Sun Jun 14 2009 Matthias Clasen <mclasen@redhat.com> - 0.80-3
607f97
- Minor directory ownership cleanup
607f97
607f97
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
607f97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
607f97
607f97
* Mon Feb 02 2009 Colin Walters <walters@verbum.org> - 0.80-1
607f97
- New upstream release
607f97
- Adjust to new bash completion dir
607f97
- Includes patch noreply patch
607f97
607f97
* Wed Jan 07 2009 Colin Walters <walters@verbum.org> - 0.78-2
607f97
- Add patch to avoid sending reply to noreply messages; this avoids
607f97
  some spurious dbus denial logs during system startup from NM
607f97
607f97
* Thu Dec 04 2008 Colin Walters <walters@verbum.org> - 0.78-1
607f97
- New upstream release, drop upstreamed patches
607f97
607f97
* Tue Nov 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.76-4
607f97
- Avoid some spurious linkage
607f97
607f97
* Mon Nov 17 2008 Dan Williams <dcbw@redhat.com> - 0.76-3
607f97
- Fix crashes when a tracked service restarts too quickly (fdo #18573)
607f97
607f97
* Thu Jul 31 2008 David Zeuthen <davidz@redhat.com> - 0.76-2
607f97
- Add bash completion for dbus-send(1)
607f97
607f97
* Thu Jun 05 2008 Colin Walters <walters@redhat.com> - 0.76-1
607f97
- New upstream 0.76
607f97
- Drop all upstreamed patches
607f97
607f97
* Tue May 27 2008 Dan Williams <dcbw@redhat.com> - 0.74-9
607f97
- Handle unknown object properties without asserting (fdo #16079)
607f97
- Handle GetAll() property names correctly (fdo #16114)
607f97
- Enable the freeze-abi patch
607f97
- Cherry-pick some fixes from upstream git
607f97
607f97
* Thu May  8 2008 Matthias Clasen <mclasen@redhat.com> - 0.74-8
607f97
- Fix license field
607f97
607f97
* Tue Apr 15 2008 Colin Walters <walters@redhat.com> - 0.74-7
607f97
- Ensure ABI is frozen as it stands now
607f97
607f97
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-6
607f97
- Add another upstreamed patch for setting the default timeout
607f97
  on a proxy
607f97
607f97
* Fri Apr  4 2008 David Zeuthen <davidz@redhat.com> - 0.74-5
607f97
- Add an already upstreamed patch to export the GetAll() method on
607f97
  the org.freedesktop.DBus.Properties interface
607f97
607f97
* Wed Mar 19 2008 Dan Williams <dcbw@redhat.com> - 0.74-4
607f97
- Ignore children of namespaced nodes too
607f97
607f97
* Tue Feb 12 2008 Dan Williams <dcbw@redhat.com> - 0.74-3
607f97
- Ignore namespaces in introspection XML
607f97
607f97
* Sun Nov 18 2007 Dan Williams <dcbw@redhat.com> - 0.74-2
607f97
- Actually apply the patch for fdo #12505
607f97
607f97
* Mon Oct 22 2007 Ray Strode <rstrode@redhat.com> - 0.74-1
607f97
- Update to 0.74
607f97
607f97
* Mon Sep 24 2007 Dan Williams <dcbw@redhat.com> - 0.73-4
607f97
- Dispatch NameOwnerChanged signals to proxies only once (fdo #12505)
607f97
607f97
* Sat Sep 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-3
607f97
- Rebuild against new expat
607f97
607f97
* Wed Aug  1 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-2
607f97
- Fix a bug in introspection support (#248150)
607f97
607f97
* Wed Apr  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.73-1
607f97
- Update to 0.73 (#233631)
607f97
- Drop upstreamed patches
607f97
607f97
* Tue Dec 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.71-4
607f97
- Add dbus-glib-0.70-use-default-threads.patch
607f97
- Partial fix to #219257
607f97
607f97
* Wed Nov 29 2006 David Zeuthen <davidz@redhat.com> - 0.71-3%{?dist}
607f97
- Add dbus-glib-0.70-fix-info-leak.patch
607f97
- Resolves: #216034
607f97
607f97
* Sun Nov  5 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-2
607f97
- Fix up Requires for the -devel package
607f97
607f97
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.71-1
607f97
- Update to 0.71
607f97
607f97
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-4
607f97
- remove improper obsoletes
607f97
607f97
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
607f97
- Pregenerate the xml introspect file so you don't need dbus running during
607f97
  the build 
607f97
607f97
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
607f97
- Spec file cleanups
607f97
607f97
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
607f97
- Initial dbus-glib package