This commit is contained in:
parent
56b3fd9b0e
commit
31d31b13de
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:78ba26f4eb52d808378062193a01193b9518cb69b5a1ddb7b8747daa05bf9aa1
|
|
||||||
size 855716
|
|
3
avahi-0.6.23.tar.bz2
Normal file
3
avahi-0.6.23.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3357550ec0477c813fa1a1928e4507a40b21cf1c382c9f7b88118b84557cee94
|
||||||
|
size 802719
|
26
avahi-bookmarks-no-pygtk.patch
Normal file
26
avahi-bookmarks-no-pygtk.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- avahi-python/Makefile.am
|
||||||
|
+++ avahi-python/Makefile.am
|
||||||
|
@@ -29,7 +29,6 @@
|
||||||
|
|
||||||
|
if HAVE_PYTHON
|
||||||
|
if HAVE_PYTHON_DBUS
|
||||||
|
-if HAVE_PYGTK
|
||||||
|
|
||||||
|
pythonscripts = \
|
||||||
|
avahi-bookmarks
|
||||||
|
@@ -43,4 +42,3 @@
|
||||||
|
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
-endif
|
||||||
|
--- avahi-python/avahi-bookmarks.in
|
||||||
|
+++ avahi-python/avahi-bookmarks.in
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
try:
|
||||||
|
import avahi, gobject, dbus
|
||||||
|
except ImportError:
|
||||||
|
- print "Sorry, to use this tool you need to install Avahi, pygtk and python-dbus."
|
||||||
|
+ print "Sorry, to use this tool you need to install Avahi and python-dbus."
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
try:
|
420
avahi-glib-gettext.m4
Normal file
420
avahi-glib-gettext.m4
Normal file
@ -0,0 +1,420 @@
|
|||||||
|
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
|
||||||
|
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software, distributed under the terms of the GNU
|
||||||
|
# General Public License. As a special exception to the GNU General
|
||||||
|
# Public License, this file may be distributed as part of a program
|
||||||
|
# that contains a configuration script generated by Autoconf, under
|
||||||
|
# the same distribution terms as the rest of that program.
|
||||||
|
#
|
||||||
|
# This file can be copied and used freely without restrictions. It can
|
||||||
|
# be used in projects which are not available under the GNU Public License
|
||||||
|
# but which still want to provide support for the GNU gettext functionality.
|
||||||
|
#
|
||||||
|
# Macro to add for using GNU gettext.
|
||||||
|
# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
|
||||||
|
#
|
||||||
|
# Modified to never use included libintl.
|
||||||
|
# Owen Taylor <otaylor@redhat.com>, 12/15/1998
|
||||||
|
#
|
||||||
|
# Major rework to remove unused code
|
||||||
|
# Owen Taylor <otaylor@redhat.com>, 12/11/2002
|
||||||
|
#
|
||||||
|
# Added better handling of ALL_LINGUAS from GNU gettext version
|
||||||
|
# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
|
||||||
|
#
|
||||||
|
# Modified to require ngettext
|
||||||
|
# Matthias Clasen <mclasen@redhat.com> 08/06/2004
|
||||||
|
#
|
||||||
|
# We need this here as well, since someone might use autoconf-2.5x
|
||||||
|
# to configure GLib then an older version to configure a package
|
||||||
|
# using AM_GLIB_GNU_GETTEXT
|
||||||
|
AC_PREREQ(2.53)
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl We go to great lengths to make sure that aclocal won't
|
||||||
|
dnl try to pull in the installed version of these macros
|
||||||
|
dnl when running aclocal in the glib directory.
|
||||||
|
dnl
|
||||||
|
m4_copy([AC_DEFUN],[glib_DEFUN])
|
||||||
|
m4_copy([AC_REQUIRE],[glib_REQUIRE])
|
||||||
|
dnl
|
||||||
|
dnl At the end, if we're not within glib, we'll define the public
|
||||||
|
dnl definitions in terms of our private definitions.
|
||||||
|
dnl
|
||||||
|
|
||||||
|
# GLIB_LC_MESSAGES
|
||||||
|
#--------------------
|
||||||
|
glib_DEFUN([GLIB_LC_MESSAGES],
|
||||||
|
[AC_CHECK_HEADERS([locale.h])
|
||||||
|
if test $ac_cv_header_locale_h = yes; then
|
||||||
|
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
|
||||||
|
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
|
||||||
|
am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
|
||||||
|
if test $am_cv_val_LC_MESSAGES = yes; then
|
||||||
|
AC_DEFINE(HAVE_LC_MESSAGES, 1,
|
||||||
|
[Define if your <locale.h> file defines LC_MESSAGES.])
|
||||||
|
fi
|
||||||
|
fi])
|
||||||
|
|
||||||
|
# GLIB_PATH_PROG_WITH_TEST
|
||||||
|
#----------------------------
|
||||||
|
dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|
||||||
|
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
|
||||||
|
glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
|
||||||
|
[# Extract the first word of "$2", so it can be a program name with args.
|
||||||
|
set dummy $2; ac_word=[$]2
|
||||||
|
AC_MSG_CHECKING([for $ac_word])
|
||||||
|
AC_CACHE_VAL(ac_cv_path_$1,
|
||||||
|
[case "[$]$1" in
|
||||||
|
/*)
|
||||||
|
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||||
|
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||||
|
test -z "$ac_dir" && ac_dir=.
|
||||||
|
if test -f $ac_dir/$ac_word; then
|
||||||
|
if [$3]; then
|
||||||
|
ac_cv_path_$1="$ac_dir/$ac_word"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$ac_save_ifs"
|
||||||
|
dnl If no 4th arg is given, leave the cache variable unset,
|
||||||
|
dnl so AC_PATH_PROGS will keep looking.
|
||||||
|
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
|
||||||
|
])dnl
|
||||||
|
;;
|
||||||
|
esac])dnl
|
||||||
|
$1="$ac_cv_path_$1"
|
||||||
|
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
|
||||||
|
AC_MSG_RESULT([$]$1)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
AC_SUBST($1)dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
# GLIB_WITH_NLS
|
||||||
|
#-----------------
|
||||||
|
glib_DEFUN([GLIB_WITH_NLS],
|
||||||
|
dnl NLS is obligatory
|
||||||
|
[USE_NLS=yes
|
||||||
|
AC_SUBST(USE_NLS)
|
||||||
|
|
||||||
|
gt_cv_have_gettext=no
|
||||||
|
|
||||||
|
CATOBJEXT=NONE
|
||||||
|
XGETTEXT=:
|
||||||
|
INTLLIBS=
|
||||||
|
|
||||||
|
AC_CHECK_HEADER(libintl.h,
|
||||||
|
[gt_cv_func_dgettext_libintl="no"
|
||||||
|
libintl_extra_libs=""
|
||||||
|
|
||||||
|
#
|
||||||
|
# First check in libc
|
||||||
|
#
|
||||||
|
AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
|
||||||
|
[AC_TRY_LINK([
|
||||||
|
#include <libintl.h>
|
||||||
|
],
|
||||||
|
[return !ngettext ("","", 1)],
|
||||||
|
gt_cv_func_ngettext_libc=yes,
|
||||||
|
gt_cv_func_ngettext_libc=no)
|
||||||
|
])
|
||||||
|
|
||||||
|
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
|
||||||
|
AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
|
||||||
|
[AC_TRY_LINK([
|
||||||
|
#include <libintl.h>
|
||||||
|
],
|
||||||
|
[return !dgettext ("","")],
|
||||||
|
gt_cv_func_dgettext_libc=yes,
|
||||||
|
gt_cv_func_dgettext_libc=no)
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
|
||||||
|
AC_CHECK_FUNCS(bind_textdomain_codeset)
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# If we don't have everything we want, check in libintl
|
||||||
|
#
|
||||||
|
if test "$gt_cv_func_dgettext_libc" != "yes" \
|
||||||
|
|| test "$gt_cv_func_ngettext_libc" != "yes" \
|
||||||
|
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
|
||||||
|
|
||||||
|
AC_CHECK_LIB(intl, bindtextdomain,
|
||||||
|
[AC_CHECK_LIB(intl, ngettext,
|
||||||
|
[AC_CHECK_LIB(intl, dgettext,
|
||||||
|
gt_cv_func_dgettext_libintl=yes)])])
|
||||||
|
|
||||||
|
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
|
||||||
|
AC_MSG_CHECKING([if -liconv is needed to use gettext])
|
||||||
|
AC_MSG_RESULT([])
|
||||||
|
AC_CHECK_LIB(intl, ngettext,
|
||||||
|
[AC_CHECK_LIB(intl, dcgettext,
|
||||||
|
[gt_cv_func_dgettext_libintl=yes
|
||||||
|
libintl_extra_libs=-liconv],
|
||||||
|
:,-liconv)],
|
||||||
|
:,-liconv)
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# If we found libintl, then check in it for bind_textdomain_codeset();
|
||||||
|
# we'll prefer libc if neither have bind_textdomain_codeset(),
|
||||||
|
# and both have dgettext and ngettext
|
||||||
|
#
|
||||||
|
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
|
||||||
|
glib_save_LIBS="$LIBS"
|
||||||
|
LIBS="$LIBS -lintl $libintl_extra_libs"
|
||||||
|
unset ac_cv_func_bind_textdomain_codeset
|
||||||
|
AC_CHECK_FUNCS(bind_textdomain_codeset)
|
||||||
|
LIBS="$glib_save_LIBS"
|
||||||
|
|
||||||
|
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
|
||||||
|
gt_cv_func_dgettext_libc=no
|
||||||
|
else
|
||||||
|
if test "$gt_cv_func_dgettext_libc" = "yes" \
|
||||||
|
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
|
||||||
|
gt_cv_func_dgettext_libintl=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$gt_cv_func_dgettext_libc" = "yes" \
|
||||||
|
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
|
||||||
|
gt_cv_have_gettext=yes
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
|
||||||
|
INTLLIBS="-lintl $libintl_extra_libs"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$gt_cv_have_gettext" = "yes"; then
|
||||||
|
AC_DEFINE(HAVE_GETTEXT,1,
|
||||||
|
[Define if the GNU gettext() function is already present or preinstalled.])
|
||||||
|
GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
|
||||||
|
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
|
||||||
|
if test "$MSGFMT" != "no"; then
|
||||||
|
glib_save_LIBS="$LIBS"
|
||||||
|
LIBS="$LIBS $INTLLIBS"
|
||||||
|
AC_CHECK_FUNCS(dcgettext)
|
||||||
|
MSGFMT_OPTS=
|
||||||
|
AC_MSG_CHECKING([if msgfmt accepts -c])
|
||||||
|
GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Project-Id-Version: test 1.0\n"
|
||||||
|
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
|
||||||
|
"Last-Translator: test <foo@bar.xx>\n"
|
||||||
|
"Language-Team: C <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
|
||||||
|
AC_SUBST(MSGFMT_OPTS)
|
||||||
|
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
|
||||||
|
GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
|
||||||
|
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
|
||||||
|
AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
|
||||||
|
return _nl_msg_cat_cntr],
|
||||||
|
[CATOBJEXT=.gmo
|
||||||
|
DATADIRNAME=share],
|
||||||
|
[case $host in
|
||||||
|
*-*-solaris*)
|
||||||
|
dnl On Solaris, if bind_textdomain_codeset is in libc,
|
||||||
|
dnl GNU format message catalog is always supported,
|
||||||
|
dnl since both are added to the libc all together.
|
||||||
|
dnl Hence, we'd like to go with DATADIRNAME=share and
|
||||||
|
dnl and CATOBJEXT=.gmo in this case.
|
||||||
|
AC_CHECK_FUNC(bind_textdomain_codeset,
|
||||||
|
[CATOBJEXT=.gmo
|
||||||
|
DATADIRNAME=share],
|
||||||
|
[CATOBJEXT=.mo
|
||||||
|
DATADIRNAME=lib])
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
CATOBJEXT=.mo
|
||||||
|
DATADIRNAME=lib
|
||||||
|
;;
|
||||||
|
esac])
|
||||||
|
LIBS="$glib_save_LIBS"
|
||||||
|
INSTOBJEXT=.mo
|
||||||
|
else
|
||||||
|
gt_cv_have_gettext=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
if test "$gt_cv_have_gettext" = "yes" ; then
|
||||||
|
AC_DEFINE(ENABLE_NLS, 1,
|
||||||
|
[always defined to indicate that i18n is enabled])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Test whether we really found GNU xgettext.
|
||||||
|
if test "$XGETTEXT" != ":"; then
|
||||||
|
dnl If it is not GNU xgettext we define it as : so that the
|
||||||
|
dnl Makefiles still can work.
|
||||||
|
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
|
||||||
|
: ;
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(
|
||||||
|
[found xgettext program is not GNU xgettext; ignore it])
|
||||||
|
XGETTEXT=":"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We need to process the po/ directory.
|
||||||
|
POSUB=po
|
||||||
|
|
||||||
|
AC_OUTPUT_COMMANDS(
|
||||||
|
[case "$CONFIG_FILES" in *po/Makefile.in*)
|
||||||
|
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
||||||
|
esac])
|
||||||
|
|
||||||
|
dnl These rules are solely for the distribution goal. While doing this
|
||||||
|
dnl we only have to keep exactly one list of the available catalogs
|
||||||
|
dnl in configure.in.
|
||||||
|
for lang in $ALL_LINGUAS; do
|
||||||
|
GMOFILES="$GMOFILES $lang.gmo"
|
||||||
|
POFILES="$POFILES $lang.po"
|
||||||
|
done
|
||||||
|
|
||||||
|
dnl Make all variables we use known to autoconf.
|
||||||
|
AC_SUBST(CATALOGS)
|
||||||
|
AC_SUBST(CATOBJEXT)
|
||||||
|
AC_SUBST(DATADIRNAME)
|
||||||
|
AC_SUBST(GMOFILES)
|
||||||
|
AC_SUBST(INSTOBJEXT)
|
||||||
|
AC_SUBST(INTLLIBS)
|
||||||
|
AC_SUBST(PO_IN_DATADIR_TRUE)
|
||||||
|
AC_SUBST(PO_IN_DATADIR_FALSE)
|
||||||
|
AC_SUBST(POFILES)
|
||||||
|
AC_SUBST(POSUB)
|
||||||
|
])
|
||||||
|
|
||||||
|
# AM_GLIB_GNU_GETTEXT
|
||||||
|
# -------------------
|
||||||
|
# Do checks necessary for use of gettext. If a suitable implementation
|
||||||
|
# of gettext is found in either in libintl or in the C library,
|
||||||
|
# it will set INTLLIBS to the libraries needed for use of gettext
|
||||||
|
# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
|
||||||
|
# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
|
||||||
|
# on various variables needed by the Makefile.in.in installed by
|
||||||
|
# glib-gettextize.
|
||||||
|
dnl
|
||||||
|
glib_DEFUN([GLIB_GNU_GETTEXT],
|
||||||
|
[AC_REQUIRE([AC_PROG_CC])dnl
|
||||||
|
AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||||
|
|
||||||
|
GLIB_LC_MESSAGES
|
||||||
|
GLIB_WITH_NLS
|
||||||
|
|
||||||
|
if test "$gt_cv_have_gettext" = "yes"; then
|
||||||
|
if test "x$ALL_LINGUAS" = "x"; then
|
||||||
|
LINGUAS=
|
||||||
|
else
|
||||||
|
AC_MSG_CHECKING(for catalogs to be installed)
|
||||||
|
NEW_LINGUAS=
|
||||||
|
for presentlang in $ALL_LINGUAS; do
|
||||||
|
useit=no
|
||||||
|
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
|
||||||
|
desiredlanguages="$LINGUAS"
|
||||||
|
else
|
||||||
|
desiredlanguages="$ALL_LINGUAS"
|
||||||
|
fi
|
||||||
|
for desiredlang in $desiredlanguages; do
|
||||||
|
# Use the presentlang catalog if desiredlang is
|
||||||
|
# a. equal to presentlang, or
|
||||||
|
# b. a variant of presentlang (because in this case,
|
||||||
|
# presentlang can be used as a fallback for messages
|
||||||
|
# which are not translated in the desiredlang catalog).
|
||||||
|
case "$desiredlang" in
|
||||||
|
"$presentlang"*) useit=yes;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if test $useit = yes; then
|
||||||
|
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
LINGUAS=$NEW_LINGUAS
|
||||||
|
AC_MSG_RESULT($LINGUAS)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Construct list of names of catalog files to be constructed.
|
||||||
|
if test -n "$LINGUAS"; then
|
||||||
|
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Generate list of files to be processed by xgettext which will
|
||||||
|
dnl be included in po/Makefile.
|
||||||
|
test -d po || mkdir po
|
||||||
|
if test "x$srcdir" != "x."; then
|
||||||
|
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
|
||||||
|
posrcprefix="$srcdir/"
|
||||||
|
else
|
||||||
|
posrcprefix="../$srcdir/"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
posrcprefix="../"
|
||||||
|
fi
|
||||||
|
rm -f po/POTFILES
|
||||||
|
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
|
||||||
|
< $srcdir/po/POTFILES.in > po/POTFILES
|
||||||
|
])
|
||||||
|
|
||||||
|
# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
|
||||||
|
# -------------------------------
|
||||||
|
# Define VARIABLE to the location where catalog files will
|
||||||
|
# be installed by po/Makefile.
|
||||||
|
glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
|
||||||
|
[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
|
||||||
|
glib_save_prefix="$prefix"
|
||||||
|
glib_save_exec_prefix="$exec_prefix"
|
||||||
|
glib_save_datarootdir="$datarootdir"
|
||||||
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||||
|
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
||||||
|
datarootdir=`eval echo "${datarootdir}"`
|
||||||
|
if test "x$CATOBJEXT" = "x.mo" ; then
|
||||||
|
localedir=`eval echo "${libdir}/locale"`
|
||||||
|
else
|
||||||
|
localedir=`eval echo "${datadir}/locale"`
|
||||||
|
fi
|
||||||
|
prefix="$glib_save_prefix"
|
||||||
|
exec_prefix="$glib_save_exec_prefix"
|
||||||
|
datarootdir="$glib_save_datarootdir"
|
||||||
|
AC_DEFINE_UNQUOTED($1, "$localedir",
|
||||||
|
[Define the location where the catalogs will be installed])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Now the definitions that aclocal will find
|
||||||
|
dnl
|
||||||
|
ifdef(glib_configure_in,[],[
|
||||||
|
AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
|
||||||
|
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
|
||||||
|
])dnl
|
||||||
|
|
||||||
|
# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
|
||||||
|
#
|
||||||
|
# Create a temporary file with TEST-FILE as its contents and pass the
|
||||||
|
# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
|
||||||
|
# 0 and perform ACTION-IF-FAIL for any other exit status.
|
||||||
|
AC_DEFUN([GLIB_RUN_PROG],
|
||||||
|
[cat >conftest.foo <<_ACEOF
|
||||||
|
$2
|
||||||
|
_ACEOF
|
||||||
|
if AC_RUN_LOG([$1 conftest.foo]); then
|
||||||
|
m4_ifval([$3], [$3], [:])
|
||||||
|
m4_ifvaln([$4], [else $4])dnl
|
||||||
|
echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
|
||||||
|
sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
|
||||||
|
fi])
|
||||||
|
|
18
avahi-glib2.changes
Normal file
18
avahi-glib2.changes
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 18 17:18:20 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Build glib2, gobject and python stuff separately to break build
|
||||||
|
loop cups -> gtk2 -> avahi -> cups.
|
||||||
|
- Split avahi-python-gtk from avahi-python.
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
|
|
1294
avahi-glib2.spec
Normal file
1294
avahi-glib2.spec
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,84 +1,60 @@
|
|||||||
--- initscript/suse/avahi-daemon.in
|
--- initscript/suse/avahi-daemon.in
|
||||||
+++ initscript/suse/avahi-daemon.in
|
+++ initscript/suse/avahi-daemon.in
|
||||||
@@ -1,9 +1,10 @@
|
@@ -25,6 +25,18 @@
|
||||||
#! /bin/sh
|
$AVAHI_BIN -k 2>/dev/null || /bin/true
|
||||||
### BEGIN INIT INFO
|
rc_status -v
|
||||||
# Provides: avahi
|
;;
|
||||||
-# Required-Start: $network dbus
|
+ try-restart|condrestart)
|
||||||
+# Required-Start: $network $remote_fs dbus
|
+ if test "$1" = "condrestart"; then
|
||||||
# Default-Start: 3 5
|
+ echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
|
||||||
# Default-Stop:
|
+ fi
|
||||||
+# Short-Description: ZeroConf daemon
|
+ $0 status
|
||||||
# Description: Avahi, a ZeroConf daemon for mDNS and service registration
|
+ if test $? = 0; then
|
||||||
### END INIT INFO
|
+ $0 restart
|
||||||
|
+ else
|
||||||
@@ -33,6 +34,18 @@
|
+ rc_reset
|
||||||
$AVAHI_BIN -k || /bin/true
|
+ fi
|
||||||
rc_status -v
|
+ rc_status
|
||||||
;;
|
|
||||||
+ try-restart|condrestart)
|
|
||||||
+ if test "$1" = "condrestart"; then
|
|
||||||
+ echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
|
|
||||||
+ fi
|
|
||||||
+ $0 status
|
|
||||||
+ if test $? = 0; then
|
|
||||||
+ $0 restart
|
|
||||||
+ else
|
|
||||||
+ rc_reset
|
|
||||||
+ fi
|
|
||||||
+ rc_status
|
|
||||||
+ ;;
|
+ ;;
|
||||||
restart)
|
restart)
|
||||||
$0 stop
|
$0 stop
|
||||||
$0 start
|
$0 start
|
||||||
@@ -49,7 +62,7 @@
|
@@ -41,7 +53,7 @@
|
||||||
rc_status -v
|
rc_status -v
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
- echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
|
- echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
|
||||||
+ echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
|
+ echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
--- initscript/suse/avahi-dnsconfd.in
|
--- initscript/suse/avahi-dnsconfd.in
|
||||||
+++ initscript/suse/avahi-dnsconfd.in
|
+++ initscript/suse/avahi-dnsconfd.in
|
||||||
@@ -1,9 +1,10 @@
|
@@ -30,6 +30,18 @@
|
||||||
#! /bin/sh
|
$0 start
|
||||||
### BEGIN INIT INFO
|
rc_status
|
||||||
# Provides: avahi-dnsconfd
|
;;
|
||||||
-# Required-Start: avahi
|
+ try-restart|condrestart)
|
||||||
+# Required-Start: $remote_fs avahi
|
+ if test "$1" = "condrestart"; then
|
||||||
# Default-Start: 3 5
|
+ echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
|
||||||
# Default-Stop:
|
+ fi
|
||||||
+# Short-Description: ZeroConf daemon
|
+ $0 status
|
||||||
# Description: Avahi, a ZeroConf daemon for mDNS and service registration
|
+ if test $? = 0; then
|
||||||
### END INIT INFO
|
+ $0 restart
|
||||||
|
+ else
|
||||||
@@ -24,6 +25,18 @@
|
+ rc_reset
|
||||||
$AVAHI_BIN -k || /bin/true
|
+ fi
|
||||||
rc_status -v
|
+ rc_status
|
||||||
;;
|
+ ;;
|
||||||
+ try-restart|condrestart)
|
force-reload|reload)
|
||||||
+ if test "$1" = "condrestart"; then
|
echo -n "Reloading Avahi DNS Configuration daemon "
|
||||||
+ echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
|
$AVAHI_BIN -r
|
||||||
+ fi
|
@@ -41,7 +53,7 @@
|
||||||
+ $0 status
|
rc_status -v
|
||||||
+ if test $? = 0; then
|
;;
|
||||||
+ $0 restart
|
*)
|
||||||
+ else
|
- echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
|
||||||
+ rc_reset
|
+ echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
|
||||||
+ fi
|
exit 1
|
||||||
+ rc_status
|
;;
|
||||||
+ ;;
|
|
||||||
restart)
|
|
||||||
$0 stop
|
|
||||||
$0 start
|
|
||||||
@@ -40,7 +53,7 @@
|
|
||||||
rc_status -v
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
- echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
|
|
||||||
+ echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
40
avahi-man-selection.patch
Normal file
40
avahi-man-selection.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
--- man/Makefile.am
|
||||||
|
+++ man/Makefile.am
|
||||||
|
@@ -65,8 +65,11 @@
|
||||||
|
|
||||||
|
if HAVE_PYTHON
|
||||||
|
man_MANS += \
|
||||||
|
- avahi-discover.1 \
|
||||||
|
avahi-bookmarks.1
|
||||||
|
+if HAVE_GTK
|
||||||
|
+man_MANS += \
|
||||||
|
+ avahi-discover.1
|
||||||
|
+endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
@@ -233,16 +236,22 @@
|
||||||
|
|
||||||
|
if HAVE_DBUS
|
||||||
|
|
||||||
|
+BSSH_LN =
|
||||||
|
+if HAVE_GTK
|
||||||
|
+if HAVE_GLIB
|
||||||
|
+BSSH_LN += $(LN_S) bssh.1 bvnc.1 &&
|
||||||
|
+endif
|
||||||
|
+endif
|
||||||
|
install-exec-local:
|
||||||
|
mkdir -p $(DESTDIR)/$(mandir)/man1 && \
|
||||||
|
cd $(DESTDIR)/$(mandir)/man1 && \
|
||||||
|
rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 && \
|
||||||
|
+ $(BSSH_LN) \
|
||||||
|
$(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
|
||||||
|
$(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
|
||||||
|
$(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
|
||||||
|
$(LN_S) avahi-publish.1 avahi-publish-address.1 && \
|
||||||
|
- $(LN_S) avahi-publish.1 avahi-publish-service.1 && \
|
||||||
|
- $(LN_S) bssh.1 bvnc.1
|
||||||
|
+ $(LN_S) avahi-publish.1 avahi-publish-service.1
|
||||||
|
|
||||||
|
|
||||||
|
endif
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 18 17:18:20 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 11 11:49:29 CEST 2008 - coolo@suse.de
|
Sun May 11 11:49:29 CEST 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
746
avahi-mono.spec
746
avahi-mono.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package avahi-mono (Version 0.6.22)
|
# spec file for package avahi-mono (Version 0.6.23)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -18,12 +18,14 @@ Name: avahi-mono
|
|||||||
# For build all at once, set all to 1.
|
# For build all at once, set all to 1.
|
||||||
# If you set build_core to 0, you cannot set more than one other options to 1.
|
# If you set build_core to 0, you cannot set more than one other options to 1.
|
||||||
%define build_core 0
|
%define build_core 0
|
||||||
|
# NOTE: build_glib2 also controls build of gobject, gtk2 and pygtk code.
|
||||||
|
%define build_glib2 0
|
||||||
%define build_mono 1
|
%define build_mono 1
|
||||||
%define build_qt3 0
|
%define build_qt3 0
|
||||||
%define build_qt4 0
|
%define build_qt4 0
|
||||||
Version: 0.6.22
|
Version: 0.6.23
|
||||||
Release: 83
|
Release: 1
|
||||||
%if !%build_mono && !%build_qt3 && !%build_qt4
|
%if !%build_glib2 && !%build_mono && !%build_qt3 && !%build_qt4
|
||||||
# Create split spec files only when building per partes:
|
# Create split spec files only when building per partes:
|
||||||
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
||||||
%endif
|
%endif
|
||||||
@ -43,6 +45,8 @@ Source: %{_name}-%{version}.tar.bz2
|
|||||||
Source1: gnome-nettool2.png
|
Source1: gnome-nettool2.png
|
||||||
Source2: avahi-bookmarks.init
|
Source2: avahi-bookmarks.init
|
||||||
Source3: avahi.firewall
|
Source3: avahi.firewall
|
||||||
|
# Copy of glib-2.0.m4 from glib2-devel to not depend on glib2-devel.
|
||||||
|
Source4: avahi-glib-gettext.m4
|
||||||
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
||||||
Patch0: avahi-gacdir.patch
|
Patch0: avahi-gacdir.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
||||||
@ -51,21 +55,35 @@ Patch1: avahi-desktop.patch
|
|||||||
Patch2: avahi-init-lsb.patch
|
Patch2: avahi-init-lsb.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
||||||
Patch3: avahi-empty-share-dir.patch
|
Patch3: avahi-empty-share-dir.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-man-link.patch avahi222 sbrabec@suse.cz -- link man page only if it is installed
|
||||||
|
Patch4: avahi-man-selection.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- if gtk is disabled do not install glade files
|
||||||
|
Patch5: avahi-no-gtk-no-interfaces.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- build avahi-bookmarks even without python-gtk
|
||||||
|
Patch6: avahi-bookmarks-no-pygtk.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-python.patch avahi222 sbrabec@suse.cz -- build python module if gtk is disabled
|
||||||
|
Patch7: avahi-no-gtk-python.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libglade2-devel
|
BuildRequires: dbus-1-python fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libexpat-devel perl-XML-Parser pkg-config
|
||||||
|
# Even if we are not building python bindings, we need python to build service types database:
|
||||||
|
BuildRequires: python-devel python-gdbm
|
||||||
%if %build_core
|
%if %build_core
|
||||||
Source4: %{_name}_spec-prepare.sh
|
Source5: %{_name}_spec-prepare.sh
|
||||||
PreReq: pwdutils
|
PreReq: pwdutils
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
BuildRequires: dbus-1-devel doxygen graphviz update-desktop-files zlib-devel
|
BuildRequires: dbus-1-devel doxygen graphviz python-gdbm zlib-devel
|
||||||
# For python bindings and utilities:
|
# For python bindings and utilities:
|
||||||
BuildRequires: dbus-1-python python-devel python-gdbm python-gtk-devel
|
#BuildRequires: dbus-1-python
|
||||||
Requires: dbus-1
|
#Requires: dbus-1
|
||||||
Requires: nss-mdns
|
Requires: nss-mdns
|
||||||
# mDNSResponder was used for <= 10.2:
|
# mDNSResponder was used for <= 10.2:
|
||||||
Provides: mDNSResponder = 107.5
|
Provides: mDNSResponder = 107.5
|
||||||
Obsoletes: mDNSResponder <= 107.5
|
Obsoletes: mDNSResponder <= 107.5
|
||||||
%endif
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
BuildRequires: libglade2-devel python-gtk-devel update-desktop-files
|
||||||
|
BuildRequires: libavahi-devel
|
||||||
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
BuildRequires: qt3-devel
|
BuildRequires: qt3-devel
|
||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
@ -75,7 +93,7 @@ BuildRequires: libqt4-devel
|
|||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
BuildRequires: gtk-sharp2 libavahi-glib-devel mono-devel monodoc-core
|
BuildRequires: gtk-sharp2 libavahi-glib-devel libglade2-devel mono-devel monodoc-core
|
||||||
# Please copy this line to avahi-mono definition below for build all-in-once:
|
# Please copy this line to avahi-mono definition below for build all-in-once:
|
||||||
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
||||||
%endif
|
%endif
|
||||||
@ -181,6 +199,231 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libdns_sd
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# mDNSResponder-lib used unversioned soname.
|
||||||
|
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
||||||
|
%ifarch ia64 x86_64 ppc64 s390x
|
||||||
|
Provides: libdns_sd.so()(64bit)
|
||||||
|
%else
|
||||||
|
Provides: libdns_sd.so
|
||||||
|
%endif
|
||||||
|
# mDNSResponder-lib was used for <= 10.2:
|
||||||
|
Provides: mDNSResponder-lib = 107.5
|
||||||
|
Obsoletes: mDNSResponder-lib <= 107.5
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-mDNSResponder = %{version}
|
||||||
|
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
||||||
|
|
||||||
|
%description -n libdns_sd
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libhowl0
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-howl = %{version}
|
||||||
|
Obsoletes: avahi-compat-howl <= %{version}
|
||||||
|
|
||||||
|
%description -n libhowl0
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n python-avahi
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: A set of Avahi utilities written in Python
|
||||||
|
PreReq: coreutils
|
||||||
|
Requires: %{name} = %{version} python-gdbm dbus-1-python python-twisted python-twisted-web
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-python = %{version}
|
||||||
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description -n python-avahi
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete, implementing all
|
||||||
|
MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs. It
|
||||||
|
passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things that have never been seen
|
||||||
|
elsewhere, like correct mDNS reflection across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
||||||
|
Requires: %{name} >= %{version}
|
||||||
|
Group: Productivity/Networking/Other
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now complete with features, implementing
|
||||||
|
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
||||||
|
It passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things, like correct mDNS reflection
|
||||||
|
across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libavahi-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Include Files and Libraries Mandatory for Development
|
||||||
|
#
|
||||||
|
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
# Last appeared in OpenSUSE 10.3:
|
||||||
|
Provides: avahi-devel = %{version}
|
||||||
|
Obsoletes: avahi-devel <= %{version}
|
||||||
|
|
||||||
|
%description -n libavahi-devel
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-mDNSResponder-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: mDNSResponder-devel = 107.5
|
||||||
|
Obsoletes: mDNSResponder-devel <= 107.5
|
||||||
|
|
||||||
|
%description compat-mDNSResponder-devel
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-howl-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description compat-howl-devel
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
%package -n libavahi-ui0
|
%package -n libavahi-ui0
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: D-BUS Service for Zeroconf and Bonjour
|
Summary: D-BUS Service for Zeroconf and Bonjour
|
||||||
@ -258,105 +501,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libdns_sd
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# mDNSResponder-lib used unversioned soname.
|
|
||||||
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
|
||||||
%ifarch ia64 x86_64 ppc64 s390x
|
|
||||||
Provides: libdns_sd.so()(64bit)
|
|
||||||
%else
|
|
||||||
Provides: libdns_sd.so
|
|
||||||
%endif
|
|
||||||
# mDNSResponder-lib was used for <= 10.2:
|
|
||||||
Provides: mDNSResponder-lib = 107.5
|
|
||||||
Obsoletes: mDNSResponder-lib <= 107.5
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-mDNSResponder = %{version}
|
|
||||||
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
|
||||||
|
|
||||||
%description -n libdns_sd
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libhowl0
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-howl = %{version}
|
|
||||||
Obsoletes: avahi-compat-howl <= %{version}
|
|
||||||
|
|
||||||
%description -n libhowl0
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package utils
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
|
||||||
Requires: %{name} >= %{version}
|
|
||||||
Group: Productivity/Networking/Other
|
|
||||||
|
|
||||||
%description utils
|
|
||||||
Avahi is an implementation of the DNS Service Discovery and Multicast
|
|
||||||
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
|
||||||
communication between user applications and a system daemon. The daemon
|
|
||||||
is used to coordinate application efforts in caching replies, necessary
|
|
||||||
to minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now complete with features, implementing
|
|
||||||
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
|
||||||
It passes all tests in the Apple Bonjour conformance test suite. In
|
|
||||||
addition, it supports some nifty things, like correct mDNS reflection
|
|
||||||
across LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -390,18 +534,20 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
%package -n python-avahi
|
%package -n python-avahi-gtk
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: A set of Avahi utilities written in Python
|
Summary: A set of Avahi utilities written in Python Using python-gtk
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Requires: %{name} = %{version} python-gdbm python-gtk dbus-1-python python-twisted python-twisted-web
|
Requires: python-avahi = %{version} python-gtk
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
# Old name used for <= 10.3:
|
# Old name used for <= 10.3:
|
||||||
Provides: avahi-python = %{version}
|
Provides: avahi-python = %{version}
|
||||||
Obsoletes: avahi-python <= %{version}
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
# Provide split-provides for update from <= 11.0:
|
||||||
|
Provides: python-avahi:%{_bindir}/avahi-bookmarks
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description -n python-avahi
|
%description -n python-avahi-gtk
|
||||||
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
|
||||||
@ -416,37 +562,6 @@ elsewhere, like correct mDNS reflection across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libavahi-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Include Files and Libraries Mandatory for Development
|
|
||||||
#
|
|
||||||
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# Last appeared in OpenSUSE 10.3:
|
|
||||||
Provides: avahi-devel = %{version}
|
|
||||||
Obsoletes: avahi-devel <= %{version}
|
|
||||||
|
|
||||||
%description -n libavahi-devel
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -459,7 +574,7 @@ Summary: Include Files and Libraries Mandatory for Development
|
|||||||
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
# Last appeared in OpenSUSE 10.3:
|
# Last appeared in OpenSUSE 10.3:
|
||||||
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
||||||
|
|
||||||
%description -n libavahi-glib-devel
|
%description -n libavahi-glib-devel
|
||||||
GLib support for avahi.
|
GLib support for avahi.
|
||||||
@ -505,66 +620,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-mDNSResponder-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Provides: mDNSResponder-devel = 107.5
|
|
||||||
Obsoletes: mDNSResponder-devel <= 107.5
|
|
||||||
|
|
||||||
%description compat-mDNSResponder-devel
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-howl-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
|
|
||||||
%description compat-howl-devel
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -741,47 +796,80 @@ Authors:
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
%patch7
|
||||||
%if !%build_core
|
%if !%build_core
|
||||||
# Replace all .la references from local .la files to installed versions.
|
# Replace all .la references from local .la files to installed versions
|
||||||
|
# with exception of libavahi-glib.la.
|
||||||
# It allows to build only the binding subpackage.
|
# It allows to build only the binding subpackage.
|
||||||
|
%if %build_mono
|
||||||
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
||||||
|
%else
|
||||||
|
sed -i 's:libavahi-glib\.la:@@SKIP LIBAVAHI GLIB@@:g
|
||||||
|
s:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g
|
||||||
|
s:@@SKIP LIBAVAHI GLIB@@:libavahi-glib.la:g
|
||||||
|
' */Makefile.am
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
if ! test -f %{_datadir}/aclocal/glib-gettext.m4 ; then
|
||||||
|
cat %{S:4} >>acinclude.m4
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
intltoolize -f
|
||||||
%configure\
|
%configure\
|
||||||
--libexecdir=%{_prefix}/lib\
|
--libexecdir=%{_prefix}/lib\
|
||||||
--disable-static\
|
--disable-static\
|
||||||
--with-distro=suse\
|
--with-distro=suse\
|
||||||
%if %build_core
|
%if %build_core
|
||||||
--enable-python\
|
|
||||||
--enable-pygtk\
|
|
||||||
--enable-compat-libdns_sd\
|
--enable-compat-libdns_sd\
|
||||||
--enable-compat-howl\
|
--enable-compat-howl\
|
||||||
%else
|
%else
|
||||||
--disable-python\
|
|
||||||
--disable-pygtk\
|
|
||||||
--disable-compat-libdns_sd\
|
--disable-compat-libdns_sd\
|
||||||
--disable-compat-howl\
|
--disable-compat-howl\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_glib2
|
||||||
--enable-qt3\
|
--enable-glib\
|
||||||
|
--enable-gobject\
|
||||||
|
--enable-gtk\
|
||||||
|
--enable-pygtk\
|
||||||
%else
|
%else
|
||||||
--disable-qt3\
|
--disable-glib\
|
||||||
|
--disable-gobject\
|
||||||
|
%if ! %build_mono
|
||||||
|
--disable-gtk\
|
||||||
|
%endif
|
||||||
|
--disable-pygtk\
|
||||||
|
%endif
|
||||||
|
%if %build_qt3
|
||||||
|
--enable-qt3\
|
||||||
|
%else
|
||||||
|
--disable-qt3\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt4
|
%if %build_qt4
|
||||||
--enable-qt4\
|
--enable-qt4\
|
||||||
%else
|
%else
|
||||||
--disable-qt4\
|
--disable-qt4\
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
--enable-mono\
|
--enable-mono\
|
||||||
|
--enable-gtk\
|
||||||
%else
|
%else
|
||||||
--disable-mono \
|
--disable-mono\
|
||||||
%endif
|
%endif
|
||||||
--with-avahi-priv-access-group=avahi\
|
--with-avahi-priv-access-group=avahi\
|
||||||
--with-autoipd-user=avahi\
|
--with-autoipd-user=avahi\
|
||||||
--with-autoipd-group=avahi
|
--with-autoipd-group=avahi
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%__make %{?jobs:-j%jobs}
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -796,6 +884,14 @@ cd ../avahi-ui-sharp
|
|||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%makeinstall
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
cd -
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -813,8 +909,6 @@ cd ..
|
|||||||
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
%if %build_core
|
%if %build_core
|
||||||
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
||||||
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
## WARNING: found empty dependency_libs variable. please remove the
|
## WARNING: found empty dependency_libs variable. please remove the
|
||||||
## pointless libtool .la file
|
## pointless libtool .la file
|
||||||
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
||||||
@ -833,20 +927,47 @@ mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSE
|
|||||||
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
|
||||||
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
||||||
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
||||||
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
|
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
%else
|
%else
|
||||||
# There is no simple way to install only selected pc files. Remove core files.
|
# There is no simple way to not install core files. Remove them here.
|
||||||
# The rest is enabled/disabled in configure as needed.
|
# The rest is enabled/disabled in configure as needed.
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-glib.pc
|
%if %build_glib2
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-gobject.pc
|
rm $RPM_BUILD_ROOT%{_bindir}/avahi-bookmarks
|
||||||
|
rm -r $RPM_BUILD_ROOT%{py_sitedir}/avahi
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi-daemon.conf.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.hosts.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.service.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.action.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-daemon.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.action.8*
|
||||||
|
%else
|
||||||
|
%if %build_mono
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
||||||
|
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
||||||
|
%endif
|
||||||
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -872,6 +993,26 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{restart_on_update avahi-dnsconfd}
|
%{restart_on_update avahi-dnsconfd}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
|
||||||
|
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre -n python-avahi
|
%pre -n python-avahi
|
||||||
# For update from == 10.3:
|
# For update from == 10.3:
|
||||||
# Restart will not happen due to package rename. Handle it.
|
# Restart will not happen due to package rename. Handle it.
|
||||||
@ -898,18 +1039,8 @@ fi
|
|||||||
%postun -n python-avahi
|
%postun -n python-avahi
|
||||||
%{restart_on_update avahi-bookmarks}
|
%{restart_on_update avahi-bookmarks}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
%endif
|
||||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
%if %build_glib2
|
||||||
|
|
||||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-ui0 -p /sbin/ldconfig
|
%post -n libavahi-ui0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -922,14 +1053,6 @@ fi
|
|||||||
%post -n libavahi-glib1 -p /sbin/ldconfig
|
%post -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libhowl0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libhowl0 -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -948,13 +1071,15 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE docs/*
|
%doc LICENSE docs/*
|
||||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
|
||||||
|
%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%{_sbindir}/avahi-*
|
%{_sbindir}/avahi-*
|
||||||
%{_sbindir}/rcavahi-daemon
|
%{_sbindir}/rcavahi-daemon
|
||||||
%{_sbindir}/rcavahi-dnsconfd
|
%{_sbindir}/rcavahi-dnsconfd
|
||||||
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
||||||
%dir %{_sysconfdir}/avahi
|
%dir %{_sysconfdir}/avahi
|
||||||
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
||||||
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
||||||
@ -967,6 +1092,12 @@ fi
|
|||||||
%{_sysconfdir}/init.d/avahi-daemon
|
%{_sysconfdir}/init.d/avahi-daemon
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# FIXME: These directories should be part of filesystem package:
|
||||||
|
%dir %{_datadir}/locale/en_NZ
|
||||||
|
%dir %{_datadir}/locale/en_NZ/LC_MESSAGES
|
||||||
|
%dir %{_datadir}/locale/sr@latin
|
||||||
|
%dir %{_datadir}/locale/sr@latin/LC_MESSAGES
|
||||||
|
|
||||||
%files -n libavahi-client3
|
%files -n libavahi-client3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -980,18 +1111,6 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libavahi-core*.so.*
|
%{_libdir}/libavahi-core*.so.*
|
||||||
|
|
||||||
%files -n libavahi-ui0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-ui*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-glib1
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-glib*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-gobject0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-gobject*.so.*
|
|
||||||
|
|
||||||
%files -n libdns_sd
|
%files -n libdns_sd
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
||||||
@ -1002,6 +1121,15 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhowl.so.*
|
%{_libdir}/libhowl.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-bookmarks
|
||||||
|
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
%{_sbindir}/rcavahi-bookmarks
|
||||||
|
%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
|
%{py_sitedir}/avahi
|
||||||
|
%{py_sitedir}/avahi/ServiceTypeDatabase.py
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/avahi-browse*
|
%{_bindir}/avahi-browse*
|
||||||
@ -1011,7 +1139,6 @@ fi
|
|||||||
%dir %{_datadir}/avahi/
|
%dir %{_datadir}/avahi/
|
||||||
%{_datadir}/avahi/avahi-service.dtd
|
%{_datadir}/avahi/avahi-service.dtd
|
||||||
%{_datadir}/avahi/introspection
|
%{_datadir}/avahi/introspection
|
||||||
%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
%dir %{_libdir}/avahi/
|
%dir %{_libdir}/avahi/
|
||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
%doc %{_mandir}/man1/avahi-browse*.1*
|
%doc %{_mandir}/man1/avahi-browse*.1*
|
||||||
@ -1019,31 +1146,6 @@ fi
|
|||||||
%doc %{_mandir}/man1/avahi-resolve*.1*
|
%doc %{_mandir}/man1/avahi-resolve*.1*
|
||||||
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
|
||||||
%files utils-gtk
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/bshell
|
|
||||||
%{_bindir}/bssh
|
|
||||||
%{_bindir}/bvnc
|
|
||||||
%{_bindir}/avahi-discover-standalone
|
|
||||||
%{_datadir}/applications/bssh.desktop
|
|
||||||
%{_datadir}/applications/bvnc.desktop
|
|
||||||
%dir %{_datadir}/avahi/
|
|
||||||
%{_datadir}/avahi/interfaces
|
|
||||||
%doc %{_mandir}/man1/bssh.1.*
|
|
||||||
%doc %{_mandir}/man1/bvnc.1.*
|
|
||||||
|
|
||||||
%files -n python-avahi
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{py_sitedir}/avahi
|
|
||||||
%{py_sitedir}/avahi_discover
|
|
||||||
%{_bindir}/avahi-discover
|
|
||||||
%{_bindir}/avahi-bookmarks
|
|
||||||
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
|
||||||
%doc %{_mandir}/man1/avahi-discover.1*
|
|
||||||
%{_datadir}/applications/avahi-discover.desktop
|
|
||||||
%{_sbindir}/rcavahi-bookmarks
|
|
||||||
%{_sysconfdir}/init.d/avahi-bookmarks
|
|
||||||
|
|
||||||
%files -n libavahi-devel
|
%files -n libavahi-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# FIXME: Maybe split to particular subpackages.
|
# FIXME: Maybe split to particular subpackages.
|
||||||
@ -1062,6 +1164,55 @@ fi
|
|||||||
%{_libdir}/pkgconfig/avahi-client.pc
|
%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
%{_libdir}/pkgconfig/avahi-core.pc
|
%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
|
|
||||||
|
%files compat-mDNSResponder-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-libdns_sd
|
||||||
|
%{_includedir}/dns_sd.h
|
||||||
|
%{_libdir}/libdns_sd.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
||||||
|
|
||||||
|
%files compat-howl-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-howl
|
||||||
|
%{_libdir}/libhowl.so
|
||||||
|
%{_libdir}/libhowl.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
||||||
|
%{_libdir}/pkgconfig/howl.pc
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
|
%files -n libavahi-ui0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-ui*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-glib1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-glib*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-gobject0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-gobject*.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-discover
|
||||||
|
%{_datadir}/applications/avahi-discover.desktop
|
||||||
|
%doc %{_mandir}/man1/avahi-discover.1*
|
||||||
|
%{py_sitedir}/avahi_discover
|
||||||
|
|
||||||
|
%files utils-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/bshell
|
||||||
|
%{_bindir}/bssh
|
||||||
|
%{_bindir}/bvnc
|
||||||
|
%{_bindir}/avahi-discover-standalone
|
||||||
|
%{_datadir}/applications/bssh.desktop
|
||||||
|
%{_datadir}/applications/bvnc.desktop
|
||||||
|
%dir %{_datadir}/avahi/
|
||||||
|
%{_datadir}/avahi/interfaces
|
||||||
|
%doc %{_mandir}/man1/bssh.1.*
|
||||||
|
%doc %{_mandir}/man1/bvnc.1.*
|
||||||
|
|
||||||
%files -n libavahi-glib-devel
|
%files -n libavahi-glib-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/avahi-glib
|
%{_includedir}/avahi-glib
|
||||||
@ -1079,21 +1230,6 @@ fi
|
|||||||
%{_libdir}/libavahi-gobject*.*a
|
%{_libdir}/libavahi-gobject*.*a
|
||||||
%{_libdir}/libavahi-gobject*.so
|
%{_libdir}/libavahi-gobject*.so
|
||||||
%{_libdir}/pkgconfig/avahi-gobject.pc
|
%{_libdir}/pkgconfig/avahi-gobject.pc
|
||||||
|
|
||||||
%files compat-mDNSResponder-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-libdns_sd
|
|
||||||
%{_includedir}/dns_sd.h
|
|
||||||
%{_libdir}/libdns_sd.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
|
||||||
|
|
||||||
%files compat-howl-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-howl
|
|
||||||
%{_libdir}/libhowl.so
|
|
||||||
%{_libdir}/libhowl.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
|
||||||
%{_libdir}/pkgconfig/howl.pc
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -1140,6 +1276,18 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 18 2008 sbrabec@suse.cz
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
* Sun May 11 2008 coolo@suse.de
|
* Sun May 11 2008 coolo@suse.de
|
||||||
- fix rename of xxbit packages
|
- fix rename of xxbit packages
|
||||||
* Tue Mar 11 2008 sbrabec@suse.cz
|
* Tue Mar 11 2008 sbrabec@suse.cz
|
||||||
|
11
avahi-no-gtk-no-interfaces.patch
Normal file
11
avahi-no-gtk-no-interfaces.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- avahi-discover-standalone/Makefile.am
|
||||||
|
+++ avahi-discover-standalone/Makefile.am
|
||||||
|
@@ -52,7 +52,7 @@
|
||||||
|
|
||||||
|
if HAVE_PYTHON_DBUS
|
||||||
|
|
||||||
|
-interfaces_DATA = $(interfaces)
|
||||||
|
+interfaces_DATA =
|
||||||
|
|
||||||
|
endif
|
||||||
|
endif
|
16
avahi-no-gtk-python.patch
Normal file
16
avahi-no-gtk-python.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- avahi-python/avahi/Makefile.am
|
||||||
|
+++ avahi-python/avahi/Makefile.am
|
||||||
|
@@ -52,13 +52,11 @@
|
||||||
|
|
||||||
|
avahi_PYTHON = $(avahi_SCRIPTS)
|
||||||
|
|
||||||
|
-if HAVE_PYGTK
|
||||||
|
if HAVE_PYTHON_DBUS
|
||||||
|
|
||||||
|
avahi_PYTHON += __init__.py
|
||||||
|
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
-endif
|
||||||
|
|
||||||
|
CLEANFILES=*.pyc *.pyo ServiceTypeDatabase.py
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 18 17:18:20 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 11 11:49:29 CEST 2008 - coolo@suse.de
|
Sun May 11 11:49:29 CEST 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
746
avahi-qt4.spec
746
avahi-qt4.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package avahi-qt4 (Version 0.6.22)
|
# spec file for package avahi-qt4 (Version 0.6.23)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -18,12 +18,14 @@ Name: avahi-qt4
|
|||||||
# For build all at once, set all to 1.
|
# For build all at once, set all to 1.
|
||||||
# If you set build_core to 0, you cannot set more than one other options to 1.
|
# If you set build_core to 0, you cannot set more than one other options to 1.
|
||||||
%define build_core 0
|
%define build_core 0
|
||||||
|
# NOTE: build_glib2 also controls build of gobject, gtk2 and pygtk code.
|
||||||
|
%define build_glib2 0
|
||||||
%define build_mono 0
|
%define build_mono 0
|
||||||
%define build_qt3 0
|
%define build_qt3 0
|
||||||
%define build_qt4 1
|
%define build_qt4 1
|
||||||
Version: 0.6.22
|
Version: 0.6.23
|
||||||
Release: 7
|
Release: 1
|
||||||
%if !%build_mono && !%build_qt3 && !%build_qt4
|
%if !%build_glib2 && !%build_mono && !%build_qt3 && !%build_qt4
|
||||||
# Create split spec files only when building per partes:
|
# Create split spec files only when building per partes:
|
||||||
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
||||||
%endif
|
%endif
|
||||||
@ -43,6 +45,8 @@ Source: %{_name}-%{version}.tar.bz2
|
|||||||
Source1: gnome-nettool2.png
|
Source1: gnome-nettool2.png
|
||||||
Source2: avahi-bookmarks.init
|
Source2: avahi-bookmarks.init
|
||||||
Source3: avahi.firewall
|
Source3: avahi.firewall
|
||||||
|
# Copy of glib-2.0.m4 from glib2-devel to not depend on glib2-devel.
|
||||||
|
Source4: avahi-glib-gettext.m4
|
||||||
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
||||||
Patch0: avahi-gacdir.patch
|
Patch0: avahi-gacdir.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
||||||
@ -51,21 +55,35 @@ Patch1: avahi-desktop.patch
|
|||||||
Patch2: avahi-init-lsb.patch
|
Patch2: avahi-init-lsb.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
||||||
Patch3: avahi-empty-share-dir.patch
|
Patch3: avahi-empty-share-dir.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-man-link.patch avahi222 sbrabec@suse.cz -- link man page only if it is installed
|
||||||
|
Patch4: avahi-man-selection.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- if gtk is disabled do not install glade files
|
||||||
|
Patch5: avahi-no-gtk-no-interfaces.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- build avahi-bookmarks even without python-gtk
|
||||||
|
Patch6: avahi-bookmarks-no-pygtk.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-python.patch avahi222 sbrabec@suse.cz -- build python module if gtk is disabled
|
||||||
|
Patch7: avahi-no-gtk-python.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libglade2-devel
|
BuildRequires: dbus-1-python fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libexpat-devel perl-XML-Parser pkg-config
|
||||||
|
# Even if we are not building python bindings, we need python to build service types database:
|
||||||
|
BuildRequires: python-devel python-gdbm
|
||||||
%if %build_core
|
%if %build_core
|
||||||
Source4: %{_name}_spec-prepare.sh
|
Source5: %{_name}_spec-prepare.sh
|
||||||
PreReq: pwdutils
|
PreReq: pwdutils
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
BuildRequires: dbus-1-devel doxygen graphviz update-desktop-files zlib-devel
|
BuildRequires: dbus-1-devel doxygen graphviz python-gdbm zlib-devel
|
||||||
# For python bindings and utilities:
|
# For python bindings and utilities:
|
||||||
BuildRequires: dbus-1-python python-devel python-gdbm python-gtk-devel
|
#BuildRequires: dbus-1-python
|
||||||
Requires: dbus-1
|
#Requires: dbus-1
|
||||||
Requires: nss-mdns
|
Requires: nss-mdns
|
||||||
# mDNSResponder was used for <= 10.2:
|
# mDNSResponder was used for <= 10.2:
|
||||||
Provides: mDNSResponder = 107.5
|
Provides: mDNSResponder = 107.5
|
||||||
Obsoletes: mDNSResponder <= 107.5
|
Obsoletes: mDNSResponder <= 107.5
|
||||||
%endif
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
BuildRequires: libglade2-devel python-gtk-devel update-desktop-files
|
||||||
|
BuildRequires: libavahi-devel
|
||||||
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
BuildRequires: qt3-devel
|
BuildRequires: qt3-devel
|
||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
@ -75,7 +93,7 @@ BuildRequires: libqt4-devel
|
|||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
BuildRequires: gtk-sharp2 libavahi-glib-devel mono-devel monodoc-core
|
BuildRequires: gtk-sharp2 libavahi-glib-devel libglade2-devel mono-devel monodoc-core
|
||||||
# Please copy this line to avahi-mono definition below for build all-in-once:
|
# Please copy this line to avahi-mono definition below for build all-in-once:
|
||||||
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
||||||
%endif
|
%endif
|
||||||
@ -184,6 +202,231 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libdns_sd
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# mDNSResponder-lib used unversioned soname.
|
||||||
|
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
||||||
|
%ifarch ia64 x86_64 ppc64 s390x
|
||||||
|
Provides: libdns_sd.so()(64bit)
|
||||||
|
%else
|
||||||
|
Provides: libdns_sd.so
|
||||||
|
%endif
|
||||||
|
# mDNSResponder-lib was used for <= 10.2:
|
||||||
|
Provides: mDNSResponder-lib = 107.5
|
||||||
|
Obsoletes: mDNSResponder-lib <= 107.5
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-mDNSResponder = %{version}
|
||||||
|
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
||||||
|
|
||||||
|
%description -n libdns_sd
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libhowl0
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-howl = %{version}
|
||||||
|
Obsoletes: avahi-compat-howl <= %{version}
|
||||||
|
|
||||||
|
%description -n libhowl0
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n python-avahi
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: A set of Avahi utilities written in Python
|
||||||
|
PreReq: coreutils
|
||||||
|
Requires: %{name} = %{version} python-gdbm dbus-1-python python-twisted python-twisted-web
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-python = %{version}
|
||||||
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description -n python-avahi
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete, implementing all
|
||||||
|
MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs. It
|
||||||
|
passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things that have never been seen
|
||||||
|
elsewhere, like correct mDNS reflection across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
||||||
|
Requires: %{name} >= %{version}
|
||||||
|
Group: Productivity/Networking/Other
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now complete with features, implementing
|
||||||
|
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
||||||
|
It passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things, like correct mDNS reflection
|
||||||
|
across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libavahi-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Include Files and Libraries Mandatory for Development
|
||||||
|
#
|
||||||
|
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
# Last appeared in OpenSUSE 10.3:
|
||||||
|
Provides: avahi-devel = %{version}
|
||||||
|
Obsoletes: avahi-devel <= %{version}
|
||||||
|
|
||||||
|
%description -n libavahi-devel
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-mDNSResponder-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: mDNSResponder-devel = 107.5
|
||||||
|
Obsoletes: mDNSResponder-devel <= 107.5
|
||||||
|
|
||||||
|
%description compat-mDNSResponder-devel
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-howl-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description compat-howl-devel
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
%package -n libavahi-ui0
|
%package -n libavahi-ui0
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: D-BUS Service for Zeroconf and Bonjour
|
Summary: D-BUS Service for Zeroconf and Bonjour
|
||||||
@ -261,105 +504,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libdns_sd
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# mDNSResponder-lib used unversioned soname.
|
|
||||||
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
|
||||||
%ifarch ia64 x86_64 ppc64 s390x
|
|
||||||
Provides: libdns_sd.so()(64bit)
|
|
||||||
%else
|
|
||||||
Provides: libdns_sd.so
|
|
||||||
%endif
|
|
||||||
# mDNSResponder-lib was used for <= 10.2:
|
|
||||||
Provides: mDNSResponder-lib = 107.5
|
|
||||||
Obsoletes: mDNSResponder-lib <= 107.5
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-mDNSResponder = %{version}
|
|
||||||
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
|
||||||
|
|
||||||
%description -n libdns_sd
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libhowl0
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-howl = %{version}
|
|
||||||
Obsoletes: avahi-compat-howl <= %{version}
|
|
||||||
|
|
||||||
%description -n libhowl0
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package utils
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
|
||||||
Requires: %{name} >= %{version}
|
|
||||||
Group: Productivity/Networking/Other
|
|
||||||
|
|
||||||
%description utils
|
|
||||||
Avahi is an implementation of the DNS Service Discovery and Multicast
|
|
||||||
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
|
||||||
communication between user applications and a system daemon. The daemon
|
|
||||||
is used to coordinate application efforts in caching replies, necessary
|
|
||||||
to minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now complete with features, implementing
|
|
||||||
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
|
||||||
It passes all tests in the Apple Bonjour conformance test suite. In
|
|
||||||
addition, it supports some nifty things, like correct mDNS reflection
|
|
||||||
across LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -393,18 +537,20 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
%package -n python-avahi
|
%package -n python-avahi-gtk
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: A set of Avahi utilities written in Python
|
Summary: A set of Avahi utilities written in Python Using python-gtk
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Requires: %{name} = %{version} python-gdbm python-gtk dbus-1-python python-twisted python-twisted-web
|
Requires: python-avahi = %{version} python-gtk
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
# Old name used for <= 10.3:
|
# Old name used for <= 10.3:
|
||||||
Provides: avahi-python = %{version}
|
Provides: avahi-python = %{version}
|
||||||
Obsoletes: avahi-python <= %{version}
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
# Provide split-provides for update from <= 11.0:
|
||||||
|
Provides: python-avahi:%{_bindir}/avahi-bookmarks
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description -n python-avahi
|
%description -n python-avahi-gtk
|
||||||
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
|
||||||
@ -419,37 +565,6 @@ elsewhere, like correct mDNS reflection across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libavahi-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Include Files and Libraries Mandatory for Development
|
|
||||||
#
|
|
||||||
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# Last appeared in OpenSUSE 10.3:
|
|
||||||
Provides: avahi-devel = %{version}
|
|
||||||
Obsoletes: avahi-devel <= %{version}
|
|
||||||
|
|
||||||
%description -n libavahi-devel
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -462,7 +577,7 @@ Summary: Include Files and Libraries Mandatory for Development
|
|||||||
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
# Last appeared in OpenSUSE 10.3:
|
# Last appeared in OpenSUSE 10.3:
|
||||||
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
||||||
|
|
||||||
%description -n libavahi-glib-devel
|
%description -n libavahi-glib-devel
|
||||||
GLib support for avahi.
|
GLib support for avahi.
|
||||||
@ -508,66 +623,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-mDNSResponder-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Provides: mDNSResponder-devel = 107.5
|
|
||||||
Obsoletes: mDNSResponder-devel <= 107.5
|
|
||||||
|
|
||||||
%description compat-mDNSResponder-devel
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-howl-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
|
|
||||||
%description compat-howl-devel
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -744,47 +799,80 @@ Authors:
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
%patch7
|
||||||
%if !%build_core
|
%if !%build_core
|
||||||
# Replace all .la references from local .la files to installed versions.
|
# Replace all .la references from local .la files to installed versions
|
||||||
|
# with exception of libavahi-glib.la.
|
||||||
# It allows to build only the binding subpackage.
|
# It allows to build only the binding subpackage.
|
||||||
|
%if %build_mono
|
||||||
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
||||||
|
%else
|
||||||
|
sed -i 's:libavahi-glib\.la:@@SKIP LIBAVAHI GLIB@@:g
|
||||||
|
s:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g
|
||||||
|
s:@@SKIP LIBAVAHI GLIB@@:libavahi-glib.la:g
|
||||||
|
' */Makefile.am
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
if ! test -f %{_datadir}/aclocal/glib-gettext.m4 ; then
|
||||||
|
cat %{S:4} >>acinclude.m4
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
intltoolize -f
|
||||||
%configure\
|
%configure\
|
||||||
--libexecdir=%{_prefix}/lib\
|
--libexecdir=%{_prefix}/lib\
|
||||||
--disable-static\
|
--disable-static\
|
||||||
--with-distro=suse\
|
--with-distro=suse\
|
||||||
%if %build_core
|
%if %build_core
|
||||||
--enable-python\
|
|
||||||
--enable-pygtk\
|
|
||||||
--enable-compat-libdns_sd\
|
--enable-compat-libdns_sd\
|
||||||
--enable-compat-howl\
|
--enable-compat-howl\
|
||||||
%else
|
%else
|
||||||
--disable-python\
|
|
||||||
--disable-pygtk\
|
|
||||||
--disable-compat-libdns_sd\
|
--disable-compat-libdns_sd\
|
||||||
--disable-compat-howl\
|
--disable-compat-howl\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_glib2
|
||||||
--enable-qt3\
|
--enable-glib\
|
||||||
|
--enable-gobject\
|
||||||
|
--enable-gtk\
|
||||||
|
--enable-pygtk\
|
||||||
%else
|
%else
|
||||||
--disable-qt3\
|
--disable-glib\
|
||||||
|
--disable-gobject\
|
||||||
|
%if ! %build_mono
|
||||||
|
--disable-gtk\
|
||||||
|
%endif
|
||||||
|
--disable-pygtk\
|
||||||
|
%endif
|
||||||
|
%if %build_qt3
|
||||||
|
--enable-qt3\
|
||||||
|
%else
|
||||||
|
--disable-qt3\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt4
|
%if %build_qt4
|
||||||
--enable-qt4\
|
--enable-qt4\
|
||||||
%else
|
%else
|
||||||
--disable-qt4\
|
--disable-qt4\
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
--enable-mono\
|
--enable-mono\
|
||||||
|
--enable-gtk\
|
||||||
%else
|
%else
|
||||||
--disable-mono \
|
--disable-mono\
|
||||||
%endif
|
%endif
|
||||||
--with-avahi-priv-access-group=avahi\
|
--with-avahi-priv-access-group=avahi\
|
||||||
--with-autoipd-user=avahi\
|
--with-autoipd-user=avahi\
|
||||||
--with-autoipd-group=avahi
|
--with-autoipd-group=avahi
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%__make %{?jobs:-j%jobs}
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -799,6 +887,14 @@ cd ../avahi-ui-sharp
|
|||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%makeinstall
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
cd -
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -816,8 +912,6 @@ cd ..
|
|||||||
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
%if %build_core
|
%if %build_core
|
||||||
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
||||||
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
## WARNING: found empty dependency_libs variable. please remove the
|
## WARNING: found empty dependency_libs variable. please remove the
|
||||||
## pointless libtool .la file
|
## pointless libtool .la file
|
||||||
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
||||||
@ -836,20 +930,47 @@ mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSE
|
|||||||
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
|
||||||
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
||||||
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
||||||
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
|
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
%else
|
%else
|
||||||
# There is no simple way to install only selected pc files. Remove core files.
|
# There is no simple way to not install core files. Remove them here.
|
||||||
# The rest is enabled/disabled in configure as needed.
|
# The rest is enabled/disabled in configure as needed.
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-glib.pc
|
%if %build_glib2
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-gobject.pc
|
rm $RPM_BUILD_ROOT%{_bindir}/avahi-bookmarks
|
||||||
|
rm -r $RPM_BUILD_ROOT%{py_sitedir}/avahi
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi-daemon.conf.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.hosts.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.service.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.action.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-daemon.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.action.8*
|
||||||
|
%else
|
||||||
|
%if %build_mono
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
||||||
|
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
||||||
|
%endif
|
||||||
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -875,6 +996,26 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{restart_on_update avahi-dnsconfd}
|
%{restart_on_update avahi-dnsconfd}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
|
||||||
|
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre -n python-avahi
|
%pre -n python-avahi
|
||||||
# For update from == 10.3:
|
# For update from == 10.3:
|
||||||
# Restart will not happen due to package rename. Handle it.
|
# Restart will not happen due to package rename. Handle it.
|
||||||
@ -901,18 +1042,8 @@ fi
|
|||||||
%postun -n python-avahi
|
%postun -n python-avahi
|
||||||
%{restart_on_update avahi-bookmarks}
|
%{restart_on_update avahi-bookmarks}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
%endif
|
||||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
%if %build_glib2
|
||||||
|
|
||||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-ui0 -p /sbin/ldconfig
|
%post -n libavahi-ui0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -925,14 +1056,6 @@ fi
|
|||||||
%post -n libavahi-glib1 -p /sbin/ldconfig
|
%post -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libhowl0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libhowl0 -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -951,13 +1074,15 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE docs/*
|
%doc LICENSE docs/*
|
||||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
|
||||||
|
%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%{_sbindir}/avahi-*
|
%{_sbindir}/avahi-*
|
||||||
%{_sbindir}/rcavahi-daemon
|
%{_sbindir}/rcavahi-daemon
|
||||||
%{_sbindir}/rcavahi-dnsconfd
|
%{_sbindir}/rcavahi-dnsconfd
|
||||||
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
||||||
%dir %{_sysconfdir}/avahi
|
%dir %{_sysconfdir}/avahi
|
||||||
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
||||||
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
||||||
@ -970,6 +1095,12 @@ fi
|
|||||||
%{_sysconfdir}/init.d/avahi-daemon
|
%{_sysconfdir}/init.d/avahi-daemon
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# FIXME: These directories should be part of filesystem package:
|
||||||
|
%dir %{_datadir}/locale/en_NZ
|
||||||
|
%dir %{_datadir}/locale/en_NZ/LC_MESSAGES
|
||||||
|
%dir %{_datadir}/locale/sr@latin
|
||||||
|
%dir %{_datadir}/locale/sr@latin/LC_MESSAGES
|
||||||
|
|
||||||
%files -n libavahi-client3
|
%files -n libavahi-client3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -983,18 +1114,6 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libavahi-core*.so.*
|
%{_libdir}/libavahi-core*.so.*
|
||||||
|
|
||||||
%files -n libavahi-ui0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-ui*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-glib1
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-glib*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-gobject0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-gobject*.so.*
|
|
||||||
|
|
||||||
%files -n libdns_sd
|
%files -n libdns_sd
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
||||||
@ -1005,6 +1124,15 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhowl.so.*
|
%{_libdir}/libhowl.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-bookmarks
|
||||||
|
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
%{_sbindir}/rcavahi-bookmarks
|
||||||
|
%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
|
%{py_sitedir}/avahi
|
||||||
|
%{py_sitedir}/avahi/ServiceTypeDatabase.py
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/avahi-browse*
|
%{_bindir}/avahi-browse*
|
||||||
@ -1014,7 +1142,6 @@ fi
|
|||||||
%dir %{_datadir}/avahi/
|
%dir %{_datadir}/avahi/
|
||||||
%{_datadir}/avahi/avahi-service.dtd
|
%{_datadir}/avahi/avahi-service.dtd
|
||||||
%{_datadir}/avahi/introspection
|
%{_datadir}/avahi/introspection
|
||||||
%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
%dir %{_libdir}/avahi/
|
%dir %{_libdir}/avahi/
|
||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
%doc %{_mandir}/man1/avahi-browse*.1*
|
%doc %{_mandir}/man1/avahi-browse*.1*
|
||||||
@ -1022,31 +1149,6 @@ fi
|
|||||||
%doc %{_mandir}/man1/avahi-resolve*.1*
|
%doc %{_mandir}/man1/avahi-resolve*.1*
|
||||||
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
|
||||||
%files utils-gtk
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/bshell
|
|
||||||
%{_bindir}/bssh
|
|
||||||
%{_bindir}/bvnc
|
|
||||||
%{_bindir}/avahi-discover-standalone
|
|
||||||
%{_datadir}/applications/bssh.desktop
|
|
||||||
%{_datadir}/applications/bvnc.desktop
|
|
||||||
%dir %{_datadir}/avahi/
|
|
||||||
%{_datadir}/avahi/interfaces
|
|
||||||
%doc %{_mandir}/man1/bssh.1.*
|
|
||||||
%doc %{_mandir}/man1/bvnc.1.*
|
|
||||||
|
|
||||||
%files -n python-avahi
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{py_sitedir}/avahi
|
|
||||||
%{py_sitedir}/avahi_discover
|
|
||||||
%{_bindir}/avahi-discover
|
|
||||||
%{_bindir}/avahi-bookmarks
|
|
||||||
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
|
||||||
%doc %{_mandir}/man1/avahi-discover.1*
|
|
||||||
%{_datadir}/applications/avahi-discover.desktop
|
|
||||||
%{_sbindir}/rcavahi-bookmarks
|
|
||||||
%{_sysconfdir}/init.d/avahi-bookmarks
|
|
||||||
|
|
||||||
%files -n libavahi-devel
|
%files -n libavahi-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# FIXME: Maybe split to particular subpackages.
|
# FIXME: Maybe split to particular subpackages.
|
||||||
@ -1065,6 +1167,55 @@ fi
|
|||||||
%{_libdir}/pkgconfig/avahi-client.pc
|
%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
%{_libdir}/pkgconfig/avahi-core.pc
|
%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
|
|
||||||
|
%files compat-mDNSResponder-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-libdns_sd
|
||||||
|
%{_includedir}/dns_sd.h
|
||||||
|
%{_libdir}/libdns_sd.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
||||||
|
|
||||||
|
%files compat-howl-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-howl
|
||||||
|
%{_libdir}/libhowl.so
|
||||||
|
%{_libdir}/libhowl.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
||||||
|
%{_libdir}/pkgconfig/howl.pc
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
|
%files -n libavahi-ui0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-ui*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-glib1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-glib*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-gobject0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-gobject*.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-discover
|
||||||
|
%{_datadir}/applications/avahi-discover.desktop
|
||||||
|
%doc %{_mandir}/man1/avahi-discover.1*
|
||||||
|
%{py_sitedir}/avahi_discover
|
||||||
|
|
||||||
|
%files utils-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/bshell
|
||||||
|
%{_bindir}/bssh
|
||||||
|
%{_bindir}/bvnc
|
||||||
|
%{_bindir}/avahi-discover-standalone
|
||||||
|
%{_datadir}/applications/bssh.desktop
|
||||||
|
%{_datadir}/applications/bvnc.desktop
|
||||||
|
%dir %{_datadir}/avahi/
|
||||||
|
%{_datadir}/avahi/interfaces
|
||||||
|
%doc %{_mandir}/man1/bssh.1.*
|
||||||
|
%doc %{_mandir}/man1/bvnc.1.*
|
||||||
|
|
||||||
%files -n libavahi-glib-devel
|
%files -n libavahi-glib-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/avahi-glib
|
%{_includedir}/avahi-glib
|
||||||
@ -1082,21 +1233,6 @@ fi
|
|||||||
%{_libdir}/libavahi-gobject*.*a
|
%{_libdir}/libavahi-gobject*.*a
|
||||||
%{_libdir}/libavahi-gobject*.so
|
%{_libdir}/libavahi-gobject*.so
|
||||||
%{_libdir}/pkgconfig/avahi-gobject.pc
|
%{_libdir}/pkgconfig/avahi-gobject.pc
|
||||||
|
|
||||||
%files compat-mDNSResponder-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-libdns_sd
|
|
||||||
%{_includedir}/dns_sd.h
|
|
||||||
%{_libdir}/libdns_sd.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
|
||||||
|
|
||||||
%files compat-howl-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-howl
|
|
||||||
%{_libdir}/libhowl.so
|
|
||||||
%{_libdir}/libhowl.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
|
||||||
%{_libdir}/pkgconfig/howl.pc
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -1143,6 +1279,18 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 18 2008 sbrabec@suse.cz
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
* Sun May 11 2008 coolo@suse.de
|
* Sun May 11 2008 coolo@suse.de
|
||||||
- fix rename of xxbit packages
|
- fix rename of xxbit packages
|
||||||
* Wed Mar 05 2008 sbrabec@suse.cz
|
* Wed Mar 05 2008 sbrabec@suse.cz
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 18 17:18:20 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Build glib2, gobject and python stuff separately to break build
|
||||||
|
loop cups -> gtk2 -> avahi -> cups.
|
||||||
|
- Split avahi-python-gtk from avahi-python.
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 16 13:30:43 CEST 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
- don't build cycle between avahi and cups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 27 18:04:25 CEST 2008 - coolo@suse.de
|
Tue May 27 18:04:25 CEST 2008 - coolo@suse.de
|
||||||
|
|
||||||
|
751
avahi.spec
751
avahi.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package avahi (Version 0.6.22)
|
# spec file for package avahi (Version 0.6.23)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -20,12 +20,14 @@ Name: avahi
|
|||||||
# For build all at once, set all to 1.
|
# For build all at once, set all to 1.
|
||||||
# If you set build_core to 0, you cannot set more than one other options to 1.
|
# If you set build_core to 0, you cannot set more than one other options to 1.
|
||||||
%define build_core 1
|
%define build_core 1
|
||||||
|
# NOTE: build_glib2 also controls build of gobject, gtk2 and pygtk code.
|
||||||
|
%define build_glib2 0
|
||||||
%define build_mono 0
|
%define build_mono 0
|
||||||
%define build_qt3 0
|
%define build_qt3 0
|
||||||
%define build_qt4 0
|
%define build_qt4 0
|
||||||
Version: 0.6.22
|
Version: 0.6.23
|
||||||
Release: 65
|
Release: 1
|
||||||
%if !%build_mono && !%build_qt3 && !%build_qt4
|
%if !%build_glib2 && !%build_mono && !%build_qt3 && !%build_qt4
|
||||||
# Create split spec files only when building per partes:
|
# Create split spec files only when building per partes:
|
||||||
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
#%(sh %{_sourcedir}/%{_name}_spec-prepare.sh %{_sourcedir} %{name})
|
||||||
%endif
|
%endif
|
||||||
@ -45,6 +47,8 @@ Source: %{_name}-%{version}.tar.bz2
|
|||||||
Source1: gnome-nettool2.png
|
Source1: gnome-nettool2.png
|
||||||
Source2: avahi-bookmarks.init
|
Source2: avahi-bookmarks.init
|
||||||
Source3: avahi.firewall
|
Source3: avahi.firewall
|
||||||
|
# Copy of glib-2.0.m4 from glib2-devel to not depend on glib2-devel.
|
||||||
|
Source4: avahi-glib-gettext.m4
|
||||||
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
#PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
|
||||||
Patch0: avahi-gacdir.patch
|
Patch0: avahi-gacdir.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
#PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 sbrabec@suse.de
|
||||||
@ -53,21 +57,35 @@ Patch1: avahi-desktop.patch
|
|||||||
Patch2: avahi-init-lsb.patch
|
Patch2: avahi-init-lsb.patch
|
||||||
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
#PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer
|
||||||
Patch3: avahi-empty-share-dir.patch
|
Patch3: avahi-empty-share-dir.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-man-link.patch avahi222 sbrabec@suse.cz -- link man page only if it is installed
|
||||||
|
Patch4: avahi-man-selection.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- if gtk is disabled do not install glade files
|
||||||
|
Patch5: avahi-no-gtk-no-interfaces.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-no-interfaces.patch avahi222 sbrabec@suse.cz -- build avahi-bookmarks even without python-gtk
|
||||||
|
Patch6: avahi-bookmarks-no-pygtk.patch
|
||||||
|
#PATCH-FIX-UPSTREAM avahi-no-gtk-python.patch avahi222 sbrabec@suse.cz -- build python module if gtk is disabled
|
||||||
|
Patch7: avahi-no-gtk-python.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libglade2-devel
|
BuildRequires: dbus-1-python fdupes gcc-c++ gdbm-devel intltool libdaemon-devel libexpat-devel perl-XML-Parser pkg-config
|
||||||
|
# Even if we are not building python bindings, we need python to build service types database:
|
||||||
|
BuildRequires: python-devel python-gdbm
|
||||||
%if %build_core
|
%if %build_core
|
||||||
Source4: %{_name}_spec-prepare.sh
|
Source5: %{_name}_spec-prepare.sh
|
||||||
PreReq: pwdutils
|
PreReq: pwdutils
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
BuildRequires: dbus-1-devel doxygen graphviz update-desktop-files zlib-devel
|
BuildRequires: dbus-1-devel doxygen graphviz python-gdbm zlib-devel
|
||||||
# For python bindings and utilities:
|
# For python bindings and utilities:
|
||||||
BuildRequires: dbus-1-python python-devel python-gdbm python-gtk-devel
|
#BuildRequires: dbus-1-python
|
||||||
Requires: dbus-1
|
#Requires: dbus-1
|
||||||
Requires: nss-mdns
|
Requires: nss-mdns
|
||||||
# mDNSResponder was used for <= 10.2:
|
# mDNSResponder was used for <= 10.2:
|
||||||
Provides: mDNSResponder = 107.5
|
Provides: mDNSResponder = 107.5
|
||||||
Obsoletes: mDNSResponder <= 107.5
|
Obsoletes: mDNSResponder <= 107.5
|
||||||
%endif
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
BuildRequires: libglade2-devel python-gtk-devel update-desktop-files
|
||||||
|
BuildRequires: libavahi-devel
|
||||||
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
BuildRequires: qt3-devel
|
BuildRequires: qt3-devel
|
||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
@ -77,7 +95,7 @@ BuildRequires: libqt4-devel
|
|||||||
BuildRequires: libavahi-devel
|
BuildRequires: libavahi-devel
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
BuildRequires: gtk-sharp2 libavahi-glib-devel mono-devel monodoc-core
|
BuildRequires: gtk-sharp2 libavahi-glib-devel libglade2-devel mono-devel monodoc-core
|
||||||
# Please copy this line to avahi-mono definition below for build all-in-once:
|
# Please copy this line to avahi-mono definition below for build all-in-once:
|
||||||
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
Requires: gtk-sharp2 libavahi-client3 >= %{version} libavahi-common3 >= %{version} libavahi-ui0 >= %{version} libavahi-glib1 >= %{version}
|
||||||
%endif
|
%endif
|
||||||
@ -184,6 +202,231 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libdns_sd
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# mDNSResponder-lib used unversioned soname.
|
||||||
|
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
||||||
|
%ifarch ia64 x86_64 ppc64 s390x
|
||||||
|
Provides: libdns_sd.so()(64bit)
|
||||||
|
%else
|
||||||
|
Provides: libdns_sd.so
|
||||||
|
%endif
|
||||||
|
# mDNSResponder-lib was used for <= 10.2:
|
||||||
|
Provides: mDNSResponder-lib = 107.5
|
||||||
|
Obsoletes: mDNSResponder-lib <= 107.5
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-mDNSResponder = %{version}
|
||||||
|
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
||||||
|
|
||||||
|
%description -n libdns_sd
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libhowl0
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Group: System/Libraries
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-compat-howl = %{version}
|
||||||
|
Obsoletes: avahi-compat-howl <= %{version}
|
||||||
|
|
||||||
|
%description -n libhowl0
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n python-avahi
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: A set of Avahi utilities written in Python
|
||||||
|
PreReq: coreutils
|
||||||
|
Requires: %{name} = %{version} python-gdbm dbus-1-python python-twisted python-twisted-web
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
# Old name used for <= 10.3:
|
||||||
|
Provides: avahi-python = %{version}
|
||||||
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description -n python-avahi
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete, implementing all
|
||||||
|
MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs. It
|
||||||
|
passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things that have never been seen
|
||||||
|
elsewhere, like correct mDNS reflection across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
||||||
|
Requires: %{name} >= %{version}
|
||||||
|
Group: Productivity/Networking/Other
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
Avahi is an implementation of the DNS Service Discovery and Multicast
|
||||||
|
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
||||||
|
communication between user applications and a system daemon. The daemon
|
||||||
|
is used to coordinate application efforts in caching replies, necessary
|
||||||
|
to minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now complete with features, implementing
|
||||||
|
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
||||||
|
It passes all tests in the Apple Bonjour conformance test suite. In
|
||||||
|
addition, it supports some nifty things, like correct mDNS reflection
|
||||||
|
across LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package -n libavahi-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: Include Files and Libraries Mandatory for Development
|
||||||
|
#
|
||||||
|
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
# Last appeared in OpenSUSE 10.3:
|
||||||
|
Provides: avahi-devel = %{version}
|
||||||
|
Obsoletes: avahi-devel <= %{version}
|
||||||
|
|
||||||
|
%description -n libavahi-devel
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-mDNSResponder-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: mDNSResponder-devel = 107.5
|
||||||
|
Obsoletes: mDNSResponder-devel <= 107.5
|
||||||
|
|
||||||
|
%description compat-mDNSResponder-devel
|
||||||
|
Apple mDNSResponder compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%package compat-howl-devel
|
||||||
|
License: LGPL v2.1 or later
|
||||||
|
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
||||||
|
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description compat-howl-devel
|
||||||
|
howl compatibility layer for avahi.
|
||||||
|
|
||||||
|
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
||||||
|
specifications for Zeroconf Computing. It uses D-BUS for communication
|
||||||
|
between user applications and a system daemon. The daemon is used to
|
||||||
|
coordinate application efforts in caching replies, necessary to
|
||||||
|
minimize the traffic imposed on networks.
|
||||||
|
|
||||||
|
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
||||||
|
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
||||||
|
tests in the Apple Bonjour conformance test suite. In addition it
|
||||||
|
supports some nifty things that have never been seen elsewhere like
|
||||||
|
correct mDNS reflection accross LAN segments.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
%package -n libavahi-ui0
|
%package -n libavahi-ui0
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: D-BUS Service for Zeroconf and Bonjour
|
Summary: D-BUS Service for Zeroconf and Bonjour
|
||||||
@ -261,105 +504,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libdns_sd
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# mDNSResponder-lib used unversioned soname.
|
|
||||||
# Provide full compatibility with mDNSResponder (FIXME: should be fixed in the package):
|
|
||||||
%ifarch ia64 x86_64 ppc64 s390x
|
|
||||||
Provides: libdns_sd.so()(64bit)
|
|
||||||
%else
|
|
||||||
Provides: libdns_sd.so
|
|
||||||
%endif
|
|
||||||
# mDNSResponder-lib was used for <= 10.2:
|
|
||||||
Provides: mDNSResponder-lib = 107.5
|
|
||||||
Obsoletes: mDNSResponder-lib <= 107.5
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-mDNSResponder = %{version}
|
|
||||||
Obsoletes: avahi-compat-mDNSResponder <= %{version}
|
|
||||||
|
|
||||||
%description -n libdns_sd
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libhowl0
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Group: System/Libraries
|
|
||||||
# Old name used for <= 10.3:
|
|
||||||
Provides: avahi-compat-howl = %{version}
|
|
||||||
Obsoletes: avahi-compat-howl <= %{version}
|
|
||||||
|
|
||||||
%description -n libhowl0
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package utils
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
|
|
||||||
Requires: %{name} >= %{version}
|
|
||||||
Group: Productivity/Networking/Other
|
|
||||||
|
|
||||||
%description utils
|
|
||||||
Avahi is an implementation of the DNS Service Discovery and Multicast
|
|
||||||
DNS specifications for Zeroconf Computing. It uses D-BUS for
|
|
||||||
communication between user applications and a system daemon. The daemon
|
|
||||||
is used to coordinate application efforts in caching replies, necessary
|
|
||||||
to minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now complete with features, implementing
|
|
||||||
all MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs.
|
|
||||||
It passes all tests in the Apple Bonjour conformance test suite. In
|
|
||||||
addition, it supports some nifty things, like correct mDNS reflection
|
|
||||||
across LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -393,18 +537,20 @@ Authors:
|
|||||||
Trent Lloyd <lathiat@freedesktop.org>
|
Trent Lloyd <lathiat@freedesktop.org>
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
Sebastien Estienne <sebastien.estienne@gmail.com>
|
||||||
|
|
||||||
%package -n python-avahi
|
%package -n python-avahi-gtk
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: A set of Avahi utilities written in Python
|
Summary: A set of Avahi utilities written in Python Using python-gtk
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Requires: %{name} = %{version} python-gdbm python-gtk dbus-1-python python-twisted python-twisted-web
|
Requires: python-avahi = %{version} python-gtk
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
# Old name used for <= 10.3:
|
# Old name used for <= 10.3:
|
||||||
Provides: avahi-python = %{version}
|
Provides: avahi-python = %{version}
|
||||||
Obsoletes: avahi-python <= %{version}
|
Obsoletes: avahi-python <= %{version}
|
||||||
|
# Provide split-provides for update from <= 11.0:
|
||||||
|
Provides: python-avahi:%{_bindir}/avahi-bookmarks
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description -n python-avahi
|
%description -n python-avahi-gtk
|
||||||
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
|
||||||
@ -419,37 +565,6 @@ elsewhere, like correct mDNS reflection across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package -n libavahi-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: Include Files and Libraries Mandatory for Development
|
|
||||||
#
|
|
||||||
Requires: %{name} = %{version} libavahi-common3 = %{version} libavahi-core5 = %{version} libavahi-client3 = %{version} dbus-1-devel glibc-devel
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# Last appeared in OpenSUSE 10.3:
|
|
||||||
Provides: avahi-devel = %{version}
|
|
||||||
Obsoletes: avahi-devel <= %{version}
|
|
||||||
|
|
||||||
%description -n libavahi-devel
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -462,7 +577,7 @@ Summary: Include Files and Libraries Mandatory for Development
|
|||||||
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
Requires: libavahi-devel = %{version} libavahi-ui0 = %{version} libavahi-glib1 = %{version} glib2-devel gtk2-devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
# Last appeared in OpenSUSE 10.3:
|
# Last appeared in OpenSUSE 10.3:
|
||||||
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
Provides: avahi-devel:%{_libdir}/libavahi-glib.so
|
||||||
|
|
||||||
%description -n libavahi-glib-devel
|
%description -n libavahi-glib-devel
|
||||||
GLib support for avahi.
|
GLib support for avahi.
|
||||||
@ -508,66 +623,6 @@ across LAN segments.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-mDNSResponder-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libdns_sd = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Provides: mDNSResponder-devel = 107.5
|
|
||||||
Obsoletes: mDNSResponder-devel <= 107.5
|
|
||||||
|
|
||||||
%description compat-mDNSResponder-devel
|
|
||||||
Apple mDNSResponder compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
|
||||||
Trent Lloyd <lathiat@freedesktop.org>
|
|
||||||
Sebastien Estienne <sebastien.estienne@gmail.com>
|
|
||||||
|
|
||||||
%package compat-howl-devel
|
|
||||||
License: LGPL v2.1 or later
|
|
||||||
Summary: howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour
|
|
||||||
Requires: libavahi-devel = %{version} libhowl0 = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
|
|
||||||
%description compat-howl-devel
|
|
||||||
howl compatibility layer for avahi.
|
|
||||||
|
|
||||||
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
|
|
||||||
specifications for Zeroconf Computing. It uses D-BUS for communication
|
|
||||||
between user applications and a system daemon. The daemon is used to
|
|
||||||
coordinate application efforts in caching replies, necessary to
|
|
||||||
minimize the traffic imposed on networks.
|
|
||||||
|
|
||||||
The Avahi mDNS responder is now feature complete implementing all MUSTs
|
|
||||||
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
|
|
||||||
tests in the Apple Bonjour conformance test suite. In addition it
|
|
||||||
supports some nifty things that have never been seen elsewhere like
|
|
||||||
correct mDNS reflection accross LAN segments.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Lennart Poettering <mztabzr@0pointer.de>
|
Lennart Poettering <mztabzr@0pointer.de>
|
||||||
@ -744,47 +799,80 @@ Authors:
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
%patch7
|
||||||
%if !%build_core
|
%if !%build_core
|
||||||
# Replace all .la references from local .la files to installed versions.
|
# Replace all .la references from local .la files to installed versions
|
||||||
|
# with exception of libavahi-glib.la.
|
||||||
# It allows to build only the binding subpackage.
|
# It allows to build only the binding subpackage.
|
||||||
|
%if %build_mono
|
||||||
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
sed -i 's:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g' */Makefile.am
|
||||||
|
%else
|
||||||
|
sed -i 's:libavahi-glib\.la:@@SKIP LIBAVAHI GLIB@@:g
|
||||||
|
s:\(\.\.\|\$(top_builddir)\)/[^/]*/\(lib[^ ]*\.la\):%{_libdir}/\2:g
|
||||||
|
s:@@SKIP LIBAVAHI GLIB@@:libavahi-glib.la:g
|
||||||
|
' */Makefile.am
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
if ! test -f %{_datadir}/aclocal/glib-gettext.m4 ; then
|
||||||
|
cat %{S:4} >>acinclude.m4
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
intltoolize -f
|
||||||
%configure\
|
%configure\
|
||||||
--libexecdir=%{_prefix}/lib\
|
--libexecdir=%{_prefix}/lib\
|
||||||
--disable-static\
|
--disable-static\
|
||||||
--with-distro=suse\
|
--with-distro=suse\
|
||||||
%if %build_core
|
%if %build_core
|
||||||
--enable-python\
|
|
||||||
--enable-pygtk\
|
|
||||||
--enable-compat-libdns_sd\
|
--enable-compat-libdns_sd\
|
||||||
--enable-compat-howl\
|
--enable-compat-howl\
|
||||||
%else
|
%else
|
||||||
--disable-python\
|
|
||||||
--disable-pygtk\
|
|
||||||
--disable-compat-libdns_sd\
|
--disable-compat-libdns_sd\
|
||||||
--disable-compat-howl\
|
--disable-compat-howl\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_glib2
|
||||||
--enable-qt3\
|
--enable-glib\
|
||||||
|
--enable-gobject\
|
||||||
|
--enable-gtk\
|
||||||
|
--enable-pygtk\
|
||||||
%else
|
%else
|
||||||
--disable-qt3\
|
--disable-glib\
|
||||||
|
--disable-gobject\
|
||||||
|
%if ! %build_mono
|
||||||
|
--disable-gtk\
|
||||||
|
%endif
|
||||||
|
--disable-pygtk\
|
||||||
|
%endif
|
||||||
|
%if %build_qt3
|
||||||
|
--enable-qt3\
|
||||||
|
%else
|
||||||
|
--disable-qt3\
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt4
|
%if %build_qt4
|
||||||
--enable-qt4\
|
--enable-qt4\
|
||||||
%else
|
%else
|
||||||
--disable-qt4\
|
--disable-qt4\
|
||||||
%endif
|
%endif
|
||||||
%if %build_mono
|
%if %build_mono
|
||||||
--enable-mono\
|
--enable-mono\
|
||||||
|
--enable-gtk\
|
||||||
%else
|
%else
|
||||||
--disable-mono \
|
--disable-mono\
|
||||||
%endif
|
%endif
|
||||||
--with-avahi-priv-access-group=avahi\
|
--with-avahi-priv-access-group=avahi\
|
||||||
--with-autoipd-user=avahi\
|
--with-autoipd-user=avahi\
|
||||||
--with-autoipd-group=avahi
|
--with-autoipd-group=avahi
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%__make %{?jobs:-j%jobs}
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -799,6 +887,14 @@ cd ../avahi-ui-sharp
|
|||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %build_glib2 && !%build_core
|
||||||
|
for DIR in avahi-glib avahi-gobject avahi-ui avahi-discover-standalone avahi-python man ; do
|
||||||
|
cd $DIR
|
||||||
|
%makeinstall
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
cd -
|
||||||
|
%endif
|
||||||
%if %build_qt3 && !%build_core
|
%if %build_qt3 && !%build_core
|
||||||
cd avahi-qt
|
cd avahi-qt
|
||||||
%endif
|
%endif
|
||||||
@ -816,8 +912,6 @@ cd ..
|
|||||||
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
%__make %{?jobs:-j%jobs} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
%if %build_core
|
%if %build_core
|
||||||
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
||||||
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
## WARNING: found empty dependency_libs variable. please remove the
|
## WARNING: found empty dependency_libs variable. please remove the
|
||||||
## pointless libtool .la file
|
## pointless libtool .la file
|
||||||
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
## /var/tmp/avahi-0.6.20-build/usr/lib64/lib\avahi-common.la
|
||||||
@ -836,20 +930,47 @@ mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSE
|
|||||||
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
install %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
ln -s %{_sysconfdir}/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
|
||||||
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
|
||||||
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
|
||||||
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
|
||||||
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
|
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
%else
|
%else
|
||||||
# There is no simple way to install only selected pc files. Remove core files.
|
# There is no simple way to not install core files. Remove them here.
|
||||||
# The rest is enabled/disabled in configure as needed.
|
# The rest is enabled/disabled in configure as needed.
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-glib.pc
|
%if %build_glib2
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-gobject.pc
|
rm $RPM_BUILD_ROOT%{_bindir}/avahi-bookmarks
|
||||||
|
rm -r $RPM_BUILD_ROOT%{py_sitedir}/avahi
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi-daemon.conf.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.hosts.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man5/avahi.service.5*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-autoipd.action.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-daemon.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.8*
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man8/avahi-dnsconfd.action.8*
|
||||||
|
%else
|
||||||
|
%if %build_mono
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
|
||||||
|
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
|
||||||
|
%endif
|
||||||
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
%fdupes $RPM_BUILD_ROOT%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -875,6 +996,26 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{restart_on_update avahi-dnsconfd}
|
%{restart_on_update avahi-dnsconfd}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
|
||||||
|
%post -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-client3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-common3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libavahi-core5 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libdns_sd -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libhowl0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre -n python-avahi
|
%pre -n python-avahi
|
||||||
# For update from == 10.3:
|
# For update from == 10.3:
|
||||||
# Restart will not happen due to package rename. Handle it.
|
# Restart will not happen due to package rename. Handle it.
|
||||||
@ -901,18 +1042,8 @@ fi
|
|||||||
%postun -n python-avahi
|
%postun -n python-avahi
|
||||||
%{restart_on_update avahi-bookmarks}
|
%{restart_on_update avahi-bookmarks}
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
%endif
|
||||||
%post -n libavahi-client3 -p /sbin/ldconfig
|
%if %build_glib2
|
||||||
|
|
||||||
%postun -n libavahi-client3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-common3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libavahi-core5 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libavahi-ui0 -p /sbin/ldconfig
|
%post -n libavahi-ui0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -925,14 +1056,6 @@ fi
|
|||||||
%post -n libavahi-glib1 -p /sbin/ldconfig
|
%post -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
%postun -n libavahi-glib1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libdns_sd -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libhowl0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libhowl0 -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -951,13 +1074,15 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE docs/*
|
%doc LICENSE docs/*
|
||||||
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
|
||||||
|
%{_datadir}/pixmaps/gnome-nettool2.png
|
||||||
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%{_sbindir}/avahi-*
|
%{_sbindir}/avahi-*
|
||||||
%{_sbindir}/rcavahi-daemon
|
%{_sbindir}/rcavahi-daemon
|
||||||
%{_sbindir}/rcavahi-dnsconfd
|
%{_sbindir}/rcavahi-dnsconfd
|
||||||
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/*
|
||||||
%dir %{_sysconfdir}/avahi
|
%dir %{_sysconfdir}/avahi
|
||||||
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
%config %{_sysconfdir}/avahi/avahi-daemon.conf
|
||||||
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
%{_sysconfdir}/avahi/avahi-dnsconfd.action
|
||||||
@ -970,6 +1095,12 @@ fi
|
|||||||
%{_sysconfdir}/init.d/avahi-daemon
|
%{_sysconfdir}/init.d/avahi-daemon
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
# FIXME: These directories should be part of filesystem package:
|
||||||
|
%dir %{_datadir}/locale/en_NZ
|
||||||
|
%dir %{_datadir}/locale/en_NZ/LC_MESSAGES
|
||||||
|
%dir %{_datadir}/locale/sr@latin
|
||||||
|
%dir %{_datadir}/locale/sr@latin/LC_MESSAGES
|
||||||
|
|
||||||
%files -n libavahi-client3
|
%files -n libavahi-client3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -983,18 +1114,6 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libavahi-core*.so.*
|
%{_libdir}/libavahi-core*.so.*
|
||||||
|
|
||||||
%files -n libavahi-ui0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-ui*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-glib1
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-glib*.so.*
|
|
||||||
|
|
||||||
%files -n libavahi-gobject0
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libavahi-gobject*.so.*
|
|
||||||
|
|
||||||
%files -n libdns_sd
|
%files -n libdns_sd
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
# libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility:
|
||||||
@ -1005,6 +1124,15 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhowl.so.*
|
%{_libdir}/libhowl.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-bookmarks
|
||||||
|
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
||||||
|
%{_sbindir}/rcavahi-bookmarks
|
||||||
|
%{_sysconfdir}/init.d/avahi-bookmarks
|
||||||
|
%{py_sitedir}/avahi
|
||||||
|
%{py_sitedir}/avahi/ServiceTypeDatabase.py
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/avahi-browse*
|
%{_bindir}/avahi-browse*
|
||||||
@ -1014,7 +1142,6 @@ fi
|
|||||||
%dir %{_datadir}/avahi/
|
%dir %{_datadir}/avahi/
|
||||||
%{_datadir}/avahi/avahi-service.dtd
|
%{_datadir}/avahi/avahi-service.dtd
|
||||||
%{_datadir}/avahi/introspection
|
%{_datadir}/avahi/introspection
|
||||||
%{_datadir}/pixmaps/gnome-nettool2.png
|
|
||||||
%dir %{_libdir}/avahi/
|
%dir %{_libdir}/avahi/
|
||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
%doc %{_mandir}/man1/avahi-browse*.1*
|
%doc %{_mandir}/man1/avahi-browse*.1*
|
||||||
@ -1022,31 +1149,6 @@ fi
|
|||||||
%doc %{_mandir}/man1/avahi-resolve*.1*
|
%doc %{_mandir}/man1/avahi-resolve*.1*
|
||||||
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
%doc %{_mandir}/man1/avahi-set-host-name.1*
|
||||||
|
|
||||||
%files utils-gtk
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/bshell
|
|
||||||
%{_bindir}/bssh
|
|
||||||
%{_bindir}/bvnc
|
|
||||||
%{_bindir}/avahi-discover-standalone
|
|
||||||
%{_datadir}/applications/bssh.desktop
|
|
||||||
%{_datadir}/applications/bvnc.desktop
|
|
||||||
%dir %{_datadir}/avahi/
|
|
||||||
%{_datadir}/avahi/interfaces
|
|
||||||
%doc %{_mandir}/man1/bssh.1.*
|
|
||||||
%doc %{_mandir}/man1/bvnc.1.*
|
|
||||||
|
|
||||||
%files -n python-avahi
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{py_sitedir}/avahi
|
|
||||||
%{py_sitedir}/avahi_discover
|
|
||||||
%{_bindir}/avahi-discover
|
|
||||||
%{_bindir}/avahi-bookmarks
|
|
||||||
%doc %{_mandir}/man1/avahi-bookmarks.1*
|
|
||||||
%doc %{_mandir}/man1/avahi-discover.1*
|
|
||||||
%{_datadir}/applications/avahi-discover.desktop
|
|
||||||
%{_sbindir}/rcavahi-bookmarks
|
|
||||||
%{_sysconfdir}/init.d/avahi-bookmarks
|
|
||||||
|
|
||||||
%files -n libavahi-devel
|
%files -n libavahi-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# FIXME: Maybe split to particular subpackages.
|
# FIXME: Maybe split to particular subpackages.
|
||||||
@ -1065,6 +1167,55 @@ fi
|
|||||||
%{_libdir}/pkgconfig/avahi-client.pc
|
%{_libdir}/pkgconfig/avahi-client.pc
|
||||||
%{_libdir}/pkgconfig/avahi-core.pc
|
%{_libdir}/pkgconfig/avahi-core.pc
|
||||||
|
|
||||||
|
%files compat-mDNSResponder-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-libdns_sd
|
||||||
|
%{_includedir}/dns_sd.h
|
||||||
|
%{_libdir}/libdns_sd.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
||||||
|
|
||||||
|
%files compat-howl-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/avahi-compat-howl
|
||||||
|
%{_libdir}/libhowl.so
|
||||||
|
%{_libdir}/libhowl.*a
|
||||||
|
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
||||||
|
%{_libdir}/pkgconfig/howl.pc
|
||||||
|
%endif
|
||||||
|
%if %build_glib2
|
||||||
|
|
||||||
|
%files -n libavahi-ui0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-ui*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-glib1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-glib*.so.*
|
||||||
|
|
||||||
|
%files -n libavahi-gobject0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libavahi-gobject*.so.*
|
||||||
|
|
||||||
|
%files -n python-avahi-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/avahi-discover
|
||||||
|
%{_datadir}/applications/avahi-discover.desktop
|
||||||
|
%doc %{_mandir}/man1/avahi-discover.1*
|
||||||
|
%{py_sitedir}/avahi_discover
|
||||||
|
|
||||||
|
%files utils-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/bshell
|
||||||
|
%{_bindir}/bssh
|
||||||
|
%{_bindir}/bvnc
|
||||||
|
%{_bindir}/avahi-discover-standalone
|
||||||
|
%{_datadir}/applications/bssh.desktop
|
||||||
|
%{_datadir}/applications/bvnc.desktop
|
||||||
|
%dir %{_datadir}/avahi/
|
||||||
|
%{_datadir}/avahi/interfaces
|
||||||
|
%doc %{_mandir}/man1/bssh.1.*
|
||||||
|
%doc %{_mandir}/man1/bvnc.1.*
|
||||||
|
|
||||||
%files -n libavahi-glib-devel
|
%files -n libavahi-glib-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/avahi-glib
|
%{_includedir}/avahi-glib
|
||||||
@ -1082,21 +1233,6 @@ fi
|
|||||||
%{_libdir}/libavahi-gobject*.*a
|
%{_libdir}/libavahi-gobject*.*a
|
||||||
%{_libdir}/libavahi-gobject*.so
|
%{_libdir}/libavahi-gobject*.so
|
||||||
%{_libdir}/pkgconfig/avahi-gobject.pc
|
%{_libdir}/pkgconfig/avahi-gobject.pc
|
||||||
|
|
||||||
%files compat-mDNSResponder-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-libdns_sd
|
|
||||||
%{_includedir}/dns_sd.h
|
|
||||||
%{_libdir}/libdns_sd.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
|
|
||||||
|
|
||||||
%files compat-howl-devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/avahi-compat-howl
|
|
||||||
%{_libdir}/libhowl.so
|
|
||||||
%{_libdir}/libhowl.*a
|
|
||||||
%{_libdir}/pkgconfig/avahi-compat-howl.pc
|
|
||||||
%{_libdir}/pkgconfig/howl.pc
|
|
||||||
%endif
|
%endif
|
||||||
%if %build_qt3
|
%if %build_qt3
|
||||||
|
|
||||||
@ -1143,6 +1279,23 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 18 2008 sbrabec@suse.cz
|
||||||
|
- Build glib2, gobject and python stuff separately to break build
|
||||||
|
loop cups -> gtk2 -> avahi -> cups.
|
||||||
|
- Split avahi-python-gtk from avahi-python.
|
||||||
|
- Updated to version 0.6.23:
|
||||||
|
* A lot of translation updates
|
||||||
|
* Beef up bnvc quite a bit, including passing a domain to browse
|
||||||
|
in
|
||||||
|
* Increase numer of open files resource limit to 300 so that we
|
||||||
|
can deal with more clients simultaneously.
|
||||||
|
* Rework 'poof' algorithm a bit to reduce traffic load on noisy
|
||||||
|
links.
|
||||||
|
* Build fixes
|
||||||
|
* Minor other updates
|
||||||
|
* Backwards compatible with Avahi 0.6.x with x < 23.
|
||||||
|
* Wed Jul 16 2008 coolo@suse.de
|
||||||
|
- don't build cycle between avahi and cups
|
||||||
* Tue May 27 2008 coolo@suse.de
|
* Tue May 27 2008 coolo@suse.de
|
||||||
- fix baselibs config one more time
|
- fix baselibs config one more time
|
||||||
* Sat May 17 2008 coolo@suse.de
|
* Sat May 17 2008 coolo@suse.de
|
||||||
|
@ -49,6 +49,18 @@ sed '
|
|||||||
# Do not edit this auto generated file! Edit avahi.spec.
|
# Do not edit this auto generated file! Edit avahi.spec.
|
||||||
' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-mono.spec
|
' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-mono.spec
|
||||||
|
|
||||||
|
# Edit file to fit -glib2 build needs:
|
||||||
|
sed '
|
||||||
|
s/build_core\ 1/build_core 0/;
|
||||||
|
s/build_glib2\ 0/build_glib2 1/;
|
||||||
|
s/^.ame:.*/&-glib2/;
|
||||||
|
# No more needed.
|
||||||
|
#s/^..hangelog.*/& qt/;
|
||||||
|
/^# WARNING: After editing/,/^# to update spec files/d
|
||||||
|
/^%define[[:space:]]*_name/i \
|
||||||
|
# Do not edit this auto generated file! Edit avahi.spec.
|
||||||
|
' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-glib2.spec
|
||||||
|
|
||||||
# Edit file to fit -qt4 build needs:
|
# Edit file to fit -qt4 build needs:
|
||||||
sed '
|
sed '
|
||||||
s/build_core\ 1/build_core 0/;
|
s/build_core\ 1/build_core 0/;
|
||||||
@ -62,5 +74,6 @@ sed '
|
|||||||
' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-qt4.spec
|
' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-qt4.spec
|
||||||
|
|
||||||
# Not wanted for avahi:
|
# Not wanted for avahi:
|
||||||
|
#cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-glib2.changes
|
||||||
#cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-mono.changes
|
#cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-mono.changes
|
||||||
#cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-qt.changes
|
#cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-qt.changes
|
||||||
|
Loading…
Reference in New Issue
Block a user