]>
Commit | Line | Data |
---|---|---|
7e0fad4e | 1 | %define rev 106 |
5cc4ce65 MWP |
2 | Summary: Blueman - bluetooth management utility for GNOME |
3 | Name: blueman | |
7e0fad4e MWP |
4 | Version: 0.6 |
5 | Release: 0.%{rev}.1 | |
3c7b0773 | 6 | License: GPL |
5cc4ce65 | 7 | Group: Applications |
7e0fad4e MWP |
8 | Source0: http://download.tuxfamily.org/blueman/tarballs/%{name}-%{version}-r%{rev}.tar.gz |
9 | # Source0-md5: 0dd95fd39523b938cbe125bd21cf4934 | |
5cc4ce65 MWP |
10 | URL: http://blueman.tuxfamily.org/ |
11 | BuildRequires: bluez-libs-devel | |
12 | BuildRequires: gnome-bluetooth-devel | |
13 | BuildRequires: python-Pyrex | |
14 | BuildRequires: python-devel | |
15 | BuildRequires: python-devel >= 2.5 | |
16 | BuildRequires: python-distutils-extra | |
17 | BuildRequires: rpm-pythonprov | |
18 | Requires: bluez-libs >= 2.20 | |
19 | Requires: bluez-utils | |
20 | Requires: gtk+2 >= 2.12 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Blueman is a GTK+ bluetooth management utility for GNOME using bluez | |
25 | dbus backend. The aim is to create a full featured graphical bluetooth | |
26 | manager for Linux. | |
27 | ||
28 | Features: | |
29 | ||
30 | - Easy to use interface | |
31 | - Storing Favourite devices | |
32 | - Send files | |
33 | - Browse files on devices | |
34 | - List all seen devices | |
35 | - View Local/Remote Device information | |
36 | - View transfer speeds and link quality | |
37 | - Configure local devices | |
38 | - Manage Pairing (Bonding) | |
39 | - Host/Connect to Personal Area Networks | |
40 | - Bind services to /dev/rfcomm ports, for eg. connecting via gprs | |
41 | - Connect and receive connections from: audio, network, input and | |
42 | serial devices | |
43 | ||
44 | %prep | |
7e0fad4e | 45 | %setup -q -n %{name} |
5cc4ce65 MWP |
46 | |
47 | %build | |
4eaabbcf MWP |
48 | %{__sed} -i -e 's,lib/,%{_lib}/,g' setup.py |
49 | %{__sed} -i -e 's,lib/,%{_lib}/,g' sys/org.blueman.Mechanism.service | |
5cc4ce65 MWP |
50 | %{__python} setup.py build |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__python} setup.py install \ | |
56 | --root=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang %{name} --with-gnome | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files -f %{name}.lang | |
64 | %defattr(644,root,root,755) | |
65 | %doc README | |
66 | #%dir %{_sysconfdir} | |
67 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bluetooth/network.conf | |
68 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/org.blueman.Mechanism.conf | |
269ff996 | 69 | %attr(755,root,root) %{_libdir}/%{name} |
5cc4ce65 MWP |
70 | %attr(755,root,root) %{_bindir}/* |
71 | %{_datadir}/%{name} | |
72 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
7e0fad4e | 73 | %{_iconsdir}/hicolor/scalable/*/*.svg |
5cc4ce65 MWP |
74 | %{_iconsdir}/hicolor/*/apps/*.png |
75 | %{_datadir}/PolicyKit/policy/org.blueman.policy | |
76 | %{_desktopdir}/blueman.desktop | |
77 | %{py_sitedir}/%{name} | |
78 | %{py_sitedir}/%{name}-%{version}-py*.egg-info |