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