%if 0%{?rhel}%{?el6}%{?el7} # see https://fedorahosted.org/fpc/ticket/395 %define _monodir %{_prefix}/lib/mono %define _monogacdir %{_monodir}/gac %endif %define debug_package %{nil} Name: ndesk-dbus-glib URL: http://www.ndesk.org/DBusSharp License: MIT Version: 0.4.1 Release: 36%{?dist} Summary: Provides glib mainloop integration for ndesk-dbus Source0: http://www.ndesk.org/archive/dbus-sharp/ndesk-dbus-glib-%{version}.tar.gz BuildRequires: make BuildRequires: mono-devel ## This EVR is necessary due to the WaitForIOCompletion API added in the Sugar ## datastore patch. BuildRequires: ndesk-dbus-devel >= 0.6.1a-7 # Mono only available on these: ExclusiveArch: %{mono_arches} %description ndesk-dbus-glib provides glib mainloop integration for ndesk-dbus %package devel Summary: Development files for ndesk-dbus-glib Requires: ndesk-dbus-glib = %{version} Requires: ndesk-dbus-devel Requires: pkgconfig %description devel Development files for ndesk-dbus-glib %prep %setup -q sed -i "s#gmcs#mcs#g" configure sed -i "s#gmcs#mcs#g" configure.ac %build %configure --libdir=%{_prefix}/lib make %{?_smp_mflags} %install %make_install mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ %files %{!?_licensedir:%global license %%doc} %license COPYING %{_monogacdir}/NDesk.DBus.GLib/ %{_monodir}/ndesk-dbus-glib-1.0/ %files devel %{_libdir}/pkgconfig/ndesk-dbus-glib-1.0.pc %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.4.1-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.4.1-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.4.1-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.4.1-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.4.1-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.4.1-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 01 2020 Timotheus Pokorra - 0.4.1-30 - Rebuilt due to mono-find-requires issue with Mono * Thu Jul 25 2019 Fedora Release Engineering - 0.4.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.4.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.4.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.4.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.4.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Oct 13 2016 Fedora Release Engineering - 0.4.1-22 - mono rebuild for aarch64 support * Thu Feb 04 2016 Fedora Release Engineering - 0.4.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 12 2015 Claudio Rodrigo Pereyra Diaz 0.4.1-19 - Build for Mono 4 - Use %%license * Sun Aug 17 2014 Fedora Release Engineering - 0.4.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.4.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 24 2014 Brent Baude - 0.4.1-16 - Changed ppc64 arch to power64 macro * Sat Aug 03 2013 Fedora Release Engineering - 0.4.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.4.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.4.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 09 2012 Christian Krause - 0.4.1-12 - Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org/wiki/Packaging:Mono) * Fri Jan 13 2012 Fedora Release Engineering - 0.4.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Feb 25 2011 Dan HorĂ¡k - 0.4.1-10 - updated the supported arch list * Tue Feb 08 2011 Fedora Release Engineering - 0.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Oct 26 2009 Dennis Gilmore - 0.4.1-8 - ExcludeArch sparc64 * Wed Jul 29 2009 Peter Gordon - 0.4.1-7 - Apply patch from Torello Querci to fix reading from the socket with the Sugar datastore (#503151): + sugar-datastore.patch - Bump minimum required ndesk-dbus version (for the WaitForIOCompletion API added in the Sugar datastore patch). * Sat Jul 25 2009 Fedora Release Engineering - 0.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 30 2009 Xavier Lamien - 0.4.1-5 - Build arch ppc64. * Thu Feb 26 2009 David Nielsen - 0.4.1-4 - Rebuild for stack update (#487155) * Mon Feb 18 2008 Fedora Release Engineering - 0.4.1-3 - Autorebuild for GCC 4.3 * Sat Dec 29 2007 David Nielsen - 0.4.1-2 - -devel now requires ndesk-dbus-devel * Thu Nov 8 2007 David Nielsen - 0.4.1-1 - bump to 0.4.1 - clean up spec - remove review blockers * Sun Oct 21 2007 David Nielsen - 0.3-7 - revert noarch change accord to the guidelines to accommodate - post packaging AOT. * Tue Oct 16 2007 David Nielsen - 0.3-6 - Make noarch * Thu Jul 5 2007 David Nielsen - 0.3-5 - Don't build on ppc64 due to mising deps, see bug 241850 * Wed Jul 4 2007 David Nielsen - 0.3-4 - fix spaces vs. tabs - fix %%defattr - No longer build as noarch - make setup quiet * Mon Jun 25 2007 David Nielsen - 0.3-3 - reduced amount of ugly hacks in the spec * Mon Jun 25 2007 David Nielsen - 0.3-2 - Let's not be stupid .mdb files don't go in -devel * Sat Jun 23 2007 David Nielsen - 0.3-1 - Initial package