From a5ac68109be8fc6f0ad582bae9223ae88fc43d2b Mon Sep 17 00:00:00 2001 From: jvdias Date: Tue, 22 Nov 2005 18:20:55 +0000 Subject: [PATCH] fix include directory permissions --- avahi.spec | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/avahi.spec b/avahi.spec index 548d8fa..7f128a3 100644 --- a/avahi.spec +++ b/avahi.spec @@ -38,6 +38,7 @@ Tools that use avahi to browse and publish mDNS services and hosts. Summary: Glib libraries for avahi Group: System Environment/Base Requires: %{name} = %{version} +Requires: glib2 %description glib Libraries for easy use of avahi from glib applications. @@ -45,8 +46,8 @@ Libraries for easy use of avahi from glib applications. %package glib-devel Summary: Libraries and header files for avahi glib development Group: Development/Libraries -Requires: %{name}-glib = %{version} Requires: %{name}-devel = %{version} +Requires: %{name}-glib = %{version} Requires: glib2-devel %description glib-devel @@ -57,8 +58,7 @@ necessary for developing programs using avahi with glib. Summary: Qt3 libraries for avahi Group: System Environment/Base Requires: %{name} = %{version} -Requires: %{name}-devel = %{version} -Requires: qt-devel +Requires: qt %description qt3 Libraries for easy use of avahi from Qt3 applications. @@ -67,6 +67,8 @@ Libraries for easy use of avahi from Qt3 applications. Summary: Libraries and header files for avahi Qt3 development Group: Development/Libraries Requires: %{name}-devel = %{version} +Requires: %{name}-qt3 = %{version} +Requires: qt-devel %description qt3-devel The avahi-devel package contains the header files and libraries @@ -191,10 +193,14 @@ fi %attr(755,root,root) %{_libdir}/libavahi-core.so %attr(755,root,root) %{_libdir}/libavahi-client.so %attr(755,root,root) %{_libdir}/libavahi-compat-howl.so -%{_includedir}/avahi-client/ -%{_includedir}/avahi-common/ -%{_includedir}/avahi-core/ -%{_includedir}/avahi-compat-howl/ +%attr(755,root,root) %dir %{_includedir}/avahi-client/ +%{_includedir}/avahi-client/* +%attr(755,root,root) %dir %{_includedir}/avahi-common/ +%{_includedir}/avahi-common/* +%attr(755,root,root) %dir %{_includedir}/avahi-core/ +%{_includedir}/avahi-core/* +%attr(755,root,root) %dir %{_includedir}/avahi-compat-howl/ +%{_includedir}/avahi-compat-howl/* %{_libdir}/pkgconfig/avahi-core.pc %{_libdir}/pkgconfig/avahi-client.pc %{_libdir}/pkgconfig/avahi-compat-howl.pc @@ -203,12 +209,13 @@ fi %files glib %defattr(-, root, root, 0755) %{_libdir}/libavahi-glib.so.* -%{_libdir}/pkgconfig/avahi-glib.pc %files glib-devel %defattr(-, root, root, 0644) %attr(755,root,root) %{_libdir}/libavahi-glib.so -%{_includedir}/avahi-glib +%attr(755,root,root) %dir %{_includedir}/avahi-glib +%{_includedir}/avahi-glib/* +%{_libdir}/pkgconfig/avahi-glib.pc %files qt3 %defattr(-, root, root, 0755) @@ -218,7 +225,8 @@ fi %files qt3-devel %defattr(-, root, root, 0644) %attr(755,root,root) %{_libdir}/libavahi-qt3.so -%{_includedir}/avahi-qt3 +%attr(755,root,root) %dir %{_includedir}/avahi-qt3 +%{_includedir}/avahi-qt3/* %changelog * Mon Nov 21 2005 Jason Vas Dias - 0.6-1