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