From: Bartłomiej Zimoń Date: Thu, 1 Dec 2011 00:21:56 +0000 (+0000) Subject: - rel 3; systemd subpackage and dbus service file added X-Git-Tag: auto/th/avahi-0_6_30-3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=8e30f75af273ca2a94c94b54512b3829239f5ea6;hp=0605e631a0758759e966d7bd8f3f0d2c1bbbe530;p=packages%2Favahi.git - rel 3; systemd subpackage and dbus service file added Changed files: avahi.spec -> 1.135 --- diff --git a/avahi.spec b/avahi.spec index af52e5e..006fd79 100644 --- a/avahi.spec +++ b/avahi.spec @@ -32,7 +32,7 @@ Summary: Free mDNS/DNS-SD/Zeroconf implementation Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf Name: avahi Version: 0.6.30 -Release: 2 +Release: 3 License: LGPL v2.1+ Group: Applications Source0: http://avahi.org/download/%{name}-%{version}.tar.gz @@ -126,6 +126,14 @@ Upstart jobs description for Avahi daemons. %description upstart -l pl.UTF-8 Opis zadań Upstart dla demonów Avahi. +%package systemd +Summary: systemd units for avahi +Group: Base +Requires: %{name} = %{version}-%{release} + +%description systemd +systemd units for avahi. + %package autoipd Summary: IPv4LL network address configuration daemon Summary(pl.UTF-8): Demon configurujący adresy IPv4LL @@ -668,6 +676,7 @@ Narzędzia linii poleceń korzystające z avahi-client. %{!?with_qt4:--disable-qt4} \ %{!?with_dotnet:--disable-mono} \ %{!?with_dotnet:--disable-monodoc} \ + --with-systemdsystemunitdir=/lib/systemd/system \ --with-avahi-priv-access-group=adm \ --with-autoipd-user=avahi \ --with-autoipd-group=avahi @@ -807,6 +816,7 @@ fi %{_datadir}/%{name}/avahi-service.dtd %{_datadir}/%{name}/service-types %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml +%{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service %{_mandir}/man1/avahi-set-host-name.1* %{_mandir}/man5/avahi-daemon.conf.5* @@ -825,6 +835,12 @@ fi %config(noreplace) %verify(not md5 mtime size) /etc/init/*.conf %endif +%files systemd +%defattr(644,root,root,755) +%config(noreplace) %verify(not md5 mtime size) /lib/systemd/system/avahi-daemon.service +%config(noreplace) %verify(not md5 mtime size) /lib/systemd/system/avahi-daemon.socket +%config(noreplace) %verify(not md5 mtime size) /lib/systemd/system/avahi-dnsconfd.service + %files autoipd %defattr(644,root,root,755) %dir %{_sysconfdir}/avahi