Saturday, November 03, 2007

blueman rpm for Fedora 8



yesterday i was searching for a good front end software which helps in using the bluetooth easy in the gnome desktop environment. after searching in yahoo, found the software http://www.gnomefiles.com/app.php/blueman. The software is really cool and is written in python.

Using blueman after extracting it from source is pretty easy. But in order to use all the features you need to have btsco/libsbc and btsco kernel modules.

In order to maintain the software easy on RPM based systems, i'd created a spec file and created the rpm. The spec file is here


#
# Spec file written and maintained by naresh , cyan_00391 At yahoo dot co dot in
#
Summary: Bluetooth Manager for GNOME Desktop
Name: blueman
Version: 0.19
Release: 2%{?dist}
License: GPL
Group: Applications/Accessories
URL: http://blueman.tuxfamily.org/
Source: http://blueman.sf.net/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: gcc
Requires: pybluez gnome-bluetooth dbus-python
Requires: bluez-utils > 3.9
##
## bluetooth-alsa-btsco, libsbc and dkms-btsco are built by me for fc8
## and are not widely available in fedora world. Not sure where to put
## these packages/spec files
##
Requires: bluetooth-alsa-btsco
Requires: libsbc
Requires: dkms-btsco
Packager: Naresh Kumar

%description
Blueman is a GTK+ bluetooth management utility for GNOME using bluez dbus backend.
The aim is to create a full featured graphical bluetooth manager for Linux.

Features:

* Easy to use interface
* Storing Favourite devices
* Send files
* Browse files on devices
* List all seen devices
* View Local/Remote Device information
* Configure local devices
* Manage Pairing (Bonding)
* Host/Connect to Personal Area Networks
* Bind services to /dev/rfcomm ports, for eg. connecting via gprs
* Connect to Bluetooth headsets and use them as ALSA audio devices.

%prep
%setup -n blueman-%{version}

%build

%install
%{__rm} -rf %{buildroot}

make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-, root, root, 0755)
%exclude /usr/share/applications
%doc COPYING DEPENDENCIES README
%{_datadir}/blueman/*
%{_datadir}/blueman/icons/*
#%{_datadir}/applications/*
%{_datadir}/blueman/lib/*
%{_bindir}/*


%changelog
* Wed Nov 2 2007 Naresh 0.19.2-fc8
- Cleaned up the code a bit.

* Wed Nov 2 2007 Naresh 0.19.1-fc8
- Initial Revision


Although this says btsco and libsbc as prerequisites, you can easily build the rpm by just downloading the source files from the blueman home page download link

0 comments:

Post a Comment