Accepting request 18459 from Mono:Factory

Copy from Mono:Factory/mono-zeroconf based on submit request 18459 from user ajorgensen

OBS-URL: https://build.opensuse.org/request/show/18459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mono-zeroconf?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2009-08-22 02:00:56 +00:00 committed by Git OBS Bridge
parent 68dde0f7b4
commit 95e3c1416f
5 changed files with 56 additions and 75 deletions

View File

@ -1,24 +0,0 @@
diff -urN mono-zeroconf-0.8.0.orig/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs mono-zeroconf-0.8.0/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs
--- mono-zeroconf-0.8.0.orig/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs 2008-06-27 00:45:12.000000000 +0200
+++ mono-zeroconf-0.8.0/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs 2009-01-22 16:52:58.155891843 +0100
@@ -65,17 +65,17 @@
public string Name {
get { return name; }
- protected set { name = value; }
+ set { name = value; }
}
public string RegType {
get { return regtype; }
- protected set { regtype = value; }
+ set { regtype = value; }
}
public string ReplyDomain {
get { return reply_domain; }
- protected set { reply_domain = value; }
+ set { reply_domain = value; }
}
public uint NetworkInterface {

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:149c13556941942c3db55de5b0f21b7d5a3de0d99e867676229b11b32a12fa7b
size 138214

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bde77b0240a45b148f182677022cf20d8ee8e1711b220a1162c9fae3726d7e1
size 139677

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue May 5 22:58:04 EDT 2009 - abockover@novell.com
- Require: mono-zeroconf in the -devel package
-------------------------------------------------------------------
Mon May 5 19:21:54 EDT 2009 - abockover@novell.com
- Updated to version 0.9.0
- Fixed major bug in Avahi service registration
- Introduced a workaround unsigned short port property, UPort to
eliminate having to do an unchecked cast to short for port values
that overflow Int16
- Clean up some packaging, do not BuildRequires avahi-sharp since
we use the DBus API directly since 0.8.0
- Split the .pc file into a -devel package
-------------------------------------------------------------------
Tue Apr 7 10:17:06 MDT 2009 - ajorgensen@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package mono-zeroconf (Version 0.8.0)
# spec file for package mono-zeroconf (Version 0.9.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,19 +20,18 @@
Name: mono-zeroconf
AutoReqProv: on
License: X11/MIT
License: MIT License (or similar)
Group: Development/Languages/Mono
Summary: A cross platform Zero Configuration Networking library for Mono
Url: http://mono-project.com/Mono.Zeroconf
Version: 0.8.0
Release: 2
Version: 0.9.0
Release: 1
Source0: %{name}-%{version}.tar.bz2
Patch0: bug-457482_%{name}.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: mono-devel
Requires: mono-zeroconf-provider
%define assembly_version 3.0.0.80
%define assembly_version 4.0.0.90
## --- Build Configuration --- ##
%define build_avahi 1
%define build_mdnsr 1
@ -42,18 +41,14 @@ Requires: mono-zeroconf-provider
%if %{suse_version} >= 1030
%define build_avahi 1
%define build_mdnsr 0
#BuildRequires: avahi-mono
%endif
%if %{suse_version} >= 1020 && %{suse_version} < 1030
%define build_avahi 1
%define build_mdnsr 1
#BuildRequires: avahi-mono
BuildRequires: mDNSResponder-devel
%endif
%if %{suse_version} < 1020
%define build_avahi 0
%define build_mdnsr 1
BuildRequires: mDNSResponder-devel
%endif
%endif
# Fedora Configuration
@ -62,14 +57,12 @@ BuildRequires: mDNSResponder-devel
%define build_docs 0
%define build_mdnsr 0
%define build_avahi 1
BuildRequires: avahi-sharp
%endif
# Mandriva Configuration
%if 0%{?mandriva_version}
%define build_docs 0
%define build_avahi 1
%define build_mdnsr 0
BuildRequires: avahi-sharp
%endif
%if 0%{?build_docs}
BuildRequires: monodoc-core
@ -102,12 +95,14 @@ Authors:
%dir %_prefix/lib/mono/gac/policy.2.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
%dir %_prefix/lib/mono/gac/policy.3.0.Mono.Zeroconf
%dir %_prefix/lib/mono/gac/policy.3.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
%dir %_prefix/lib/mono/gac/policy.4.0.Mono.Zeroconf
%dir %_prefix/lib/mono/gac/policy.4.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
%_bindir/mzclient
%_prefix/share/pkgconfig/mono-zeroconf.pc
%_prefix/lib/mono/gac/Mono.Zeroconf/*/*.dll*
%_prefix/lib/mono/gac/policy.1.0.Mono.Zeroconf/*/*
%_prefix/lib/mono/gac/policy.2.0.Mono.Zeroconf/*/*
%_prefix/lib/mono/gac/policy.3.0.Mono.Zeroconf/*/*
%_prefix/lib/mono/gac/policy.4.0.Mono.Zeroconf/*/*
%_prefix/lib/mono/mono-zeroconf/Mono.Zeroconf.dll*
%_prefix/lib/mono-zeroconf/MZClient.exe*
## --- mDNSResponder Provider --- ##
@ -118,7 +113,7 @@ License: X11/MIT
Summary: A cross platform Zero Configuration Networking library for Mono
Group: Development/Languages/Mono
BuildRequires: mDNSResponder-devel
Requires: mDNSResponder mono-zeroconf
Requires: mDNSResponder
Provides: mono-zeroconf-provider
%description provider-mDNSResponder
@ -143,10 +138,10 @@ Authors:
%if %{build_avahi} == 1
%package provider-avahi
License: X11/MIT
License: MIT License (or similar)
Summary: A cross platform Zero Configuration Networking library for Mono
Group: Development/Languages/Mono
Requires: mono-zeroconf avahi
Requires: avahi
Provides: mono-zeroconf-provider
%description provider-avahi
@ -171,7 +166,7 @@ Authors:
%if %{build_docs} == 1
%package doc
License: X11/MIT
License: MIT License (or similar)
Summary: A cross platform Zero Configuration Networking library for Mono
Group: Development/Languages/Mono
@ -193,11 +188,34 @@ Authors:
%dir %_prefix/lib/monodoc/sources/
%_prefix/lib/monodoc/sources/mono-zeroconf-docs*
%endif
## --- Devel Package (pkg-config file) --- ##
%package devel
License: MIT License (or similar)
Summary: A cross platform Zero Configuration Networking library for Mono
Group: Development/Languages/Mono
Requires: %{name} = %{version}
%description devel
Mono.Zeroconf is a cross platform Zero Configuration Networking library
for Mono and .NET. It provides a unified API for performing the most
common zeroconf operations on a variety of platforms and subsystems:
all the operating systems supported by Mono and both the Avahi and
Bonjour/mDNSResponder transports.
Authors:
--------
Aaron Bockover <abockover@novell.com>
%files devel
%defattr(-, root, root)
%_prefix/share/pkgconfig/mono-zeroconf.pc
## --- Build/Install --- #
%prep
%setup -q
%patch0 -p1
%build
%{?env_options}
@ -229,33 +247,3 @@ mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT/usr/share/pkgconfig
rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Apr 07 2009 ajorgensen@novell.com
- Patch to build against mono 2.4
* Thu Sep 11 2008 abockover@suse.de
- Updated to version 0.8.0
- New Avahi provider using DBus instead of libavahi
- Improved IPv6 support (AddressProtocol/A6 query support)
- Garbage Collection bug fixed in the Bonjour backend
- New MZClient features: setting interface, domain, address type
restrictions on browse/resolve operations
* Thu Mar 20 2008 abockover@suse.de
- Updated to version 0.7.6
- Adds NetworkInterface API to IService objects
- Supports IPv6 host address resolutions
* Fri Jan 25 2008 abockover@suse.de
- Updated to version 0.7.5
- Adds GAC version policy assemblies so package upgrades don't break apps
* Wed Jan 23 2008 abockover@suse.de
- Updated to version 0.7.4
- Fixes IP address resolution bug in Bonjour provider that
only manifested under .NET on Windows XP SP2
- Minor bug fix in MZClient
- libdir patch removed from package; fixed in upstream release
* Thu Dec 27 2007 abockover@suse.de
- Patch to fix libdir issue in mono-zeroconf.pc on x86_64
* Sat Dec 22 2007 abockover@suse.de
- Initial import of Mono.Zeroconf for STABLE from the build serivce
- Version 0.7.3 release
- Provides a cross platform (Linux, Mac, Windows) Mono/.NET API
for Zero Configuration networking supporting either Bonjour
or Avahi mDNS providers