]> git.pld-linux.org Git - packages/avahi.git/blobdiff - avahi.spec
- enable dotnet by default, rel.2
[packages/avahi.git] / avahi.spec
index cdc72148f2d3fa01cf79bab663ef09ee1efc5ef0..b47a1a916a9c3e4f4bc78c1aca6f972230dc457e 100644 (file)
@@ -1,16 +1,20 @@
+# $Revision: 1.25 $, x$Date: 2006-03-19 18:41:47 $
 #
 # Conditional build:
-%bcond_with    dotnet          # build with dotnet bindings
+%bcond_without dotnet          # build with dotnet bindings
+%bcond_without qt              # build with qt bindings
+#
+%include /usr/lib/rpm/macros.mono
 #
 Summary:       Free mDNS/DNS-SD implementation
 Summary(pl):   Wolna implementacja mDNS/DNS-SD
 Name:          avahi
-Version:       0.6.7
+Version:       0.6.9
 Release:       2
 License:       GPL v.2/LGPL
 Group:         Applications
 Source0:       http://avahi.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 4cfb24b5c9063180f9eee2ef30beac53
+# Source0-md5: 2652910f0e52c373d7a15b6851750517
 Source1:       %{name}-daemon
 Source2:       %{name}-dnsconfd
 Source3:       %{name}.png
@@ -35,7 +39,9 @@ BuildRequires:        monodoc
 %endif
 BuildRequires: python-dbus
 BuildRequires: python-pygtk-devel
-BuildRequires: qt-devel
+%if %{with qt}
+BuildRequires: qt-devel >= 3.0
+%endif
 BuildRequires: rpmbuild(macros) >= 1.228
 Requires(post,preun):  /sbin/chkconfig
 Requires:      dbus >= 0.60-2
@@ -95,6 +101,8 @@ Statyczna biblioteka Avahi.
 Summary:       Avahi Bonjour compat library
 Summary(pl):   Biblioteka Avahi zgodna z Bonjour
 Group:         Libraries
+Provides:      mdns-bonjour
+Obsoletes:     mDNSResponder-libs
 
 %description compat-libdns_sd
 Avahi Bonjour compat library.
@@ -107,6 +115,8 @@ Summary:    Header files for Avahi Bonjour compat library
 Summary(pl):   Pliki nag³ówkowe wi±zañ Avahi dla biblioteki zgodnej z Bonjour
 Group:         Development/Libraries
 Requires:      %{name}-compat-libdns_sd = %{version}-%{release}
+Provides:      mdns-bonjour-devel
+Obsoletes:     mDNSResponder-devel
 
 %description compat-libdns_sd-devel
 Header files for Avahi Bonjour compat library.
@@ -119,6 +129,7 @@ Summary:    Static Avahi Bonjour compat library
 Summary(pl):   Statyczna biblioteka Avahi zgodna z Bonjour
 Group:         Development/Libraries
 Requires:      %{name}-libdns_sd-devel = %{version}-%{release}
+Provides:      mdns-bonjour-static
 
 %description compat-libdns_sd-static
 Static Avahi Bonjour compat library.
@@ -130,6 +141,7 @@ Statyczna biblioteka Avahi zgodna z Bonjour.
 Summary:       Avahi Howl compat library
 Summary(pl):   Biblioteka Avahi zgodna z Howl
 Group:         Libraries
+Provides:      mdns-howl-libs
 Obsoletes:     howl-libs
 
 %description compat-howl
@@ -143,6 +155,7 @@ 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
@@ -156,6 +169,7 @@ 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
@@ -220,7 +234,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.
@@ -272,12 +286,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
@@ -331,6 +345,7 @@ Narz
        --enable-compat-howl \
        --with-distro=none \
        --disable-qt4 \
+       %{!?with_qt:--disable-qt3} \
        %{!?with_dotnet:--disable-mono} \
        %{!?with_dotnet:--disable-monodoc}
 %{__make}
@@ -512,6 +527,7 @@ fi
 %defattr(644,root,root,755)
 %{_libdir}/libavahi-glib.a
 
+%if %{with qt}
 %files qt3
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
@@ -526,6 +542,7 @@ fi
 %files qt3-static
 %defattr(644,root,root,755)
 %{_libdir}/libavahi-qt3.a
+%endif
 
 %files bookmarks
 %defattr(644,root,root,755)
@@ -534,6 +551,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
@@ -542,6 +561,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.127937 seconds and 4 git commands to generate.