gnome-bluetooth/gnome-bluetooth.spec

220 lines
7.4 KiB
RPMSpec

#
# spec file for package gnome-bluetooth (Version 0.8.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-bluetooth
BuildRequires: gnutls-devel gob2 intltool libbtctl-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel librsvg-devel libwnck-devel mDNSResponder-devel perl-XML-Parser python-devel python-gtk-devel update-desktop-files
License: GNU General Public License (GPL)
Group: System/GUI/GNOME
Requires: gnome-vfs2 python-gnome
Version: 0.8.0
Release: 38
Summary: GNOME Bluetooth Support
URL: http://usefulinc.com/software/gnome-bluetooth/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
Patch: %name-desktop.diff
Patch1: gnome-bluetooth-pixmapsdir.patch
Patch2: gnome-bluetooth-transparent-trayicon.patch
Patch3: gnome-bluetooth-fail-cleanly.patch
Autoreqprov: on
%py_requires
%gconf_schemas_prereq
%description
This package contains a controller class, GnomebtController, to control
Bluetooth devices and a simple GUI to explore which devices are
available (gnome-bluetooth-manager). An OBEX server is available,
gnome-obex-server. This receives files sent via Bluetooth to your PC
and saves them in your home directory. The program gnome-obex-send
enables you to send files. It is used by the Nautilus
component--select the files to send and choose "Send via Bluetooth"
from the context menu.
Authors:
--------
Edd Dumbill <edd@usefulinc.com>
Bastien Nocera <hadess@hadess.net>
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Jonathan Blandford <jrb@redhat.com>
Kristian Rietveld <kris@gtk.org>
Anders Carlsson <andersca@gnu.org>
James Henstridge <james@daa.com.au>
%package devel
Summary: GNOME Bluetooth Support
Group: System/GUI/GNOME
Requires: %{name} = %{version} glib2-devel libbtctl-devel libglade2-devel libgnomeui-devel libjpeg-devel libbonoboui-devel gnome-keyring-devel libxml2-devel libgnomecanvas-devel libart_lgpl-devel libgnome-devel esound-devel alsa-devel resmgr audiofile-devel popt-devel gtk2-devel atk-devel pango-devel cairo-devel fontconfig-devel glitz-devel libpng-devel freetype2-devel expat libbonobo-devel gnome-vfs2-devel zlib-devel openssl-devel orbit2-devel gconf2-devel
%if %suse_version > 1010
Requires: dbus-1-glib-devel
%else
Requires: dbus-1-devel dbus-1-glib
%endif
%description devel
This package contains a controller class, GnomebtController, to control
Bluetooth devices and a simple GUI to explore which devices are
available (gnome-bluetooth-manager). An OBEX server is available,
gnome-obex-server. This receives files sent via Bluetooth to your PC
and saves them in your home directory. The program gnome-obex-send
enables you to send files. It is used by the Nautilus component --
select the files you want to send and choose "Send via Bluetooth..."
from the context menu.
Authors:
--------
Edd Dumbill <edd@usefulinc.com>
Bastien Nocera <hadess@hadess.net>
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Jonathan Blandford <jrb@redhat.com>
Kristian Rietveld <kris@gtk.org>
Anders Carlsson <andersca@gnu.org>
James Henstridge <james@daa.com.au>
%prep
%setup -q
%patch -p1
#%patch1 -p0
%patch2 -p0
#%patch3 -p0
rm -f libegg/aclocal.m4 aclocal.m4
%build
autoreconf -f -i
%configure\
--disable-schemas-install
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
%suse_update_desktop_file -G "" -C "Receive files sent by Bluetooth devices" gnome-obex-server System Applet
%find_lang %{name}
%find_gconf_schemas
cat %{name}.lang %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{py_sitedir}/gnomebt/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%postun
%run_ldconfig
%pre -f %{name}.schemas_pre
%post
%run_ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-bluetooth
%{_datadir}/pixmaps/blueradio-48.png
%{py_sitedir}/gnomebt
%files devel
%defattr(-, root, root)
%{_includedir}/gnome-bluetooth
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog -n gnome-bluetooth
* Fri Jan 19 2007 - jhargadon@suse.de
- removed useless .la files (#223699)
* Tue Dec 19 2006 - sbrabec@suse.cz
- Spec file cleanup.
* Mon Dec 18 2006 - maw@suse.de
- Move to /usr.
* Thu Nov 30 2006 - sbrabec@suse.cz
- Fixed devel dependencies.
* Tue Sep 19 2006 - jhargadon@suse.de
- update to version 0.8.0
- Fix icons not showing up properly
- Allow passing URIs as well as local filenames to gnome-obex-send
- Save to ~/Desktop/Downloads by default, then fallback to ~/Desktop and ~/,
as Epiphany does, or to the user specified directory
- Remove direct openobex and bluez-devel dependencies, as well as gnome-vfs
- Remove the useless gnome-bluetooth-manager
- translation updates
* Wed Aug 16 2006 - cthiel@suse.de
- buildrequire python-gtk-devel instead of python-gtk
* Wed Aug 16 2006 - ro@suse.de
- added python-gobject2-devel to BuildRequires
* Mon Mar 20 2006 - danw@suse.de
- Fail cleanly (with a dialog rather than a message to stderr) if
bluetooth is not configured on the machine. #140780
* Fri Mar 10 2006 - danw@suse.de
- Make the gnome-obex-server trayicon transparent. #155345
* Sat Feb 18 2006 - stbinner@suse.de
- move GenericName entries in .desktop files to Comment
* Mon Feb 06 2006 - hpj@suse.de
- Added Rodney's pixmap path patch.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 29 2005 - sbrabec@suse.cz
- Updated to version 0.7.0.
* Wed Nov 09 2005 - sbrabec@suse.cz
- Fixed more random return values.
- Removed .mo install hack, locales now install properly.
* Thu Nov 03 2005 - sbrabec@suse.cz
- Updated to version 0.6.0.
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Wed Jun 01 2005 - sbrabec@suse.cz
- Fixed devel requirements.
* Wed May 04 2005 - sbrabec@suse.cz
- Fixed some GCC 4 warnings.
* Wed Apr 27 2005 - sbrabec@suse.cz
- Added gnome hbox patch from Harald Hoyer <harald@redhat.com>
(#72172).
- Added patch for crash on file send.
http://bugzilla.gnome.org/show_bug.cgi?id=150388
* Thu Nov 25 2004 - ro@suse.de
- fix build with new python2.4
* Tue Nov 23 2004 - hvogel@suse.de
- correct desktop files
- include icon
- fix ac-quotation
* Wed Sep 08 2004 - ro@suse.de
- require python-gnome instead of gnome-python
* Fri Sep 03 2004 - hhetter@suse.de
- use lib64 on 64bit systems in PYTHONPATH
* Thu Sep 02 2004 - hhetter@suse.de
- part of Bug #44638, require gnome-python, fix PYTHONPATH
in gnome-bluetooth-manager
* Mon Aug 02 2004 - ro@suse.de
- update to 0.5.1 to make it build again with current environment
* Thu Jan 29 2004 - hhetter@suse.de
- initial SUSE package