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