updading blueman to version 2.1.3
[packages/blueman.git] / blueman.spec
CommitLineData
5cc4ce65
MWP
1Summary: Blueman - bluetooth management utility for GNOME
2Name: blueman
c8d32e64 3Version: 2.1.3
5759428a 4Release: 1
3c7b0773 5License: GPL
fa941284
L
6Group: X11/Applications
7Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz
c8d32e64 8# Source0-md5: b341822c8362bf9619fbbc22c957b00c
fa941284
L
9URL: https://github.com/blueman-project/blueman
10BuildRequires: autoconf
11BuildRequires: automake
c8d32e64
KM
12BuildRequires: bluez-libs-devel >= 5.0
13BuildRequires: caja-python-devel
14BuildRequires: cinnamon-nemo-python-devel
15e75860 15BuildRequires: gettext-tools
fa941284 16BuildRequires: glib2-devel >= 2.32
f081be6b 17BuildRequires: gtk+3-devel >= 3.12
fa941284 18BuildRequires: intltool >= 0.35.0
293276eb 19BuildRequires: libtool
c8d32e64 20BuildRequires: nautilus-python-devel
fa941284
L
21BuildRequires: pkgconfig >= 0.9.0
22BuildRequires: python-Cython
c8d32e64
KM
23BuildRequires: python-devel >= 3.3
24BuildRequires: python-pygobject3-common-devel >= 3.27.2
5cc4ce65 25BuildRequires: rpm-pythonprov
8c7796aa 26BuildRequires: rpmbuild(macros) >= 1.219
f0242065
AF
27Requires(post,postun): gtk-update-icon-cache
28Requires(post,postun): hicolor-icon-theme
c8d32e64
KM
29Requires(post,preun,postun): systemd-units >= 38
30Requires: bluez-libs >= 5.0
31Requires: bluez-utils >= 5.0
f081be6b 32Requires: gtk+3 >= 3.12
fa941284
L
33Requires: python >= %py_ver
34Requires: python-appindicator-gtk2
11ad311c 35Requires: python-bluetooth
11ad311c 36Requires: python-pygtk-gtk
c8d32e64
KM
37Suggests: pulseaudio-bluetooth
38Suggests: pulseaudio-hal
5cc4ce65
MWP
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Blueman is a GTK+ bluetooth management utility for GNOME using bluez
43dbus backend. The aim is to create a full featured graphical bluetooth
44manager for Linux.
45
46Features:
47
48- Easy to use interface
49- Storing Favourite devices
50- Send files
51- Browse files on devices
52- List all seen devices
53- View Local/Remote Device information
54- View transfer speeds and link quality
55- Configure local devices
56- Manage Pairing (Bonding)
57- Host/Connect to Personal Area Networks
58- Bind services to /dev/rfcomm ports, for eg. connecting via gprs
59- Connect and receive connections from: audio, network, input and
60 serial devices
61
c8d32e64
KM
62%package caja
63Summary: Blueman plugin for Caja
64Summary(pl.UTF-8): Wtyczka Blueman-a dla managera plików Caja
65Group: X11/Applications
66Requires: %{name} = %{version}
67Requires: caja-python
68
69%description caja
70Blueman plugin for Caja.
71
72%description caja -l pl.UTF-8
73Wtyczka Blueman-a dla managera plików Caja.
74
75%package nautilus
76Summary: Blueman plugin for Nautilus
77Summary(pl.UTF-8): Wtyczka Blueman-a dla Nautilus-a
78Group: X11/Applications
79Requires: %{name} = %{version}
80Requires: nautilus-python
81
82%description nautilus
83Blueman plugin for Nautilus.
84
85%description nautilus -l pl.UTF-8
86Wtyczka Blueman-a dla Nautilus-a.
87
88%package nemo
89Summary: Blueman plugin for Nemo
90Summary(pl.UTF-8): Wtyczka Blueman-a dla managera plików Nemo.
91Group: X11/Applications
92Requires: %{name} = %{version}
93Requires: cinnamon-nemo-python
94
95%description nemo
96Blueman plugin for Nautilus.
97
98%description nemo -l pl.UTF-8
99Wtyczka Blueman-a dla managera plików Nemo.
100
fa941284
L
101%package thunar
102Summary: Blueman plugin for Thunar
103Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a
104Group: X11/Applications
c8d32e64 105Requires: %{name} = %{version}
fa941284
L
106
107%description thunar
108Blueman plugin for Thunar.
109
110%description thunar -l pl.UTF-8
111Wtyczka Blueman-a dla Thunar-a.
112
5cc4ce65 113%prep
fb1a0cdd 114%setup -q
5cc4ce65
MWP
115
116%build
0348fefb 117%configure \
68bdd93d 118 --disable-static \
fa941284 119 --disable-schemas-compile \
c8d32e64
KM
120 --enable-polkit \
121 --enable-caja-sendto \
122 --enable-nemo-sendto \
123 --enable-nautilus-sendto \
124 --enable-thunar-sendto \
125 --enable-settings-integration
fa941284 126
fb1a0cdd 127%{__make}
5cc4ce65
MWP
128
129%install
130rm -rf $RPM_BUILD_ROOT
fb1a0cdd 131%{__make} install \
11ad311c 132 DESTDIR=$RPM_BUILD_ROOT
5cc4ce65 133
68bdd93d 134%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
c8d32e64 135%{__rm} $RPM_BUILD_ROOT%{_libdir}/python3.8/site-packages/_blueman.la
68bdd93d 136
5759428a
JR
137# DO NOT RUN py_postclean - breaks plugins and everything
138
5cc4ce65
MWP
139%find_lang %{name} --with-gnome
140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
8235d8ec 144%post
145%update_icon_cache hicolor
fa941284 146glib-compile-schemas %{_datadir}/glib-2.0/schemas
c8d32e64
KM
147%service %{name}-mechanism restart
148%systemd_post %{name}-mechanism.service
149
150%preun
151if [ "$1" = "0" ]; then
152 %service -q %{name}-mechanism stop
153fi
154%systemd_preun %{name}-mechanism.service
8235d8ec 155
156%postun
157%update_icon_cache hicolor
fa941284 158glib-compile-schemas %{_datadir}/glib-2.0/schemas
c8d32e64 159%systemd_reload
8235d8ec 160
5cc4ce65
MWP
161%files -f %{name}.lang
162%defattr(644,root,root,755)
fa941284 163%doc README.md CHANGELOG.md COPYING FAQ
fb1a0cdd 164%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf
017008df
ER
165%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop
166%attr(755,root,root) %{_bindir}/blueman-adapters
167%attr(755,root,root) %{_bindir}/blueman-applet
168%attr(755,root,root) %{_bindir}/blueman-assistant
017008df
ER
169%attr(755,root,root) %{_bindir}/blueman-manager
170%attr(755,root,root) %{_bindir}/blueman-report
171%attr(755,root,root) %{_bindir}/blueman-sendto
172%attr(755,root,root) %{_bindir}/blueman-services
c8d32e64 173%attr(755,root,root) %{_bindir}/blueman-tray
017008df
ER
174%{_mandir}/man1/blueman-adapters.1*
175%{_mandir}/man1/blueman-applet.1*
176%{_mandir}/man1/blueman-assistant.1*
017008df
ER
177%{_mandir}/man1/blueman-manager.1*
178%{_mandir}/man1/blueman-report.1
179%{_mandir}/man1/blueman-sendto.1*
180%{_mandir}/man1/blueman-services.1*
c8d32e64 181%{_mandir}/man1/blueman-tray.1*
5759428a
JR
182%attr(755,root,root) %{_libexecdir}/%{name}-mechanism
183%attr(755,root,root) %{_libexecdir}/%{name}-rfcomm-watcher
5cc4ce65
MWP
184%{_datadir}/%{name}
185%{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
017008df
ER
186%{_desktopdir}/blueman-manager.desktop
187%{_desktopdir}/blueman-adapters.desktop
7e0fad4e 188%{_iconsdir}/hicolor/scalable/*/*.svg
b8c4aac2 189%{_iconsdir}/hicolor/*/*/*.png
017008df
ER
190%dir %{_pixmapsdir}/blueman
191%{_pixmapsdir}/blueman/blueman-*.png
fa941284 192%{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml
c8d32e64
KM
193%{systemdunitdir}/blueman-mechanism.service
194%{systemduserunitdir}/blueman-applet.service
195%{_datadir}/dbus-1/services/org.blueman.Applet.service
afb5f40e 196%{_datadir}/polkit-1/actions/org.blueman.policy
c8d32e64
KM
197%{_datadir}/polkit-1/rules.d/blueman.rules
198%attr(755,root,root) %{_libdir}/python3.8/site-packages/_blueman.so
199%{_libdir}/python3.8/site-packages/%{name}
200
201%files caja
202%defattr(644,root,root,755)
203%{_datadir}/caja-python/extensions/caja_blueman_sendto.py
204
205%files nautilus
206%defattr(644,root,root,755)
207%{_datadir}/nautilus-python/extensions/nautilus_blueman_sendto.py
208
209%files nemo
210%defattr(644,root,root,755)
211%{_datadir}/nemo-python/extensions/nemo_blueman_sendto.py
fa941284
L
212
213%files thunar
214%defattr(644,root,root,755)
215%{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop
This page took 0.152749 seconds and 4 git commands to generate.