LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File blueman.spec of Package blueman (Project Base:System)

#
# spec file for package openSUSE:Factory:Contrib/blueman (Version 1.23)
#

Name:           blueman
Version:        1.23
Release:        1
License:        GPL-3.0
Source:         http://download.tuxfamily.org/%{name}/%{name}-%{version}.tar.gz
Group:          System/GUI/GNOME
Summary:        GTK+ Bluetooth Manager
Url:            http://blueman-project.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  update-desktop-files
BuildRequires:  -post-build-checks -rpmlint-Factory
BuildRequires:  glib2
BuildRequires:  gtk2-devel
BuildRequires:  python-devel
BuildRequires:  python-gobject2-devel
BuildRequires:  python-gtk-devel
BuildRequires:  bluez-devel
BuildRequires:  intltool
BuildRequires:  pyrex
BuildRequires:  startup-notification-devel
%if 0%{?suse_version} > 1130
BuildRequires:  python-notify-devel
%else
BuildRequires:  python-notify
%endif
BuildRequires:  dbus-1-python-devel
BuildRequires:  polkit-devel
%if 0%{?suse_version} >= 1220
BuildRequires:	autoconf
Recommends:  hal
%else
Requires:  hal
%endif
Requires:  polkit
Requires:  dbus-1-python
Requires:  python-gnome
Requires:  python-notify
Requires:  python-gtk
Requires:  python-gobject2
Requires:  startup-notification
Requires:  bluez
Requires:  obex-data-server

%description
Blueman is designed to be simple and intuitive for everyday bluetooth tasks such as:

    * Connecting to 3G/EDGE/GPRS via DUN profile.
    * Connecting to/Creating bluetooth networks
    * Connecting to input devices
    * Connecting to audio devices
    * Sending/Receiving/Browsing files via OBEX
    * Pairing

%lang_package  

%prep
%setup -q

%build
autoconf -f -i
%configure 

make

%install
%makeinstall DESTDIR=%{buildroot}
%find_lang %{name}
%suse_update_desktop_file -i blueman-manager

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/blueman-*
#%{_datadir}/PolicyKit/policy/org.blueman.policy
%{_datadir}/polkit-1/actions/org.blueman.policy
%{_datadir}/applications/blueman-manager.desktop
%{_datadir}/blueman
%{_datadir}/dbus-1/services/blueman-applet.service
%{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
%{_datadir}/icons/hicolor/*/apps/blueman.*
%{_libexecdir}/blueman-mechanism
%{_mandir}/man*/blueman-*.*
%{_sysconfdir}/dbus-1/system.d/org.blueman.Mechanism.conf
%{_sysconfdir}/xdg/autostart/blueman.desktop
%{py_prefix}/lib/python%{py_ver}/site-packages/*blueman*
%{_libdir}/nautilus-sendto/plugins/libnstblueman*

%ifarch x86_64
%{py_prefix}/lib64/python%{py_ver}/site-packages/*blueman*
%endif

%files lang -f %{name}.lang  

%changelog