[packages/dotnet-dbus-sharp] - updated to 0.8.1 (API 2.0)

qboosh qboosh at pld-linux.org
Tue Apr 26 19:45:38 CEST 2022


commit f5ee46c336e6debf5bb2484836fdd2b03a265d9b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 26 19:45:56 2022 +0200

    - updated to 0.8.1 (API 2.0)

 dbus-monodir.patch     | 20 ++++++++++++++------
 dotnet-dbus-sharp.spec | 22 +++++++++++-----------
 2 files changed, 25 insertions(+), 17 deletions(-)
---
diff --git a/dotnet-dbus-sharp.spec b/dotnet-dbus-sharp.spec
index 1b5ece3..06f2c70 100644
--- a/dotnet-dbus-sharp.spec
+++ b/dotnet-dbus-sharp.spec
@@ -4,22 +4,21 @@
 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)
@@ -55,7 +54,8 @@ Pliki programistyczne biblioteki dbus-sharp.
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	GMCS=/usr/bin/mcs
 %{__make}
 
 %install
@@ -74,5 +74,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
diff --git a/dbus-monodir.patch b/dbus-monodir.patch
index b36a0fb..cc776f3 100644
--- a/dbus-monodir.patch
+++ b/dbus-monodir.patch
@@ -1,13 +1,21 @@
---- 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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-dbus-sharp.git/commitdiff/f5ee46c336e6debf5bb2484836fdd2b03a265d9b



More information about the pld-cvs-commit mailing list