123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- Summary: Full featured bluetooth manager for GNOME/GTK
- Summary(ja): GNOME/GTK 用の高機能な Bluetooth マネージャ
- Name: blueman
- Version: 1.21
- Release: 3%{?_dist_release}
- License: GPLv2+
- Group: Applications/System
- Url: http://blueman-project.org/
- Source0: %{name}-%{version}.tar.gz
- Buildroot: %{_tmppath}/%{name}-%{version}
- BuildRequires: desktop-file-utils
- BuildRequires: perl(XML::Parser)
- BuildRequires: glib2-devel
- BuildRequires: gtk2-devel
- BuildRequires: GConf2-devel
- BuildRequires: pygtk2-devel
- BuildRequires: intltool
- BuildRequires: startup-notification-devel
- BuildRequires: pygobject-devel
- BuildRequires: notify-python
- BuildRequires: bluez-libs-devel >= 4.37
- BuildRequires: python-devel
- BuildRequires: python-pyrex
- BuildRequires: dbus-python
- Requires: obex-data-server
- Requires: notify-python
- Requires: pygtk2
- Requires: gnome-python
- Requires: dbus-python
- Requires: pygobject
- Requires: PolicyKit-gnome
- Provides: dbus-bluez-pin-helper
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: daisuke
- %description
- Blueman is designed to provide simple, yet effective means for
- controlling BlueZ API and simplifying bluetooth tasks such as:
- * Connecting to 3G/EDGE/GPRS via dial-up
- * Connecting to/Creating bluetooth networks
- * Connecting to input devices
- * Connecting to audio devices
- * Sending/Receiving/Browsing files via OBEX
- * Pairing
- Blueman also integrates with Network Manager 0.7, so any Dialup/Network
- connections will be made available (via HAL) to Network Manager.
- %prep
- %setup -q
- %build
- %configure --disable-desktop-update --disable-icon-update --disable-schemas-install
- %__make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- %__make install DESTDIR=${RPM_BUILD_ROOT}
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/devices
- cp $RPM_BUILD_ROOT%{_datadir}/blueman/icons/hicolor/scalable/devices/* \
- $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/devices/
- desktop-file-install --vendor="" \
- --add-category="GNOME;GTK" \
- --add-category="Settings;HardwareSettings" \
- --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}-manager.desktop
- %find_lang %{name}
- %clean
- rm -rf %{buildroot}
- %post
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
- update-desktop-database %{_datadir}/applications >& /dev/null || :
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
-
- %pre
- if [ "$1" -gt 1 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
- fi
- %postun
- update-desktop-database %{_datadir}/applications >& /dev/null || :
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
- %files -f %{name}.lang
- %defattr(-,root,root)
- %{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf
- %{_sysconfdir}/xdg/autostart/%{name}.desktop
- %{_bindir}/%{name}-*
- %{_datadir}/applications/%{name}-manager.desktop
- %{_datadir}/%{name}/ui/*.ui
- %{_datadir}/%{name}/icons/hicolor/*/*s/*.png
- %{_datadir}/%{name}/icons/hicolor/scalable/status/*.svg
- %{_datadir}/%{name}/icons/hicolor/scalable/actions/*.svg
- %{_datadir}/icons/hicolor/scalable/devices/*.svg
- %{_datadir}/icons/hicolor/*/apps/*.png
- %{_datadir}/icons/hicolor/scalable/apps/*.svg
- %{_datadir}/blueman/icons/hicolor/scalable/devices/blueman-device.svg
- %{_datadir}/blueman/icons/hicolor/scalable/devices/blueman-serial.svg
- %{_datadir}/dbus-1/services/%{name}-applet.service
- %{_datadir}/dbus-1/system-services/org.%{name}*.service
- %{_datadir}/polkit-1/actions/org.blueman.policy
- %{_mandir}/man1/%{name}*1.*
- %{python_sitelib}/*
- %if %_lib == lib64
- %{python_sitearch}/*
- %endif
- %{_libexecdir}/%{name}-*
- %changelog
- * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-3
- - add BuildRequires: gtk2-devel
- * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.21-2
- - rebuilt with python-2.6.4
- * Mon Jan 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.21-1
- - new upstream release
- * Mon Jan 04 2010 Shu KONNO <owa@bg.wakwak.com> 1.10-2
- - added _blueman to %%files (if lib64)
- * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-1
- - initial build for Vine Linux
- * Fri Mar 27 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-4mdv2009.1
- + Revision: 361574
- - don't explicitely requires notification-daemon
- * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-3mdv2009.1
- + Revision: 347587
- - requires python-blueman
- * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-2mdv2009.1
- + Revision: 347346
- - fix files
- - BR python-dbus
- - fix BR
- - BR python-devel
- - import blueman
|