]>
Commit | Line | Data |
---|---|---|
1 | Summary: Blueman - bluetooth management utility for GNOME | |
2 | Name: blueman | |
3 | Version: 2.0 | |
4 | Release: 2 | |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: d95270145475ce41a33bf7390afe3428 | |
9 | URL: https://github.com/blueman-project/blueman | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: bluez-libs-devel >= 4.61 | |
13 | BuildRequires: gettext-tools | |
14 | BuildRequires: glib2-devel >= 2.32 | |
15 | BuildRequires: gtk+3-devel >= 3.12 | |
16 | BuildRequires: intltool >= 0.35.0 | |
17 | BuildRequires: libtool | |
18 | BuildRequires: pkgconfig >= 0.9.0 | |
19 | BuildRequires: python-Cython | |
20 | BuildRequires: python-dbus | |
21 | BuildRequires: python-devel >= 2.7 | |
22 | BuildRequires: python-pygobject3-common-devel | |
23 | BuildRequires: rpm-pythonprov | |
24 | Requires(post,postun): gtk-update-icon-cache | |
25 | Requires(post,postun): hicolor-icon-theme | |
26 | Requires: bluez-libs >= 4.25 | |
27 | Requires: bluez-utils >= 4.25 | |
28 | Requires: gtk+3 >= 3.12 | |
29 | Requires: python >= %py_ver | |
30 | Requires: python-appindicator-gtk2 | |
31 | Requires: python-bluetooth | |
32 | Requires: python-dbus | |
33 | Requires: python-pygtk-gtk | |
34 | Requires: python-pynotify | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Blueman is a GTK+ bluetooth management utility for GNOME using bluez | |
39 | dbus backend. The aim is to create a full featured graphical bluetooth | |
40 | manager for Linux. | |
41 | ||
42 | Features: | |
43 | ||
44 | - Easy to use interface | |
45 | - Storing Favourite devices | |
46 | - Send files | |
47 | - Browse files on devices | |
48 | - List all seen devices | |
49 | - View Local/Remote Device information | |
50 | - View transfer speeds and link quality | |
51 | - Configure local devices | |
52 | - Manage Pairing (Bonding) | |
53 | - Host/Connect to Personal Area Networks | |
54 | - Bind services to /dev/rfcomm ports, for eg. connecting via gprs | |
55 | - Connect and receive connections from: audio, network, input and | |
56 | serial devices | |
57 | ||
58 | %package thunar | |
59 | Summary: Blueman plugin for Thunar | |
60 | Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a | |
61 | Group: X11/Applications | |
62 | ||
63 | %description thunar | |
64 | Blueman plugin for Thunar. | |
65 | ||
66 | %description thunar -l pl.UTF-8 | |
67 | Wtyczka Blueman-a dla Thunar-a. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
73 | export NOCONFIGURE='yes' && ./autogen.sh \ | |
74 | --enable-xfce-settings=yes \ | |
75 | --no-configure | |
76 | %configure \ | |
77 | --disable-schemas-compile \ | |
78 | ||
79 | %{__make} | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %find_lang %{name} --with-gnome | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post | |
92 | %update_icon_cache hicolor | |
93 | libtool --finish %{py_sitedir} | |
94 | glib-compile-schemas %{_datadir}/glib-2.0/schemas | |
95 | ||
96 | %postun | |
97 | %update_icon_cache hicolor | |
98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas | |
99 | ||
100 | %files -f %{name}.lang | |
101 | %defattr(644,root,root,755) | |
102 | %doc README.md CHANGELOG.md COPYING FAQ | |
103 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf | |
104 | %attr(755,root,root) %{_libdir}/%{name}-mechanism | |
105 | %attr(755,root,root) %{_bindir}/* | |
106 | %{_datadir}/%{name} | |
107 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
108 | %{_iconsdir}/hicolor/scalable/*/*.svg | |
109 | %{_iconsdir}/hicolor/*/*/*.png | |
110 | %{_libdir}/blueman-rfcomm-watcher | |
111 | %{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml | |
112 | %{_desktopdir}/blueman-manager.desktop | |
113 | %{py_sitedir}/*.so | |
114 | %{py_sitedir}/*.a | |
115 | %{py_sitedir}/*.la | |
116 | %{_desktopdir}/blueman-adapters.desktop | |
117 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop | |
118 | %{_mandir}/man1/*.1* | |
119 | %{_datadir}/dbus-1/services/blueman-applet.service | |
120 | %{py_sitescriptdir}/%{name} | |
121 | %dir %{_pixmapsdir}/blueman | |
122 | %{_pixmapsdir}/blueman/blueman-*.png | |
123 | %dir %{_docdir}/blueman | |
124 | %{_docdir}/blueman/* | |
125 | %{_datadir}/polkit-1/actions/org.blueman.policy | |
126 | ||
127 | %files thunar | |
128 | %defattr(644,root,root,755) | |
129 | %{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop |