!34 拆分autopid,gobject-devel 子包
From: @kerongw Reviewed-by: @shirely16,@yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
2ef5b56d23
43
avahi.spec
43
avahi.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: avahi
|
||||
Version: 0.8
|
||||
Release: 10
|
||||
Release: 11
|
||||
Summary: Avahi is a local network service discovery
|
||||
License: LGPLv2+
|
||||
URL: http://avahi.org
|
||||
@ -85,6 +85,18 @@ Requires: gtk2
|
||||
%description ui
|
||||
This package contains a Gtk 2.x widget for browsing services.
|
||||
|
||||
%package autoipd
|
||||
Summary: Link-local IPv4 address automatic configuration daemon (IPv4LL)
|
||||
Requires(pre): shadow-utils
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description autoipd
|
||||
avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4
|
||||
Link-Local Addresses" (IETF RFC3927), a protocol for automatic IP address
|
||||
configuration from the link-local 169.254.0.0/16 range without the need for a
|
||||
central server. It is primarily intended to be used in ad-hoc networks which
|
||||
lack a DHCP server.
|
||||
|
||||
%package dnsconfd
|
||||
Summary: This is useful for configuring unicast DNS servers in a DHCP-like fashion with mDNS
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@ -175,6 +187,16 @@ Requires: %{name}-glib = %{version}-%{release}
|
||||
%description gobject
|
||||
This library contains a GObject wrapper for the Avahi API
|
||||
|
||||
%package gobject-devel
|
||||
Summary: Libraries and header files for Avahi GObject development
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-gobject%{?_isa} = %{version}-%{release}
|
||||
#Requires: %{name}-glib-devel = %{version}-%{release}
|
||||
|
||||
%description gobject-devel
|
||||
The avahi-gobject-devel package contains the header files and libraries
|
||||
necessary for developing programs using avahi-gobject.
|
||||
|
||||
%package ui-gtk3
|
||||
Summary: Gtk user interface library for Avahi (Gtk+ 3 version)
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
@ -375,7 +397,6 @@ fi
|
||||
%license LICENSE
|
||||
|
||||
%{_sbindir}/avahi-daemon
|
||||
%{_sbindir}/avahi-autoipd
|
||||
%dir %{_libdir}/avahi
|
||||
%if %{WITH_PYTHON}
|
||||
%{_libdir}/avahi/service-types.db
|
||||
@ -393,7 +414,6 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/avahi/hosts
|
||||
%config(noreplace) %{_sysconfdir}/avahi/avahi-daemon.conf
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
|
||||
%config(noreplace) %{_sysconfdir}/avahi/avahi-autoipd.action
|
||||
|
||||
%dir %{_sysconfdir}/avahi/services
|
||||
%ghost %dir %{_localstatedir}/run/avahi-daemon
|
||||
@ -408,6 +428,11 @@ fi
|
||||
%exclude %{_sysconfdir}/avahi/services/ssh.service
|
||||
%exclude %{_sysconfdir}/avahi/services/sftp-ssh.service
|
||||
|
||||
%files autoipd
|
||||
%{_sbindir}/avahi-autoipd
|
||||
%config(noreplace) %{_sysconfdir}/avahi/avahi-autoipd.action
|
||||
%attr(1770,avahi-autoipd,avahi-autoipd) %dir %{_localstatedir}/lib/avahi-autoipd/
|
||||
|
||||
%files libs
|
||||
%doc README
|
||||
%license LICENSE
|
||||
@ -421,6 +446,11 @@ fi
|
||||
%files gobject
|
||||
%{_libdir}/libavahi-gobject.so.*
|
||||
|
||||
%files gobject-devel
|
||||
%{_libdir}/libavahi-gobject.so
|
||||
%{_includedir}/avahi-gobject
|
||||
%{_libdir}/pkgconfig/avahi-gobject.pc
|
||||
|
||||
%files ui-gtk3
|
||||
%{_libdir}/libavahi-ui-gtk3.so.*
|
||||
|
||||
@ -436,9 +466,7 @@ fi
|
||||
%{_libdir}/libavahi-core.so
|
||||
%{_libdir}/libavahi-client.so
|
||||
%{_libdir}/libavahi-glib.so
|
||||
%{_libdir}/libavahi-gobject.so
|
||||
%{_libdir}/libavahi-libevent.so
|
||||
%{_libdir}/pkgconfig/avahi-gobject.pc
|
||||
%{_libdir}/pkgconfig/avahi-glib.pc
|
||||
%{_libdir}/pkgconfig/avahi-core.pc
|
||||
%{_libdir}/pkgconfig/avahi-client.pc
|
||||
@ -522,6 +550,9 @@ fi
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 30 2021 wangkerong <wangkerong@huawei.com> - 0.8-11
|
||||
- Add autoipd,gobject-devel subpackages
|
||||
|
||||
* Wed Jul 14 2021 liuyuemng <liuyumeng5@huawei.com> - 0.8-10
|
||||
- Type:CVE
|
||||
- ID:CVE-2021-36217
|
||||
@ -595,4 +626,4 @@ fi
|
||||
- DESC:Solve the problem of compilation failures
|
||||
|
||||
* Mon Sep 23 2019 hufeng <solar.hu@huawei.com> - 0.7-17
|
||||
-Create spec
|
||||
- Create spec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user