Dominique Leuenberger 2014-04-28 08:32:38 +00:00 committed by Git OBS Bridge
parent 88b03ea2b6
commit a6b3862abd
4 changed files with 8 additions and 26 deletions

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir} %define python_sitelib %{py_sitedir}
%endif %endif
%if %build_core %if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils PreReq: pwdutils
%if %suse_version >= 1140 %if %suse_version >= 1140
PreReq: sysvinit(network) PreReq: sysvinit(network)
@ -915,9 +914,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2 %if ! %build_glib2
@ -1116,8 +1112,6 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE docs/* %doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/ %dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils: # Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db %{_libdir}/avahi/service-types.db

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir} %define python_sitelib %{py_sitedir}
%endif %endif
%if %build_core %if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils PreReq: pwdutils
%if %suse_version >= 1140 %if %suse_version >= 1140
PreReq: sysvinit(network) PreReq: sysvinit(network)
@ -914,9 +913,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2 %if ! %build_glib2
@ -1115,8 +1111,6 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE docs/* %doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/ %dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils: # Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db %{_libdir}/avahi/service-types.db

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir} %define python_sitelib %{py_sitedir}
%endif %endif
%if %build_core %if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils PreReq: pwdutils
%if %suse_version >= 1140 %if %suse_version >= 1140
PreReq: sysvinit(network) PreReq: sysvinit(network)
@ -917,9 +916,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2 %if ! %build_glib2
@ -1118,8 +1114,6 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE docs/* %doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/ %dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils: # Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db %{_libdir}/avahi/service-types.db

View File

@ -1,14 +1,14 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 26 20:06:15 UTC 2014 - dmueller@suse.com Sat Apr 26 20:06:15 UTC 2014 - dmueller@suse.com
- do not depend on gnome-icon-theme: - Do not depend on gnome-icon-theme:
* the network-wired icon is meanwhile available in + the network-wired icon is meanwhile available in faenza, gnome,
faenza, gnome, mate, nimbus oxygen and tango icon theme mate, nimbus oxygen and tango icon theme.
* the dependency causes avahi depending on gtk3, which + the dependency causes avahi depending on gtk3, which causes a
causes a build loop with gtk2 build loop with gtk2.
* the avahi-desktop.patch causes these desktop files to + the avahi-desktop.patch causes these desktop files to be only
be only shown in GTK based desktops, which have any of shown in GTK based desktops, which have any of those icon
those icon themes available themes available.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 15 15:55:46 UTC 2014 - aj@suse.com Tue Apr 15 15:55:46 UTC 2014 - aj@suse.com