]>
Commit | Line | Data |
---|---|---|
26a66f4f ER |
1 | # TODO |
2 | # unpackaged | |
3 | # /usr/lib/nautilus-sendto/plugins/libnstblueman.a | |
4 | # /usr/lib/nautilus-sendto/plugins/libnstblueman.la | |
5 | # /usr/lib/nautilus-sendto/plugins/libnstblueman.so | |
5cc4ce65 MWP |
6 | Summary: Blueman - bluetooth management utility for GNOME |
7 | Name: blueman | |
26a66f4f | 8 | Version: 1.23 |
b8c4aac2 | 9 | Release: 3 |
3c7b0773 | 10 | License: GPL |
5cc4ce65 | 11 | Group: Applications |
fb1a0cdd | 12 | Source0: http://download.tuxfamily.org/blueman/%{name}-%{version}.tar.gz |
26a66f4f | 13 | # Source0-md5: f0bee59589f4c23e35bf08c2ef8acaef |
b8c4aac2 JR |
14 | Patch0: missing-icons.patch |
15 | Patch1: icon-active.patch | |
5cc4ce65 MWP |
16 | URL: http://blueman.tuxfamily.org/ |
17 | BuildRequires: bluez-libs-devel | |
e84511d9 | 18 | BuildRequires: gettext-devel |
5cc4ce65 | 19 | BuildRequires: gnome-bluetooth-devel |
e84511d9 | 20 | BuildRequires: intltool |
b8c4aac2 | 21 | BuildRequires: librsvg |
44d265e7 | 22 | BuildRequires: pkgconfig |
5cc4ce65 | 23 | BuildRequires: python-Pyrex |
fb1a0cdd | 24 | BuildRequires: python-dbus-devel |
5cc4ce65 MWP |
25 | BuildRequires: python-devel >= 2.5 |
26 | BuildRequires: python-distutils-extra | |
3d942288 | 27 | BuildRequires: python-pynotify-devel |
5cc4ce65 | 28 | BuildRequires: rpm-pythonprov |
c6c66b9e | 29 | BuildRequires: startup-notification-devel |
f0242065 AF |
30 | Requires(post,postun): gtk-update-icon-cache |
31 | Requires(post,postun): hicolor-icon-theme | |
1d6da7c9 MWP |
32 | Requires: bluez-libs >= 4.25 |
33 | Requires: bluez-utils >= 4.25 | |
5cc4ce65 | 34 | Requires: gtk+2 >= 2.12 |
11ad311c TP |
35 | %pyrequires_eq python = %py_ver |
36 | Requires: python-bluetooth | |
37 | Requires: python-dbus | |
38 | Requires: python-pygtk-gtk | |
39 | Requires: python-pynotify | |
5cc4ce65 MWP |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %description | |
43 | Blueman is a GTK+ bluetooth management utility for GNOME using bluez | |
44 | dbus backend. The aim is to create a full featured graphical bluetooth | |
45 | manager for Linux. | |
46 | ||
47 | Features: | |
48 | ||
49 | - Easy to use interface | |
50 | - Storing Favourite devices | |
51 | - Send files | |
52 | - Browse files on devices | |
53 | - List all seen devices | |
54 | - View Local/Remote Device information | |
55 | - View transfer speeds and link quality | |
56 | - Configure local devices | |
57 | - Manage Pairing (Bonding) | |
58 | - Host/Connect to Personal Area Networks | |
59 | - Bind services to /dev/rfcomm ports, for eg. connecting via gprs | |
60 | - Connect and receive connections from: audio, network, input and | |
61 | serial devices | |
62 | ||
63 | %prep | |
fb1a0cdd | 64 | %setup -q |
ad01613c | 65 | %patch0 -p1 |
b8c4aac2 | 66 | %patch1 -p1 |
5cc4ce65 MWP |
67 | |
68 | %build | |
0348fefb JR |
69 | %configure \ |
70 | --disable-hal | |
71 | ||
fb1a0cdd | 72 | %{__make} |
5cc4ce65 MWP |
73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
fb1a0cdd | 77 | %{__make} install \ |
11ad311c | 78 | DESTDIR=$RPM_BUILD_ROOT |
5cc4ce65 | 79 | |
b8c4aac2 JR |
80 | for s in 16 32 48 ; do |
81 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status | |
82 | rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray.png \ | |
83 | data/icons/hicolor/scalable/status/blueman-tray.svg | |
84 | rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray-active.png \ | |
85 | data/icons/hicolor/scalable/status/blueman-tray-active.svg | |
86 | rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray-disabled.png \ | |
87 | data/icons/hicolor/scalable/status/blueman-tray-disabled.svg | |
88 | done | |
89 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/status | |
90 | install data/icons/hicolor/scalable/status/*.svg $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/status | |
91 | ||
5cc4ce65 MWP |
92 | %find_lang %{name} --with-gnome |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
8235d8ec | 97 | %post |
98 | %update_icon_cache hicolor | |
99 | ||
100 | %postun | |
101 | %update_icon_cache hicolor | |
102 | ||
5cc4ce65 MWP |
103 | %files -f %{name}.lang |
104 | %defattr(644,root,root,755) | |
105 | %doc README | |
fb1a0cdd MWP |
106 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf |
107 | %attr(755,root,root) %{_libdir}/%{name}-mechanism | |
5cc4ce65 MWP |
108 | %attr(755,root,root) %{_bindir}/* |
109 | %{_datadir}/%{name} | |
110 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
7e0fad4e | 111 | %{_iconsdir}/hicolor/scalable/*/*.svg |
b8c4aac2 | 112 | %{_iconsdir}/hicolor/*/*/*.png |
c6c66b9e | 113 | %{_datadir}/polkit-1/actions/org.blueman.policy |
fb1a0cdd MWP |
114 | %{_desktopdir}/blueman-manager.desktop |
115 | %{py_sitedir}/*.so | |
116 | %{py_sitedir}/*.a | |
117 | %{py_sitedir}/*.la | |
118 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop | |
119 | %{_mandir}/man1/*.1* | |
120 | %{_datadir}/dbus-1/services/blueman-applet.service | |
fb1a0cdd | 121 | %{py_sitescriptdir}/%{name} |