OBS User unknown 2007-01-31 22:50:48 +00:00 committed by Git OBS Bridge
parent 26fdfb53aa
commit e2102123fe
4 changed files with 29 additions and 4 deletions

10
avahi-discover-icon.patch Normal file
View File

@ -0,0 +1,10 @@
--- avahi-python/avahi-discover.desktop.in
+++ avahi-python/avahi-discover.desktop.in
@@ -5,6 +5,6 @@
Exec=@bindir@/avahi-discover
Terminal=false
Type=Application
-Icon=gnome-nettool
+Icon=gnome-nettool2
Categories=GNOME;Application;System;Utility;
StartupNotify=false

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 31 23:20:35 CET 2007 - ro@suse.de
- removed gnome-nettool from BuildRequires (and Recommends)
(causes a build-cycle) and use local copy of the icon
-------------------------------------------------------------------
Fri Jan 26 01:35:53 CET 2007 - ro@suse.de

View File

@ -17,18 +17,17 @@ BuildRequires: libqt4-devel python-gtk-devel
%else
BuildRequires: python-gtk qt-devel
%endif
# FIXME (upstream): Needed only for desktop icon
BuildRequires: gnome-nettool
Recommends: gnome-nettool
Version: 0.6.16
Release: 2
Release: 3
URL: http://www.avahi.org/
Group: System/Daemons
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Summary: D-BUS Service for Zeroconf and Bonjour
Source: %{name}-%{version}.tar.bz2
Source1: gnome-nettool2.png
Patch: avahi-gacdir.patch
Patch1: avahi-random-return.patch
Patch2: avahi-discover-icon.patch
Requires: dbus-1 python python-gdbm python-gtk
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -338,6 +337,7 @@ Authors:
%setup -q
%patch
%patch1
%patch2
%build
ACLOCAL="aclocal -I common" autoreconf -f -i
@ -355,6 +355,8 @@ make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-nettool2.png
install -d $RPM_BUILD_ROOT%{_localstatedir}/run/avahi-daemon
cd $RPM_BUILD_ROOT%{_includedir} ; ln -s avahi-compat-libdns_sd/dns_sd.h avahi-compat-howl/howl.h $RPM_BUILD_ROOT%{_includedir}/
# Work-around qt4 bug:
@ -411,6 +413,7 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/dbus-1/system.d/*.conf
%{_sysconfdir}/init.d/*
%{py_sitedir}/avahi
%{_datadir}/pixmaps/gnome-nettool2.png
%files glib
%defattr(-,root,root)
@ -488,6 +491,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/avahi-qt4.pc
%changelog -n avahi
* Wed Jan 31 2007 - ro@suse.de
- removed gnome-nettool from BuildRequires (and Recommends)
(causes a build-cycle) and use local copy of the icon
* Fri Jan 26 2007 - ro@suse.de
- add mono-devel to build requires to make mono-reqprov work
* Wed Jan 24 2007 - sbrabec@suse.cz

3
gnome-nettool2.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88cbac3316fd0ad10bb7d054dcd53ab822517a1d9bbb70a31cd754dcd59e94b9
size 4509