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