gnome-bluetooth/gnome-bluetooth.spec

366 lines
12 KiB
RPMSpec

#
# spec file for package gnome-bluetooth (Version 2.27.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-bluetooth
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gnome-doc-utils-devel
BuildRequires: hal-devel
BuildRequires: intltool
BuildRequires: libnotify-devel
BuildRequires: unique-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
License: GPL v2 or later
Group: System/GUI/GNOME
Version: 2.27.4
Release: 1
Summary: GNOME Bluetooth graphical utilities
Url: http://usefulinc.com/software/gnome-bluetooth/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
Provides: bluez-gnome = 1.8
Obsoletes: bluez-gnome < 1.8
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
%description
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
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
License: GPL v2 or later
Summary: GNOME Bluetooth Support
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} gtk2-devel
Obsoletes: libgnomebt-devel < 0.12
Provides: libgnomebt-devel = 0.12
%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>
%package -n libgnome-bluetooth2
License: GPL v2 or later
Summary: GNOME Bluetooth graphical utilities
Group: System/GUI/GNOME
Obsoletes: libgnomebt1 <= 0.12
%description -n libgnome-bluetooth2
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
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>
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure --disable-schemas-install \
--disable-icon-update \
--disable-scrollkeeper \
--disable-desktop-update
%__make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/libgnome-bluetooth.la
%suse_update_desktop_file bluetooth-properties -G "Configure Bluetooth settings" -N "Bluetooth Properties"
%suse_update_desktop_file bluetooth-applet -G "Bluetooth Manager applet"
%find_lang %{name}2
%find_lang %{name} %{name}2.lang
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%post -n libgnome-bluetooth2 -p /sbin/ldconfig
%postun -n libgnome-bluetooth2 -p /sbin/ldconfig
%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/bluetooth-*
%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
%{_datadir}/applications/bluetooth-properties.desktop
%{_datadir}/gnome-bluetooth
%{_datadir}/icons/hicolor/*/*/bluetooth*
%{_mandir}/man1/bluetooth-*
%files lang -f %{name}2.lang
%files -n libgnome-bluetooth2
%defattr(-,root,root,-)
%{_libdir}/libgnome-bluetooth.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/gnome-bluetooth
%{_libdir}/libgnome-bluetooth.so
%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
%{_datadir}/gtk-doc/html/gnome-bluetooth
%changelog
* Tue Apr 14 2009 vuntz@novell.com
- Update to version 2.27.4:
+ Fix display of labels on the passkey page, and of the passkey
on the passkey options dialogue
+ More use of GtkBuilder in the wizard
+ First pass at user-targetted documentation
+ Fix a few memory leaks
+ Fix crash when running properties installed
- Changes from version 2.27.3:
+ Fix schema installation
+ Make sure the applet works even without the schema being
installed properly
+ Fix display of devices with underscores in their name in the
applet
+ Fix some devices with no real audio support (AVCRP phones for
example) showing up in the applet
- Add gnome-doc-utils-devel BuildRequires.
- Pass --disable-scrollkeeper to configure.
- Package documentation too.
- Use fdupes.
* Thu Apr 09 2009 vuntz@novell.com
- Update to version 2.27.2:
+ General:
- Use our own "paired" icon, to avoid confusion in some themes
- Remove "Trust" from the UI, it's an implementation detail
- Group input and audio device-types under the same heading in
the chooser
+ Applet:
- Use new "disabled" icons
- Add a status label for the killswitch menu item
- Add the ability to connect/disconnect from devices directly
from the applet's menu
+ Properties:
- Only show the default adapter, and simplify the UI
- Show a way to turn off the killswitch when there's no
Bluetooth adapters in the machine
+ Wizard:
- Don't show "Enter passkey" when we know the passkey of the
device already
- Remove special-casing of mice, and PS3 BD remote from the
code and into the database
- Move passkey options button back into the content area, from
the action area
- Simplify passkey options dialogue
- Connect to input and audio devices when setup finishes
- Mark all the newly paired devices as trusted
- Fix the wizard not allowing to get past the search page when
the device selected didn't have a name at first
- Port quirks database to XML
- Add quirk for the Bluemax Bluetooth GPS Receiver GPS-009
- Add quirk for the Nintendo Wiimote
- Add quirk for iBT-GPS, and another GPS
+ Sendto:
- Fix obex-data-server support
* Mon Mar 16 2009 sbrabec@suse.cz
- Added support for translation-update-upstream (FATE#301344).
* Sun Mar 15 2009 vuntz@novell.com
- Add Obsoletes/Provides for libgnomebt-devel.
- Make gnome-bluetooth Obsoletes/Provides bluez-gnome since it's a
drop-in replacement for bluez-gnome.
- Don't set the name in bluetooth-applet.desktop to the preexisting
value.
* Sat Mar 07 2009 mboman@suse.de
- Update to version 2.27.1:
+ This is basically a new package, forked from bluez-gnome
* Sun Feb 22 2009 vuntz@novell.com
- Update to version 0.12.0:
+ Remove gnome-obex-server, as it's replaced by gnome-user-share
- Drop BuildRequires: perl-XML-Parser, update-desktop-files
- Drop Requires: gnome-vfs2
- soname changed, so rename libgnometbt0 to libgnomebt1. No
Provides/Obsoletes since it's not the case.
- Remove gnome-bluetooth package since it only contains data that
should be in libgnomebt1 now. Have libgnomebt1 Obsolete/Provide
it.
* Fri Mar 21 2008 jpr@suse.de
- Remove incorrect libgnomebt-devel requires
- Remove .la files
* Fri Feb 01 2008 rodrigo@suse.de
- Update to version 0.11.0:
* Remove gnome-obex-send as it's replaced by bluez-gnome's
bluetooth-sendto
* Tue Oct 30 2007 coolo@suse.de
- also obsolete 0.8.0
* Thu Oct 25 2007 jpr@suse.de
- Update to 0.9.1
* Fix a typo that meant the obex server was crashing when receiving
a file
* Send a disconnect when we finish sending a file, fixes reception
of files on some devices
* Use new GTK+ features for the tray icon
* Build fixes
- Remove gnome-bluetooth-desktop.diff and use
%%suse_update_desktop_file instead
- Remove gnome-bluetooth-pixmapsdir.patch, the icon hierarchy is used
now
- Remove gnome-bluetooth-transparent-trayicon.patch and
dont-disable-deprecated, libegg is no longer used
- Remove gnome-bluetooth-fail-cleanly.patch, the UI it changed is
- Split off libgnomebt0, python-gnome-bluetooth and
gnome-bluetooth-lang
- Rename gnome-bluetooth-devel to libgnomebt-devel
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Fri Jul 27 2007 maw@suse.de
- Add dont-disable-deprecated.patch.
* Wed May 23 2007 prusnak@suse.cz
- added libusb-devel to BuildRequires
- added libopenssl-devel to Requires of devel subpackage
* Fri May 18 2007 prusnak@suse.cz
- removed X-SuSE-translate from desktop file
* Thu May 03 2007 prusnak@suse.cz
- changed expat to libexpat-devel in Requires of devel subpackage
* Sun Feb 18 2007 aj@suse.de
- Cleanup BuildRequires.
* 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