Projects
Factory:RISC-V:Base
avahi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:tar_scm:avahi.spec
Changed
@@ -3,7 +3,7 @@ Name: avahi Version: 0.8 -Release: 14 +Release: 15 Summary: Avahi is a local network service discovery License: LGPLv2+ URL: http://avahi.org @@ -22,9 +22,13 @@ BuildRequires: gcc automake libtool desktop-file-utils gtk2-devel glib2-devel gcc-c++ BuildRequires: libcap-devel expat-devel gdbm-devel make -BuildRequires: intltool perl-XML-Parser xmltoman systemd libevent-devel -BuildRequires: dbus-devel >= 0.90 dbus-glib-devel >= 0.70 gtk3-devel >= 2.99.0 libdaemon-devel >= 0.11 -BuildRequires: pkgconfig(pygobject-3.0) pkgconfig(libevent) >= 2.0.21 +BuildRequires: intltool perl-XML-Parser systemd libevent-devel +BuildRequires: dbus-devel >= 0.90 dbus-glib-devel >= 0.70 libdaemon-devel >= 0.11 +BuildRequires: pkgconfig(libevent) >= 2.0.21 +%if 0%{?build_cross} == 0 +BuildRequires: pkgconfig(pygobject-3.0) xmltoman gtk3-devel >= 2.99.0 +%endif + %if %{WITH_QT5} BuildRequires: qt5-qtbase-devel %endif @@ -73,6 +77,7 @@ %description ui-tools Avahi Graphical user interface tools for mDNS services. +%if 0%{?build_cross} == 0 %package ui Summary: Gtk uesr interface library for Avahi (Gtk2) Requires: %{name}-libs = %{version}-%{release} @@ -81,6 +86,7 @@ %description ui This package contains a Gtk 2.x widget for browsing services. +%endif %package autoipd Summary: Link-local IPv4 address automatic configuration daemon (IPv4LL) @@ -199,6 +205,7 @@ The avahi-gobject-devel package contains the header files and libraries necessary for developing programs using avahi-gobject. +%if 0%{?build_cross} == 0 %package ui-gtk3 Summary: Gtk user interface library for Avahi (Gtk+ 3 version) Requires: %{name}-libs = %{version}-%{release} @@ -217,6 +224,7 @@ %description ui-devel The avahi-ui-devel package contains the header files and libraries necessary for developing programs using avahi-ui. +%endif %package libs Summary: Libraries for avahi run-time use @@ -260,7 +268,11 @@ --with-systemdsystemunitdir=%{_unitdir} --enable-introspection=no \ --enable-shared=yes --enable-static=no --disable-silent-rules \ --enable-compat-libdns_sd --enable-compat-howl --disable-qt3 \ + %if 0%{?build_cross} == 0 --disable-qt4 --disable-mono --enable-gtk\ + %else + --disable-qt4 --disable-mono --disable-gtk --disable-gtk3\ + %endif --with-distro=none\ %if ! %{WITH_PYTHON} --disable-python \ @@ -374,9 +386,11 @@ %postun compat-libdns_sd -p /sbin/ldconfig +%if 0%{?build_cross} == 0 %post ui -p /sbin/ldconfig %postun ui -p /sbin/ldconfig +%endif %post libs -p /sbin/ldconfig @@ -386,9 +400,11 @@ %postun glib -p /sbin/ldconfig +%if 0%{?build_cross} == 0 %post ui-gtk3 -p /sbin/ldconfig %postun ui-gtk3 -p /sbin/ldconfig +%endif %post gobject -p /sbin/ldconfig @@ -458,6 +474,7 @@ %{_includedir}/avahi-gobject %{_libdir}/pkgconfig/avahi-gobject.pc +%if 0%{?build_cross} == 0 %files ui-gtk3 %{_libdir}/libavahi-ui-gtk3.so.* @@ -467,6 +484,7 @@ %{_includedir}/avahi-ui %{_libdir}/pkgconfig/avahi-ui.pc %{_libdir}/pkgconfig/avahi-ui-gtk3.pc +%endif %files devel %{_libdir}/libavahi-common.so @@ -477,7 +495,9 @@ %{_libdir}/pkgconfig/avahi-client.pc %{_libdir}/pkgconfig/avahi-libevent.pc %{_includedir}/* +%if 0%{?build_cross} == 0 %exclude %{_includedir}/avahi-ui +%endif %exclude %{_includedir}/avahi-compat-howl %exclude %{_includedir}/avahi-compat-libdns_sd %exclude %{_includedir}/dns_sd.h @@ -513,8 +533,10 @@ %{python2_sitelib}/avahi_discover/ %endif +%if 0%{?build_cross} == 0 %files ui %{_libdir}/libavahi-ui.so.* +%endif %files compat-howl %{_libdir}/libhowl.so.* @@ -556,6 +578,9 @@ %{_mandir}/man8/* %changelog +* Mon Mar 27 2023 zhangpan <zhangpan103@h-partners.com> - 0.8-15 +- add build_cross to avoid install packages and files in self-build + * Tue Dec 20 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.8-14 - add BuildRequires make
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2