Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
backup
>
avahi-0.6
> avahi.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File avahi.spec of Package avahi-0.6
# # spec file for package avahi # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define py_requires %{nil} Name: avahi %define _name avahi %define build_core 1 Version: 0.6.32 Release: 0 #%define avahi_client_soname 3 #%define avahi_common_soname 3 # If avahi_core_soname changes, make sure to update avahi-gir-fixup.patch #%define avahi_core_soname 7 #%define avahi_ui_soname 0 #%define avahi_glib_soname 1 #%define avahi_gobject_soname 0 #%define avahi_gtk3_soname 0 #%define avahi_qt3_soname 1 #%define avahi_qt4_soname 1 Url: http://www.avahi.org/ Summary: D-BUS Service for Zeroconf and Bonjour License: LGPL-2.1+ Group: System/Daemons Source: http://avahi.org/download/%{_name}-%{version}.tar.gz # From http://packages.debian.org/sid/avahi-daemon http://ftp.debian.org/debian/pool/main/a/avahi/avahi_0.6.31-1.debian.tar.gz #Source1: avahi-daemon-check-dns.sh #Source2: avahi-bookmarks.init #Source3: avahi.firewall # Copy of glib-2.0.m4 from glib2-devel to not depend on glib2-devel. Source4: avahi-glib-gettext.m4 #Source5: avahi.sysconfig #Source6: avahi-autoipd.sysconfig # From http://packages.debian.org/sid/avahi-daemon http://ftp.debian.org/debian/pool/main/a/avahi/avahi_0.6.31-1.debian.tar.gz #Source7: avahi-daemon.if-up #Source8: %{_name}_spec-prepare.sh #Source9: avahi-autoipd.README.SUSE #Source10: avahi-autoipd.if-up #Source11: avahi-autoipd.if-down #Source100: attributes #Source101: update_spec.pl #Source102: baselibs.conf # PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse #Patch0: avahi-gacdir.patch # PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 Avahi#365 -- sbrabec@suse.cz #Patch1: avahi-desktop.patch # PATCH-FIX-UPSTREAM avahi-empty-share-dir.patch jpr@novell.com -- mailed maintainer #Patch3: avahi-empty-share-dir.patch # PATCH-FEATURE-OPENSUSE avahi-daemon-check-dns-suse.patch bnc431704 sbrabec@suse.cz -- Port Debian avahi-daemon-check-dns.sh to SUSE, see also http://avahi.org/wiki/AvahiAndUnicastDotLocal #Patch4: avahi-daemon-check-dns-suse.patch # PATCH-FIX-OPENSUSE avahi-unicastdomains.patch bnc433359 lnussel@suse.de -- disable pre-set unicast domains by default #Patch10: avahi-unicastdomains.patch # PATCH-FIX-UPSTREAM avahi-gtk_box_new.patch dimstar@opensuse.org -- Do not use deprecated gtk_[hv]box_new, http://www.avahi.org/ticket/342 #Patch11: avahi-gtk_box_new.patch # PATCH-FIX-UPSTREAM avahi-gir-fixup.patch dimstar@opensnse.org -- Use complete shared library name in gir file for dependency #Patch12: avahi-gir-fixup.patch # PATCH-FIX-UPSTREAM avahi-fix-mkdir.diff coolo@suse.de -- Avoid obsolete automake macros #Patch13: avahi-fix-mkdir.diff # PATCH-FIX-OPENSUSE avahi-enable-ipv6.patch bnc#710230 vuntz@opensuse.org -- Enable ipv6 by default #Patch14: avahi-enable-ipv6.patch # PATCH-FIX-OPENSUSE avahi-move-everything-to-run.patch rmilasan@suse.com -- Move everything to /run directory (socket and pid files) #Patch15: avahi-move-everything-to-run.patch # PATCH-FIX-OPENSUSE avahi-reserve-space-for-record-data-when-size-e.patch bnc#835984 jlee@suse.com -- avahi-core: reserve space for record data when size estimate #Patch16: avahi-reserve-space-for-record-data-when-size-e.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dbus-python BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gdbm-devel BuildRequires: intltool BuildRequires: libdaemon-devel BuildRequires: expat-devel BuildRequires: pkgconfig #BuildRequires: translation-update-upstream # Even if we are not building python bindings, we need python to build service types database: BuildRequires: python-devel #BuildRequires: python-gdbm # libtool is needed to build all variants: bootstrap is unconditional in the build section BuildRequires: libtool %if %build_core Requires(pre,preun): shadow-utils #Requires(pre,preun): sysconfig %{?systemd_requires} # Recommends: %{_name}-lang BuildRequires: dbus-devel BuildRequires: doxygen #BuildRequires: graphviz #BuildRequires: python-gdbm BuildRequires: zlib-devel BuildRequires: pkgconfig(systemd) # For python bindings and utilities: #BuildRequires: dbus-1-python #Requires: dbus-1 Requires: nss-mdns # bug437293 # # mDNSResponder was used for <= 10.2: Provides: mDNSResponder = 107.5 Obsoletes: mDNSResponder < 107.5 # File conflict for service-types.db openSUSE <= 12.3 SLE <= 11SP2 Conflicts: avahi-utils <= 0.6.32 %endif %description 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. %if %build_core %package -n libavahi-client3 Summary: D-BUS Service for Zeroconf and Bonjour Group: System/Libraries %description -n libavahi-client3 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. %package -n libavahi-common3 Summary: D-BUS Service for Zeroconf and Bonjour Group: System/Libraries %description -n libavahi-common3 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. %package -n libavahi-core7 Summary: D-BUS Service for Zeroconf and Bonjour Group: System/Libraries %description -n libavahi-core7 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. %package -n libdns_sd 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 # bug437293 # # 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 across LAN segments. %package -n libhowl0 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 across LAN segments. %package -n python-avahi Summary: A set of Avahi utilities written in Python Group: Development/Languages/Python Requires(pre,preun): coreutils Requires: %{name} = %{version} Requires: dbus-1-python Requires: python-gdbm Requires: python-twisted Requires: python-twisted-web # 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. %package utils Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour Group: Productivity/Networking/Other Requires: %{_name} >= %{version} %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. %package -n libavahi-devel Summary: Include Files and Libraries Mandatory for Development Group: Development/Libraries/C and C++ # Requires: %{_name} = %{version} Requires: dbus-devel Requires: glibc-devel Requires: libavahi-client3 = %{version} Requires: libavahi-common3 = %{version} Requires: libavahi-core7 = %{version} # 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 across LAN segments. %package compat-mDNSResponder-devel Summary: mDNSResponder Compatibility Package for D-BUS Service for Zeroconf/Bonjour Group: Development/Libraries/C and C++ Requires: libavahi-devel = %{version} Requires: libdns_sd = %{version} 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 across LAN segments. %package compat-howl-devel Summary: Howl Compatibility Package for D-BUS Service for Zeroconf/Bonjour Group: Development/Libraries/C and C++ Requires: libavahi-devel = %{version} Requires: libhowl0 = %{version} %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 across LAN segments. %endif %if %build_core %lang_package %endif %prep %setup -q -n %{_name}-%{version} #cp -a %{S:1} %{S:7} . #cp -a %{S:5} sysconfig.avahi #sed "s:@docdir@:%{_docdir}:g" <%{S:6} >sysconfig.avahi-autoipd #cp -a %{S:9} avahi-autoipd/README.SUSE #sed "s:@sbindir@:%{_sbindir}:g" <%{S:10} >avahi-autoipd/avahi-autoipd.if-up #sed "s:@sbindir@:%{_sbindir}:g" <%{S:11} >avahi-autoipd/avahi-autoipd.if-down # translation-update-upstream #%patch0 #%patch1 -p1 #%patch3 #%patch4 #%patch10 -p1 #%patch11 -p1 #%patch12 -p1 #%patch13 -p1 #%patch14 -p1 #%patch15 -p1 #%patch16 -p1 if ! test -f %{_datadir}/aclocal/glib-gettext.m4 ; then cat %{S:4} >>acinclude.m4 fi # FIXME: We do not have xmltoman, use original doc, just fix paths. sed -i s:/home/lennart/tmp/avahi:: man/*.[0-9] sed -i "s:-DGTK_DISABLE_DEPRECATED=1::" avahi-ui/Makefile.am %build autoreconf -f -i intltoolize -f %configure\ --libexecdir=%{_prefix}/lib\ --disable-static\ --with-distro=none\ --disable-pygobject\ --enable-compat-libdns_sd\ --enable-compat-howl\ --disable-glib\ --disable-gobject\ --disable-gtk\ --disable-gtk3\ --disable-pygtk\ --disable-qt3\ --disable-qt4\ --disable-mono\ --with-avahi-priv-access-group=avahi\ --disable-autoipd make %{?_smp_mflags} %install make DESTDIR=%{?buildroot:%{buildroot}} install %if !%build_core cd .. make %{?_smp_mflags} install-pkgconfigDATA DESTDIR=$RPM_BUILD_ROOT %endif %if %build_core # do not remove this unless you plan to fix _all_ the references to # it. all (multiple) previous attempts have failed already #rm $RPM_BUILD_ROOT%{_libdir}/libavahi-common.la ##install -d $RPM_BUILD_ROOT%{_localstatedir}/run/avahi-daemon ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT%{_includedir}/ ln -s avahi-compat-howl.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/howl.pc install -d $RPM_BUILD_ROOT%{_prefix}/lib/avahi #install avahi-daemon-check-dns.sh $RPM_BUILD_ROOT%{_prefix}/lib/avahi/ install -d $RPM_BUILD_ROOT%{_datadir}/avahi/interfaces # Work-around qt4 bug: # https://bugzilla.novell.com/show_bug.cgi?id=238169 ## mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services ## 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-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd ## install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi ## ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps ## install -d $RPM_BUILD_ROOT/var/adm/fillup-templates ## install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/ %find_lang %{name} %{?no_lang_C} %endif %fdupes $RPM_BUILD_ROOT%{_libdir} %if %build_core %pre %{_sbindir}/groupadd -r avahi 2> /dev/null || : %{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d /run/avahi-daemon -g avahi avahi 2> /dev/null || : ## %service_add_pre avahi-dnsconfd.service avahi-daemon.service \ %post # %{fillup_only -n avahi} # %{fillup_only -ns security checksig} # %{fillup_and_insserv -f -y avahi-daemon} # %{fillup_and_insserv -f avahi-dnsconfd} # %service_add_post avahi-dnsconfd.service avahi-daemon.service systemctl daemon-reload # >/dev/null 2>&1 #if [ "$1" -eq 1 ]; then # systemctl preset avahi-dnsconfd.service avahi-daemon.service # systemctl start avahi-dnsconfd.service avahi-daemon.service # >/dev/null 2>&1 #fi %preun ## %{stop_on_removal avahi-daemon} ## %{stop_on_removal avahi-dnsconfd} ## %service_del_preun avahi-dnsconfd.service avahi-daemon.service if [ "$1" -eq 0 ]; then systemctl stop avahi-dnsconfd.service avahi-daemon.service >/dev/null 2>&1 fi %postun ##%{restart_on_update avahi-daemon} ##%{restart_on_update avahi-dnsconfd} ##%insserv_cleanup ##%service_del_postun avahi-dnsconfd.service avahi-daemon.service systemctl daemon-reload >/dev/null 2>&1 %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-core7 -p /sbin/ldconfig %postun -n libavahi-core7 -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 # For update from == 10.3: # Restart will not happen due to package rename. Handle it. if test etc/init.d/avahi-bookmarks -a "$1" = 1 ; then touch var/adm/python_avahi_needs_restart fi %post -n python-avahi # For update from == 10.3: # Restart will not happen due to package rename. Handle it. if test -f var/adm/python_avahi_needs_restart ; then rm var/adm/python_avahi_needs_restart test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then /etc/init.d/avahi-bookmarks try-restart > /dev/null || : fi fi %preun -n python-avahi # FIXME: Package was renamed, check for this case! %{stop_on_removal avahi-bookmarks} %insserv_cleanup %postun -n python-avahi %{restart_on_update avahi-bookmarks} %insserv_cleanup %endif %if %build_core %files %defattr(-,root,root) %doc LICENSE docs/* %dir %{_libdir}/avahi/ # Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils: %{_libdir}/avahi/service-types.db # avahi creates the directory itself, we do not package it # since it might be on tmpfs ## %attr(-,avahi,avahi-) %ghost /run/avahi-daemon %exclude %doc %{_mandir}/man5/*.5* %exclude %doc %{_mandir}/man8/*.8* %{_sbindir}/avahi-* ## %{_sbindir}/rcavahi-daemon ## %{_sbindir}/rcavahi-dnsconfd ## %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/* %dir %{_sysconfdir}/avahi %config %{_sysconfdir}/avahi/avahi-daemon.conf %{_sysconfdir}/avahi/avahi-dnsconfd.action %dir %{_sysconfdir}/avahi/services %{_sysconfdir}/avahi/services/*.service %config(noreplace) %{_sysconfdir}/avahi/hosts %{_sysconfdir}/dbus-1/system.d/*.conf ## %{_sysconfdir}/init.d/avahi-dnsconfd ## %{_sysconfdir}/init.d/avahi-daemon %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml %{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service %dir %{_prefix}/lib/avahi #%exclude %{_prefix}/lib/avahi/avahi-daemon-check-dns.sh %{_unitdir}/avahi-daemon.service %{_unitdir}/avahi-daemon.socket %{_unitdir}/avahi-dnsconfd.service # Common file for avahi-utils-gtk and python-avahi-gtk: %dir %{_datadir}/avahi/ %{_datadir}/avahi/interfaces ## /var/adm/fillup-templates/sysconfig.avahi %if 0 %files lang -f %{name}.lang %defattr(-,root,root) %endif %files -n libavahi-client3 %defattr(-,root,root) %{_libdir}/libavahi-client*.so.* %files -n libavahi-common3 %defattr(-,root,root) %{_libdir}/libavahi-common*.so.* %files -n libavahi-core7 %defattr(-,root,root) %{_libdir}/libavahi-core*.so.* %files -n libdns_sd %defattr(-,root,root) # libdns_sd.so must be in non-devel package to provide mDNSResponder-lib compatibility: %{_libdir}/libdns_sd.so %{_libdir}/libdns_sd.so.* %files -n libhowl0 %defattr(-,root,root) %{_libdir}/libhowl.so.* %files -n python-avahi %defattr(-,root,root) %{_bindir}/avahi-bookmarks %exclude %doc %{_mandir}/man1/avahi-bookmarks.1* ## %{_sbindir}/rcavahi-bookmarks ## %{_sysconfdir}/init.d/avahi-bookmarks %dir %{python_sitelib}/avahi %{python_sitelib}/avahi/__init__.py* %{python_sitelib}/avahi/ServiceTypeDatabase.py* %files utils %defattr(-,root,root) %{_bindir}/avahi-browse* %{_bindir}/avahi-publish* %{_bindir}/avahi-resolve* %{_bindir}/avahi-set-host-name %dir %{_datadir}/avahi/ %{_datadir}/avahi/avahi-service.dtd %{_datadir}/avahi/service-types %doc %{_mandir}/man1/avahi-browse*.1* %doc %{_mandir}/man1/avahi-publish*.1* %doc %{_mandir}/man1/avahi-resolve*.1* %doc %{_mandir}/man1/avahi-set-host-name.1* %files -n libavahi-devel %defattr(-,root,root) # FIXME: Maybe split to particular subpackages. #%doc doc/api/html #%doc doc/*.html doc/*.txt doc/file-boilerplate.c doc/TODO %{_includedir}/avahi-client %{_includedir}/avahi-common %{_includedir}/avahi-core # avahi devel files %{_libdir}/libavahi-client.*a %{_libdir}/libavahi-client*.so %{_libdir}/libavahi-core.*a %{_libdir}/libavahi-core*.so %{_libdir}/libavahi-common*.so # do not remove unless you fix the resulting problems # reference is in libavahi-client.la %{_libdir}/libavahi-common*.*a %{_libdir}/pkgconfig/avahi-client.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 %changelog