---- dbus-sharp-0.7.0/src/Makefile.am~ 2010-09-15 12:16:28.000000000 +0200
-+++ dbus-sharp-0.7.0/src/Makefile.am 2011-02-21 16:27:11.723100314 +0100
-@@ -42,8 +42,8 @@
+--- dbus-sharp-0.8.1/src/Makefile.am.orig 2022-04-25 21:00:29.442324896 +0200
++++ dbus-sharp-0.8.1/src/Makefile.am 2022-04-25 21:05:16.230771229 +0200
+@@ -53,14 +53,14 @@ $(TARGET): $(CSFILES) AssemblyInfo.cs
install-data-local: $(TARGET)
@if test -n '$(TARGET)'; then \
-- echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(libdir)"; \
+- echo "$(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
-+ echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(prefix)/lib"; \
-+ $(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(prefix)/lib || exit 1; \
++ echo "$(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib || exit 1; \
fi
uninstall-local:
+ @if test -n '$(TARGET)'; then \
+- echo "$(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
++ echo "$(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib || exit 1; \
+ fi
+
+ .PHONY: $(TARGET)
Summary: D-Bus for .NET - C# library implementing D-Bus
Summary(pl.UTF-8): D-Bus dla .NET - biblioteka C# implementujÄ…ca D-Bus
Name: dotnet-dbus-sharp
-Version: 0.7.0
-Release: 3
+Version: 0.8.1
+Release: 1
Epoch: 1
License: MIT
Group: Libraries
-#Source0Download: https://github.com/mono/dbus-sharp/downloads
-Source0: http://github.com/downloads/mono/dbus-sharp/%{module}-%{version}.tar.gz
-# Source0-md5: 1964fc341dcbaeda859c53cee295d042
+#Source0Download: https://github.com/mono/dbus-sharp/releases
+Source0: https://github.com/mono/dbus-sharp/releases/download/v%{version}/%{module}-%{version}.tar.gz
+# Source0-md5: bb94ab3d9703342a2e936e52c87c783a
Patch0: dbus-monodir.patch
-URL: http://mono.github.com/dbus-sharp/
+URL: http://mono.github.io/dbus-sharp/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: mono-csharp >= 1.1.13
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: rpmbuild(monoautodeps)
+BuildRequires: rpmbuild(macros) >= 2.015
BuildRequires: sed >= 4.0
Requires: mono >= 1.1.13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%{__aclocal}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ GMCS=/usr/bin/mcs
%{__make}
%install
%files devel
%defattr(644,root,root,755)
-%{_prefix}/lib/mono/dbus-sharp-1.0
-%{_pkgconfigdir}/dbus-sharp-1.0.pc
+%{_prefix}/lib/mono/dbus-sharp-2.0
+%{_pkgconfigdir}/dbus-sharp-2.0.pc