diff --git a/avahi.spec b/avahi.spec index b32c5c2..333d69c 100644 --- a/avahi.spec +++ b/avahi.spec @@ -6,7 +6,7 @@ %endif Name: avahi Version: 0.6.25 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Local network service discovery Group: System Environment/Base License: LGPLv2 @@ -198,10 +198,19 @@ The avahi-sharp-ui-devel package contains the files needed to develop Mono programs that use avahi-ui. %endif +%package libs +Summary: Libraries for avahi run-time use +Group: System Environment/Libraries +Requires: pkgconfig + +%description libs +The avahi-libs package contains the libraries needed +to run programs that use avahi. + %package devel Summary: Libraries and header files for avahi development Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} Requires: pkgconfig %description devel @@ -428,9 +437,6 @@ fi %config(noreplace) %{_sysconfdir}/avahi/services/ssh.service %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf %attr(0755,root,root) %{_sbindir}/avahi-daemon -%attr(0755,root,root) %{_libdir}/libavahi-common.so.* -%attr(0755,root,root) %{_libdir}/libavahi-core.so.* -%attr(0755,root,root) %{_libdir}/libavahi-client.so.* %{_datadir}/avahi %{_libdir}/avahi %exclude %{_datadir}/avahi/interfaces @@ -482,6 +488,12 @@ fi %{_libdir}/pkgconfig/avahi-core.pc %{_libdir}/pkgconfig/avahi-client.pc +%files libs +%defattr(0644, root, root, 0755) +%attr(0755,root,root) %{_libdir}/libavahi-common.so.* +%attr(0755,root,root) %{_libdir}/libavahi-core.so.* +%attr(0755,root,root) %{_libdir}/libavahi-client.so.* + %files glib %defattr(0755, root, root, 0755) %{_libdir}/libavahi-glib.so.* @@ -577,6 +589,9 @@ fi %endif %changelog +* Mon Apr 19 2010 Bastien Nocera 0.6.25-7 +- Split avahi libraries in -libs + * Mon Jan 25 2010 Lennart Poettering - 0.6.25-6 - Move avahi-discover from avahi-tools to avahi-ui-tools - https://bugzilla.redhat.com/show_bug.cgi?id=513768