OBS User unknown 2007-07-24 07:31:52 +00:00 committed by Git OBS Bridge
parent 7c7cf132e7
commit 6d49e0903d
3 changed files with 33 additions and 22 deletions

View File

@ -16,7 +16,7 @@ Name: avahi-mono
# avahi.spec and then run pre_checkin.sh which will create # avahi.spec and then run pre_checkin.sh which will create
# avahi-mono.spec based upon avahi.spec. # avahi-mono.spec based upon avahi.spec.
Version: 0.6.20 Version: 0.6.20
Release: 8 Release: 11
URL: http://www.avahi.org/ URL: http://www.avahi.org/
Group: Development/Libraries/Other Group: Development/Libraries/Other
License: LGPL v2 or later License: LGPL v2 or later
@ -41,6 +41,14 @@ BuildRequires: libqt4-devel python-gtk-devel
BuildRequires: python-gtk qt-devel BuildRequires: python-gtk qt-devel
%endif %endif
%endif %endif
%if %build_mono
Requires: avahi = %{version} gtk-sharp2
%else
Requires: dbus-1
Requires: nss-mdns
Provides: mDNSResponder = 107.5
Obsoletes: mDNSResponder <= 107.5
%endif
%description %description
Mono bindings for avahi. Mono bindings for avahi.
@ -65,13 +73,7 @@ Authors:
Trent Lloyd <lathiat@freedesktop.org> Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com> Sebastien Estienne <sebastien.estienne@gmail.com>
%if %build_mono %if !%build_mono
Requires: avahi = %{version} gtk-sharp2
%else
Requires: dbus-1
Requires: nss-mdns
Provides: mDNSResponder = 107.5
Obsoletes: mDNSResponder <= 107.5
%package -n avahi-glib %package -n avahi-glib
Summary: D-BUS Service for Zeroconf/Bonjour Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -109,7 +111,7 @@ Group: System/Daemons
%py_requires %py_requires
%description python %description -n avahi-python
Avahi is an implementation of the DNS Service Discovery and Multicast Avahi is an implementation of the DNS Service Discovery and Multicast
DNS specifications for Zeroconf Computing. It uses D-BUS for DNS specifications for Zeroconf Computing. It uses D-BUS for
communication between user applications and a system daemon. The daemon communication between user applications and a system daemon. The daemon
@ -233,7 +235,7 @@ Group: System/Daemons
Provides: mDNSResponder-devel = 107.5 Provides: mDNSResponder-devel = 107.5
Obsoletes: mDNSResponder-devel <= 107.5 Obsoletes: mDNSResponder-devel <= 107.5
%description compat-mDNSResponder-devel %description -n avahi-compat-mDNSResponder-devel
Apple mDNSResponder compatibility layer for avahi. Apple mDNSResponder compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS Avahi is an Implementation the DNS Service Discovery and Multicast DNS
@ -291,7 +293,7 @@ Requires: %{name} = %{version} %{name}-compat-howl = %{version}
Autoreqprov: on Autoreqprov: on
Group: System/Daemons Group: System/Daemons
%description compat-howl-devel %description -n avahi-compat-howl-devel
howl compatibility layer for avahi. howl compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS Avahi is an Implementation the DNS Service Discovery and Multicast DNS

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 24 08:40:29 CEST 2007 - aj@suse.de
- Resort spec file so that mDNSResponder is provided again.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 16 11:44:59 CEST 2007 - aj@suse.de Mon Jul 16 11:44:59 CEST 2007 - aj@suse.de

View File

@ -16,7 +16,7 @@ Name: avahi
# avahi.spec and then run pre_checkin.sh which will create # avahi.spec and then run pre_checkin.sh which will create
# avahi-mono.spec based upon avahi.spec. # avahi-mono.spec based upon avahi.spec.
Version: 0.6.20 Version: 0.6.20
Release: 8 Release: 11
URL: http://www.avahi.org/ URL: http://www.avahi.org/
Group: System/Daemons Group: System/Daemons
License: LGPL v2 or later License: LGPL v2 or later
@ -41,6 +41,14 @@ BuildRequires: libqt4-devel python-gtk-devel
BuildRequires: python-gtk qt-devel BuildRequires: python-gtk qt-devel
%endif %endif
%endif %endif
%if %build_mono
Requires: avahi = %{version} gtk-sharp2
%else
Requires: dbus-1
Requires: nss-mdns
Provides: mDNSResponder = 107.5
Obsoletes: mDNSResponder <= 107.5
%endif
%description %description
Avahi is an implementation of the DNS Service Discovery and Multicast Avahi is an implementation of the DNS Service Discovery and Multicast
@ -63,13 +71,7 @@ Authors:
Trent Lloyd <lathiat@freedesktop.org> Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com> Sebastien Estienne <sebastien.estienne@gmail.com>
%if %build_mono %if !%build_mono
Requires: avahi = %{version} gtk-sharp2
%else
Requires: dbus-1
Requires: nss-mdns
Provides: mDNSResponder = 107.5
Obsoletes: mDNSResponder <= 107.5
%package -n avahi-glib %package -n avahi-glib
Summary: D-BUS Service for Zeroconf/Bonjour Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -107,7 +109,7 @@ Group: System/Daemons
%py_requires %py_requires
%description python %description -n avahi-python
Avahi is an implementation of the DNS Service Discovery and Multicast Avahi is an implementation of the DNS Service Discovery and Multicast
DNS specifications for Zeroconf Computing. It uses D-BUS for DNS specifications for Zeroconf Computing. It uses D-BUS for
communication between user applications and a system daemon. The daemon communication between user applications and a system daemon. The daemon
@ -231,7 +233,7 @@ Group: System/Daemons
Provides: mDNSResponder-devel = 107.5 Provides: mDNSResponder-devel = 107.5
Obsoletes: mDNSResponder-devel <= 107.5 Obsoletes: mDNSResponder-devel <= 107.5
%description compat-mDNSResponder-devel %description -n avahi-compat-mDNSResponder-devel
Apple mDNSResponder compatibility layer for avahi. Apple mDNSResponder compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS Avahi is an Implementation the DNS Service Discovery and Multicast DNS
@ -289,7 +291,7 @@ Requires: %{name} = %{version} %{name}-compat-howl = %{version}
Autoreqprov: on Autoreqprov: on
Group: System/Daemons Group: System/Daemons
%description compat-howl-devel %description -n avahi-compat-howl-devel
howl compatibility layer for avahi. howl compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS Avahi is an Implementation the DNS Service Discovery and Multicast DNS
@ -630,6 +632,8 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Tue Jul 24 2007 - aj@suse.de
- Resort spec file so that mDNSResponder is provided again.
* Mon Jul 16 2007 - aj@suse.de * Mon Jul 16 2007 - aj@suse.de
- Fix spec file. - Fix spec file.
* Mon Jul 16 2007 - aj@suse.de * Mon Jul 16 2007 - aj@suse.de