From 270911a9c5cfb4b191aff03c510978655444503e Mon Sep 17 00:00:00 2001 From: jvdias Date: Thu, 12 Jan 2006 20:53:31 +0000 Subject: [PATCH] fix bugs 177610, 177609 --- avahi.spec | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/avahi.spec b/avahi.spec index e91c894..6c07c95 100644 --- a/avahi.spec +++ b/avahi.spec @@ -1,12 +1,12 @@ Name: avahi Version: 0.6.3 -Release: 1 +Release: 2 Summary: Local network service discovery Group: System Environment/Base License: LGPL URL: http://avahi.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: doxygen, gtk2-devel, qt-devel, libglade2-devel, libdaemon-devel, glib-devel, libcap-devel, dbus-devel, expat-devel, python, dbus-python +BuildRequires: doxygen, gtk2-devel, qt-devel, libglade2-devel, libdaemon-devel, glib-devel, libcap-devel, dbus-devel, expat-devel, python, dbus-python, gdbm-devel, mono-devel Requires: dbus, libdaemon, expat, python, dbus-python, libcap Obsoletes: howl, howl-libs Source0: %{name}-%{version}.tar.gz @@ -28,7 +28,7 @@ convenient. %package tools Summary: Tools for mDNS browsing and publishing Group: System Environment/Base -Requires: %{name} = %{version}, gtk2, pygtk2, libglade2, pygtk2-libglade +Requires: %{name} = %{version}, gtk2, pygtk2, libglade2, pygtk2-libglade, gdbm %description tools Tools that use avahi to browse and publish mDNS services and hosts. @@ -70,9 +70,19 @@ Requires: %{name}-qt3 = %{version} Requires: qt-devel %description qt3-devel -The avahi-devel package contains the header files and libraries +The avahi-qt3-devel package contains the header files and libraries necessary for developing programs using avahi with Qt3. +%package sharp +Summary: Mono language bindings for avahi mono development +Group: Development/Libraries +Requires: %{name}-devel = %{version} +Requires: mono-core >= 1.1.12 + +%description sharp +The avahi-sharp package contains the files needed to develop +mono programs that use avahi. + %package devel Summary: Libraries and header files for avahi development Group: Development/Libraries @@ -102,10 +112,9 @@ libtoolize --force automake-1.9 --add-missing autoconf -%configure --with-distro=fedora --disable-qt4 --disable-mono --disable-monodoc --without-python-twisted --with-avahi-user=avahi --with-avahi-group=avahi --enable-compat-howl --enable-compat-libdns_sd +%configure --with-distro=fedora --disable-qt4 --disable-monodoc --without-python-twisted --with-avahi-user=avahi --with-avahi-group=avahi --enable-compat-howl --enable-compat-libdns_sd make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT @@ -247,7 +256,17 @@ fi %attr(755,root,root) %{_libdir}/libavahi-qt3.so %{_includedir}/avahi-qt3 +%files sharp +%defattr(0644, root, root, 0755) +/usr/lib/mono/avahi-sharp +/usr/lib/mono/gac/avahi-sharp +/usr/lib/pkgconfig/avahi-sharp.pc + %changelog +* Thu Jan 12 2006 Jason Vas Dias - 0.6.3-2 +- fix bug 177610: Enable mono support with new avahi-sharp package +- fix bug 177609: add gdbm / gdbm-devel Requires for avahi-browse + * Mon Jan 09 2006 Jason Vas Dias - 0.6.3-1 - Upgrade to upstream version 0.6.3 - fix bug 177148: initscript start should not fail if avahi-daemon running