diff --git a/gnome-bluetooth-0.8.0-desktop.patch b/gnome-bluetooth-0.8.0-desktop.patch new file mode 100644 index 0000000..8e79f3d --- /dev/null +++ b/gnome-bluetooth-0.8.0-desktop.patch @@ -0,0 +1,11 @@ +--- gnome-bluetooth-0.8.0/obex/gnome-obex-server.desktop.in.dfix 2007-03-09 15:28:30.000000000 +0100 ++++ gnome-bluetooth-0.8.0/obex/gnome-obex-server.desktop.in 2007-03-09 15:28:41.000000000 +0100 +@@ -4,7 +4,7 @@ + _Comment=Receive files sent by Bluetooth devices + Icon=blueradio-48 + Exec=gnome-obex-server +-Terminal=0 ++Terminal=false + Type=Application + Categories=Application;System; + X-GNOME-Bugzilla-Bugzilla=GNOME diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index 73a3892..14391e5 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -24,7 +24,7 @@ Requires: bluez-utils ExcludeArch: s390 s390x Patch1: gnome-bluetooth-0.7.0-pydir.patch -Patch2: gnome-bluetooth-0.7.0-path.patch +Patch2: gnome-bluetooth-0.8.0-desktop.patch %description This package contains a Bonobo server to control Bluetooth devices, @@ -38,7 +38,8 @@ Summary: Libraries for applications, which use gnome-bluetooth Group: Development/Libraries %description libs -This package contains the libraries for applications, which use gnome-bluetooth. +This package contains the libraries for applications, +which use gnome-bluetooth. %package devel Summary: Files for the development of applications, which use gnome-bluetooth @@ -52,23 +53,13 @@ This package contains the files for the development of applications, which will use gnome-bluetooth. %prep -rm -rf $RPM_BUILD_ROOT - %setup -q %patch1 -p1 -b .pydir -#%patch2 -p1 -b .path - -#aclocal -#automake -a -#autoconf - -#perl -pi -e 's|^Icon=.*|Icon=%{_datadir}/pixmaps/blueradio-48.png|g' \ -# */*.desktop.in - +%patch2 -p1 -b .dfix %build %configure -make +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -122,18 +113,23 @@ fi %files libs %defattr(-, root, root) +%doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/libgnomebt.so.* %{_libdir}/python*.*/site-packages/gnomebt/ %files devel %defattr(-, root, root) +%doc COPYING %{_libdir}/pkgconfig/gnome-bluetooth.pc %{_libdir}/libgnomebt.so %{_includedir}/gnome-bluetooth/ %changelog -* Tue Feb 27 2007 Harald Hoyer - 0.8.0-3 +* Tue Feb 27 2007 Harald Hoyer - 0.8.0-3%{?dist} - corrected BuildRoot +- smp flags added +- specfile cleanup +- fixed desktop file * Thu Dec 7 2006 Jeremy Katz - 0.8.0-2 - rebuild for python 2.5