parent
cf6bfa4d0c
commit
f72697da85
56
avahi.spec
56
avahi.spec
@ -6,7 +6,7 @@
|
|||||||
%endif
|
%endif
|
||||||
Name: avahi
|
Name: avahi
|
||||||
Version: 0.6.22
|
Version: 0.6.22
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: Local network service discovery
|
Summary: Local network service discovery
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
@ -16,12 +16,16 @@ Requires: dbus, expat
|
|||||||
Requires: libdaemon >= 0.11
|
Requires: libdaemon >= 0.11
|
||||||
Requires(post): initscripts, chkconfig, ldconfig
|
Requires(post): initscripts, chkconfig, ldconfig
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
BuildRequires: automake libtool
|
||||||
BuildRequires: dbus-devel >= 0.90
|
BuildRequires: dbus-devel >= 0.90
|
||||||
BuildRequires: dbus-glib-devel >= 0.70
|
BuildRequires: dbus-glib-devel >= 0.70
|
||||||
BuildRequires: dbus-python
|
BuildRequires: dbus-python
|
||||||
BuildRequires: libxml2-python
|
BuildRequires: libxml2-python
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
|
%if 0%{?fedora} > 8
|
||||||
BuildRequires: qt3-devel
|
BuildRequires: qt3-devel
|
||||||
|
BuildRequires: qt4-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libglade2-devel
|
BuildRequires: libglade2-devel
|
||||||
BuildRequires: libdaemon-devel >= 0.11
|
BuildRequires: libdaemon-devel >= 0.11
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -132,7 +136,6 @@ necessary for developing programs using avahi-ui.
|
|||||||
Summary: Qt3 libraries for avahi
|
Summary: Qt3 libraries for avahi
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: qt3
|
|
||||||
|
|
||||||
%description qt3
|
%description qt3
|
||||||
Libraries for easy use of avahi from Qt3 applications.
|
Libraries for easy use of avahi from Qt3 applications.
|
||||||
@ -148,6 +151,25 @@ Requires: qt3-devel
|
|||||||
The avahi-qt3-devel package contains the header files and libraries
|
The avahi-qt3-devel package contains the header files and libraries
|
||||||
necessary for developing programs using avahi with Qt3.
|
necessary for developing programs using avahi with Qt3.
|
||||||
|
|
||||||
|
%package qt4
|
||||||
|
Summary: Qt4 libraries for avahi
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description qt4
|
||||||
|
Libraries for easy use of avahi from Qt4 applications.
|
||||||
|
|
||||||
|
%package qt4-devel
|
||||||
|
Summary: Libraries and header files for avahi Qt4 development
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
|
Requires: %{name}-qt4 = %{version}-%{release}
|
||||||
|
Requires: qt4-devel
|
||||||
|
|
||||||
|
%description qt4-devel
|
||||||
|
Th avahi-qt4-devel package contains the header files and libraries
|
||||||
|
necessary for developing programs using avahi with Qt4.
|
||||||
|
|
||||||
%if %{WITH_MONO}
|
%if %{WITH_MONO}
|
||||||
%package sharp
|
%package sharp
|
||||||
Summary: Mono language bindings for avahi mono development
|
Summary: Mono language bindings for avahi mono development
|
||||||
@ -174,6 +196,7 @@ mono programs that use avahi-ui.
|
|||||||
Summary: Libraries and header files for avahi development
|
Summary: Libraries and header files for avahi development
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The avahi-devel package contains the header files and libraries
|
The avahi-devel package contains the header files and libraries
|
||||||
@ -247,9 +270,12 @@ fashion with mDNS.
|
|||||||
%patch3 -p1 -b .vncviewer
|
%patch3 -p1 -b .vncviewer
|
||||||
%patch4 -p1 -b .update-de
|
%patch4 -p1 -b .update-de
|
||||||
|
|
||||||
|
# nuke rpath, TODO: double-check if still required on new releases
|
||||||
|
autoreconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --with-distro=fedora --disable-qt4 --disable-monodoc --without-python-twisted --with-avahi-user=avahi --with-avahi-group=avahi --enable-compat-howl --with-avahi-priv-access-group=avahi --with-autoipd-user=avahi-autoipd --with-autoipd-group=avahi-autoipd \
|
%configure --with-distro=fedora --disable-monodoc --without-python-twisted --with-avahi-user=avahi --with-avahi-group=avahi --enable-compat-howl --with-avahi-priv-access-group=avahi --with-autoipd-user=avahi-autoipd --with-autoipd-group=avahi-autoipd \
|
||||||
%if %{WITH_COMPAT_DNSSD}
|
%if %{WITH_COMPAT_DNSSD}
|
||||||
--enable-compat-libdns_sd \
|
--enable-compat-libdns_sd \
|
||||||
%endif
|
%endif
|
||||||
@ -257,6 +283,10 @@ fashion with mDNS.
|
|||||||
--disable-mono \
|
--disable-mono \
|
||||||
%endif
|
%endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
# less invasible anti-rpath hack if one wants to avoid auto*foo
|
||||||
|
#sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
#make %{?_smp_mflags} avahi.devhelp doxygen-run
|
#make %{?_smp_mflags} avahi.devhelp doxygen-run
|
||||||
|
|
||||||
@ -369,6 +399,9 @@ fi
|
|||||||
%post qt3 -p /sbin/ldconfig
|
%post qt3 -p /sbin/ldconfig
|
||||||
%postun qt3 -p /sbin/ldconfig
|
%postun qt3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post qt4 -p /sbin/ldconfig
|
||||||
|
%postun qt4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post ui -p /sbin/ldconfig
|
%post ui -p /sbin/ldconfig
|
||||||
%postun ui -p /sbin/ldconfig
|
%postun ui -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -477,9 +510,19 @@ fi
|
|||||||
%files qt3-devel
|
%files qt3-devel
|
||||||
%defattr(0644, root, root, 0755)
|
%defattr(0644, root, root, 0755)
|
||||||
%attr(755,root,root) %{_libdir}/libavahi-qt3.so
|
%attr(755,root,root) %{_libdir}/libavahi-qt3.so
|
||||||
%{_includedir}/avahi-qt3
|
%{_includedir}/avahi-qt3/
|
||||||
%{_libdir}/pkgconfig/avahi-qt3.pc
|
%{_libdir}/pkgconfig/avahi-qt3.pc
|
||||||
|
|
||||||
|
%files qt4
|
||||||
|
%defattr(0644, root, root, 0755)
|
||||||
|
%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*
|
||||||
|
|
||||||
|
%files qt4-devel
|
||||||
|
%defattr(0644, root, root, 0755)
|
||||||
|
%attr(755,root,root) %{_libdir}/libavahi-qt4.so
|
||||||
|
%{_includedir}/avahi-qt4/
|
||||||
|
%{_libdir}/pkgconfig/avahi-qt4.pc
|
||||||
|
|
||||||
%if %{WITH_MONO}
|
%if %{WITH_MONO}
|
||||||
%files sharp
|
%files sharp
|
||||||
%defattr(0644, root, root, 0755)
|
%defattr(0644, root, root, 0755)
|
||||||
@ -522,6 +565,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 04 2008 Rex Deiter <rdieter@fedoraproject.org> - 0.6.22-11
|
||||||
|
- qt4 bindings (#446904)
|
||||||
|
- devel: BR: pkgconfig
|
||||||
|
- nuke rpaths
|
||||||
|
|
||||||
* Thu Mar 27 2008 Lennart Poettering <lpoetter@redhat.com> - 0.6.22-10
|
* Thu Mar 27 2008 Lennart Poettering <lpoetter@redhat.com> - 0.6.22-10
|
||||||
- Add release part to package dependencies (Closed #311601)
|
- Add release part to package dependencies (Closed #311601)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user