]> git.pld-linux.org Git - packages/avahi.git/blobdiff - avahi.spec
- cosmetics, notes on missing/shared dirs
[packages/avahi.git] / avahi.spec
index 87983ca48ca1253aa0d2b9ecbfb9ff5168f05c1c..13a440105b340883d3f74a5263eac082e397b27d 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       Free mDNS/DNS-SD implementation
 Summary(pl):   Wolna implementacja mDNS/DNS-SD
 Name:          avahi
-Version:       0.6.5
-Release:       1
+Version:       0.6.7
+Release:       2
 License:       GPL v.2/LGPL
 Group:         Applications
 Source0:       http://avahi.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 1ecbc3534e3b45cf15269a3f4cfe1dca
+# Source0-md5: 4cfb24b5c9063180f9eee2ef30beac53
 Source1:       %{name}-daemon
 Source2:       %{name}-dnsconfd
 Source3:       %{name}.png
@@ -35,7 +35,7 @@ BuildRequires:        monodoc
 %endif
 BuildRequires: python-dbus
 BuildRequires: python-pygtk-devel
-BuildRequires: qt-devel
+BuildRequires: qt-devel >= 3.0
 BuildRequires: rpmbuild(macros) >= 1.228
 Requires(post,preun):  /sbin/chkconfig
 Requires:      dbus >= 0.60-2
@@ -112,19 +112,60 @@ Requires: %{name}-compat-libdns_sd = %{version}-%{release}
 Header files for Avahi Bonjour compat library.
 
 %description compat-libdns_sd-devel -l pl
-Pliki nag³ówkowe wi±zañ Avahi dla biblioteki zgodnej z Bonjour
+Pliki nag³ówkowe wi±zañ Avahi dla biblioteki zgodnej z Bonjour.
 
 %package compat-libdns_sd-static
 Summary:       Static Avahi Bonjour compat library
-Summary(pl):   Statyczna biblioteka Avahi zgodna Bonjour
+Summary(pl):   Statyczna biblioteka Avahi zgodna Bonjour
 Group:         Development/Libraries
 Requires:      %{name}-libdns_sd-devel = %{version}-%{release}
 
 %description compat-libdns_sd-static
-Static Avahi Bonjour compat library
+Static Avahi Bonjour compat library.
 
 %description compat-libdns_sd-static -l pl
-Statyczna biblioteka Avahi zgodna Bonjour
+Statyczna biblioteka Avahi zgodna z Bonjour.
+
+%package compat-howl
+Summary:       Avahi Howl compat library
+Summary(pl):   Biblioteka Avahi zgodna z Howl
+Group:         Libraries
+Provides:      mdns-howl-libs
+Obsoletes:     howl-libs
+
+%description compat-howl
+Avahi Howl compat library.
+
+%description compat-howl -l pl
+Biblioteka Avahi zgodna z Howl.
+
+%package compat-howl-devel
+Summary:       Header files for Avahi Howl compat library
+Summary(pl):   Pliki nag³ówkowe wi±zañ Avahi dla biblioteki zgodnej z Howl
+Group:         Development/Libraries
+Requires:      %{name}-compat-howl = %{version}-%{release}
+Provides:      mdns-howl-devel
+Obsoletes:     howl-devel
+
+%description compat-howl-devel
+Header files for Avahi Howl compat library.
+
+%description compat-howl-devel -l pl
+Pliki nag³ówkowe wi±zañ Avahi dla biblioteki zgodnej z Howl.
+
+%package compat-howl-static
+Summary:       Static Avahi Howl compat library
+Summary(pl):   Statyczna biblioteka Avahi zgodna z Howl
+Group:         Development/Libraries
+Requires:      %{name}-howl-devel = %{version}-%{release}
+Provides:      mdns-howl-static
+Obsoletes:     howl-static
+
+%description compat-howl-static
+Static Avahi Howl compat library.
+
+%description compat-howl-static -l pl
+Statyczna biblioteka Avahi zgodna z Howl.
 
 %package glib
 Summary:       Avahi GLib library bindings
@@ -182,7 +223,7 @@ Summary(pl):        Pliki nag
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-qt3 = %{version}-%{release}
-Requires:      qt-devel
+Requires:      qt-devel >= 3.0
 
 %description qt3-devel
 Header files for Avahi Qt 3 library bindings.
@@ -234,12 +275,12 @@ Group:            Applications
 %description bookmarks
 A Python based miniature web server that browses for mDNS/DNS-SD
 services of type '_http._tcp' (i.e. web sites) and makes them
-available as HTML links on http://localhost:8080.
+available as HTML links on http://localhost:8080/.
 
 %description bookmarks -l pl
-Napisany w Pythonie miniaturowy serwer web, pozwalaj±cy na
-przegl±danie us³ug typu '_http._tcp' (np. stron web) i udostêpniaj±cy
-je jako linki HTML na http://localhost:8080.
+Napisany w Pythonie miniaturowy serwer WWW, pozwalaj±cy na
+przegl±danie us³ug typu '_http._tcp' (np. stron WWW) i udostêpniaj±cy
+je jako odno¶niki HTML na http://localhost:8080/.
 
 %package discover
 Summary:       Avahi Zeroconf browser
@@ -290,6 +331,7 @@ Narz
 %{__automake}
 %configure \
        --enable-compat-libdns_sd \
+       --enable-compat-howl \
        --with-distro=none \
        --disable-qt4 \
        %{!?with_dotnet:--disable-mono} \
@@ -307,6 +349,12 @@ install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
 
+ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
+       $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
+
+ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
+       $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
+
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/{__init__,SimpleGladeApp}.py
 
 %clean
@@ -342,6 +390,9 @@ fi
 %post  compat-libdns_sd -p /sbin/ldconfig
 %postun        compat-libdns_sd -p /sbin/ldconfig
 
+%post  compat-howl -p /sbin/ldconfig
+%postun        compat-howl -p /sbin/ldconfig
+
 %post  glib -p /sbin/ldconfig
 %postun        glib -p /sbin/ldconfig
 
@@ -356,6 +407,7 @@ fi
 %dir %{_sysconfdir}/avahi/services
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/*
 
@@ -367,7 +419,6 @@ fi
 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
 
 %dir %{_datadir}/%{name}
-%dir
 %dir %{_datadir}/%{name}/introspection
 %{_datadir}/%{name}/introspection/*.introspect
 %{_datadir}/%{name}/avahi-service.dtd
@@ -415,12 +466,29 @@ fi
 %attr(755,root,root) %{_libdir}/libdns_sd.so
 %{_libdir}/libdns_sd.la
 %{_includedir}/avahi-compat-libdns_sd
+%{_includedir}/dns_sd.h
 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
 
 %files compat-libdns_sd-static
 %defattr(644,root,root,755)
 %{_libdir}/libdns_sd.a
 
+%files compat-howl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
+
+%files compat-howl-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libhowl.so
+%{_libdir}/libhowl.la
+%{_includedir}/avahi-compat-howl
+%{_pkgconfigdir}/avahi-compat-howl.pc
+%{_pkgconfigdir}/howl.pc
+
+%files compat-howl-static
+%defattr(644,root,root,755)
+%{_libdir}/libhowl.a
+
 %if %{with dotnet}
 %files -n dotnet-avahi
 %defattr(644,root,root,755)
@@ -469,6 +537,8 @@ fi
 %files discover
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/avahi-discover
+# XXX: possibly missing %{_datadir}/%{name} dir, shared subdir
+%dir %{_datadir}/%{name}/interfaces
 %{_datadir}/%{name}/interfaces/avahi-discover.glade
 %{py_sitedir}/avahi
 %{_desktopdir}/*.desktop
@@ -477,6 +547,8 @@ fi
 %files discover-standalone
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
+# XXX: possibly missing %{_datadir}/%{name} dir, shared subdir
+%dir %{_datadir}/%{name}/interfaces
 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
 
 %files utils
This page took 0.079603 seconds and 4 git commands to generate.