Summary: GNOME Bluetooth Subsystem Name: gnome-bluetooth Version: 0.6.0 Release: 2.1 License: GPL Group: System Environment/Libraries URL: http://usefulinc.com/software/gnome-bluetooth Source: http://usefulinc.com/software/gnome-bluetooth/releases/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf >= 2.57 bluez-libs-devel >= 2.8 bluez-utils BuildRequires: libgnomeui-devel >= 2.2 libbonobo-devel >= 2.0 BuildRequires: GConf2-devel >= 2.0 librsvg2-devel BuildRequires: libbtctl-devel >= 0.5.0 BuildRequires: gob2 openobex-devel >= 1.0.1 BuildRequires: pygtk2-devel python-devel Requires: %{name}-libs = %{version}-%{release} ExcludeArch: s390 s390x Patch1: gnome-bluetooth-0.5.1-pydir.patch %description This package contains a Bonobo server to control Bluetooth devices, and a simple GUI to explore which devices are available (gnome-bluetooth-admin). Also, an OBEX server is available, gnome-obex-server. This will receive files sent via Bluetooth to your PC, and save them in your home directory. %package libs Summary: Libraries for applications, which use gnome-bluetooth Group: Development/Libraries %description libs This package contains the libraries for applications, which use gnome-bluetooth. %package devel Summary: Files for the development of applications, which use gnome-bluetooth Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: glib2-devel Requires: libbtctl-devel %description devel 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 perl -pi -e 's|^Icon=.*|Icon=%{_datadir}/pixmaps/blueradio.png|g' \ */*.desktop.in #perl -pi -e 's#-DGTK_DISABLE_DEPRECATED##g' $(find libegg -name Makefile.in) #sed -i.bool -e 's#gtk.TRUE#True#g;s#gtk.FALSE#False#g' python/*.py aclocal automake -a autoconf %build %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall ./libtool --finish $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules mkdir -p %{buildroot}%{_datadir}/pixmaps/ cp -a %{buildroot}%{_datadir}/gnome-bluetooth/pixmaps/blueradio-48.png \ %{buildroot}%{_datadir}/pixmaps/blueradio.png # we do not want .la files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README #%{_bindir}/gnome-bluetooth-admin %{_bindir}/gnome-bluetooth-manager %{_bindir}/gnome-obex-send %{_bindir}/gnome-obex-server %{_datadir}/applications/gnome-obex-server.desktop %{_datadir}/applications/gnome-bluetooth-manager.desktop %{_datadir}/gnome-bluetooth/ %{_datadir}/pixmaps/blueradio.png %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas %files libs %defattr(-, root, root) %{_libdir}/libgnomebt.so.* %{_libdir}/python*.*/site-packages/gnomebt/ %files devel %defattr(-, root, root) %{_libdir}/pkgconfig/gnome-bluetooth.pc %{_libdir}/libgnomebt.so %{_includedir}/gnome-bluetooth/ %changelog * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Oct 07 2005 Harald Hoyer - 0.6.0-2 - Fix relative path for the icons in desktop files which no longer works with the icon cache. * Wed Sep 28 2005 Harald Hoyer - 0.6.0-1 - new version 0.6.0 * Tue Aug 16 2005 Warren Togami 0.5.1-14 - rebuild for new cairo * Thu Jul 7 2005 Matthias Saou 0.5.1-13 - Minor spec file cleanups. - Fix relative path for the icons in desktop files which no longer works with the icon cache. - Remove useless zero epochs. - Remove explicit python abi requirement, it's automatic for FC4 and up. * Thu Mar 31 2005 Harald Hoyer - 0.5.1-12 - removed base requirement from libs * Tue Mar 29 2005 Warren Togami - 0.5.1-11 - devel req glib2-devel libbtctl-devel for pkgconfig (#152488) * Wed Mar 02 2005 Harald Hoyer - rebuilt * Mon Feb 21 2005 Harald Hoyer - 0.5.1-9 - added gnome hbox patch for bug rh#149215 * Tue Dec 07 2004 Harald Hoyer - 0.5.1-8 - added requires for python-abi * Tue Dec 07 2004 Harald Hoyer - 0.5.1-7 - split package into app, libs and devel * Mon Oct 25 2004 Harald Hoyer - 0.5.1-6 - fixed again gnome-bluetooth-manager script for 64bit (bug 134864) * Fri Oct 08 2004 Harald Hoyer - 0.5.1-5 - buildrequire pygtk2-devel (bug 135032) - fixed gnome-bluetooth-manager script for 64bit (bug 134864) - fixed segfault on file receive (bug 133041) * Mon Sep 27 2004 Harald Hoyer - 0.5.1-4 - buildrequire libbtctl-devel - buildrequire openobex-devel >= 1.0.1 - pythondir -> pyexecdir * Wed Jul 28 2004 Harald Hoyer - 0.5.1-3 - added build dependency for librsvg2-devel * Tue Jul 27 2004 Harald Hoyer - 0.5.1-2 - added pydir patch * Thu Jul 22 2004 Harald Hoyer - 0.5.1-1 - version 0.5.1 * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue May 25 2004 Harald Hoyer - 0.4.1-8 - corrected BuildRequires * Wed Mar 10 2004 Harald Hoyer - 0.4.1-7 - added EggToolBar patch for gcc34 * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Jan 26 2004 Harald Hoyer 0.4.1-4 - added autofoo patch * Thu Aug 28 2003 Harald Hoyer 0.4.1-3 - add .so to gnome-vfs module, if libtool does not! * Thu Aug 07 2003 Harald Hoyer 0.4.1-2 - call libtool finish * Wed Aug 6 2003 Harald Hoyer 0.4.1-1 - new version 0.4.1 * Wed Jun 5 2003 Harald Hoyer 0.4-1 - initial RPM