- tell configure what and where the network config program is
[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 \
fc378da1 118 NETWORKTOOLS=/sbin/ip \
68bdd93d 119 --disable-static \
fa941284 120 --disable-schemas-compile \
c8d32e64
KM
121 --enable-polkit \
122 --enable-caja-sendto \
123 --enable-nemo-sendto \
124 --enable-nautilus-sendto \
125 --enable-thunar-sendto \
126 --enable-settings-integration
fa941284 127
fb1a0cdd 128%{__make}
5cc4ce65
MWP
129
130%install
131rm -rf $RPM_BUILD_ROOT
fb1a0cdd 132%{__make} install \
11ad311c 133 DESTDIR=$RPM_BUILD_ROOT
5cc4ce65 134
68bdd93d 135%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
c8d32e64 136%{__rm} $RPM_BUILD_ROOT%{_libdir}/python3.8/site-packages/_blueman.la
68bdd93d 137
5759428a
JR
138# DO NOT RUN py_postclean - breaks plugins and everything
139
5cc4ce65
MWP
140%find_lang %{name} --with-gnome
141
142%clean
143rm -rf $RPM_BUILD_ROOT
144
8235d8ec 145%post
146%update_icon_cache hicolor
fa941284 147glib-compile-schemas %{_datadir}/glib-2.0/schemas
c8d32e64
KM
148%service %{name}-mechanism restart
149%systemd_post %{name}-mechanism.service
150
151%preun
152if [ "$1" = "0" ]; then
153 %service -q %{name}-mechanism stop
154fi
155%systemd_preun %{name}-mechanism.service
8235d8ec 156
157%postun
158%update_icon_cache hicolor
fa941284 159glib-compile-schemas %{_datadir}/glib-2.0/schemas
c8d32e64 160%systemd_reload
8235d8ec 161
5cc4ce65
MWP
162%files -f %{name}.lang
163%defattr(644,root,root,755)
fa941284 164%doc README.md CHANGELOG.md COPYING FAQ
fb1a0cdd 165%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf
017008df
ER
166%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop
167%attr(755,root,root) %{_bindir}/blueman-adapters
168%attr(755,root,root) %{_bindir}/blueman-applet
169%attr(755,root,root) %{_bindir}/blueman-assistant
017008df
ER
170%attr(755,root,root) %{_bindir}/blueman-manager
171%attr(755,root,root) %{_bindir}/blueman-report
172%attr(755,root,root) %{_bindir}/blueman-sendto
173%attr(755,root,root) %{_bindir}/blueman-services
c8d32e64 174%attr(755,root,root) %{_bindir}/blueman-tray
017008df
ER
175%{_mandir}/man1/blueman-adapters.1*
176%{_mandir}/man1/blueman-applet.1*
177%{_mandir}/man1/blueman-assistant.1*
017008df
ER
178%{_mandir}/man1/blueman-manager.1*
179%{_mandir}/man1/blueman-report.1
180%{_mandir}/man1/blueman-sendto.1*
181%{_mandir}/man1/blueman-services.1*
c8d32e64 182%{_mandir}/man1/blueman-tray.1*
5759428a
JR
183%attr(755,root,root) %{_libexecdir}/%{name}-mechanism
184%attr(755,root,root) %{_libexecdir}/%{name}-rfcomm-watcher
5cc4ce65
MWP
185%{_datadir}/%{name}
186%{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
017008df
ER
187%{_desktopdir}/blueman-manager.desktop
188%{_desktopdir}/blueman-adapters.desktop
7e0fad4e 189%{_iconsdir}/hicolor/scalable/*/*.svg
b8c4aac2 190%{_iconsdir}/hicolor/*/*/*.png
017008df
ER
191%dir %{_pixmapsdir}/blueman
192%{_pixmapsdir}/blueman/blueman-*.png
fa941284 193%{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml
c8d32e64
KM
194%{systemdunitdir}/blueman-mechanism.service
195%{systemduserunitdir}/blueman-applet.service
196%{_datadir}/dbus-1/services/org.blueman.Applet.service
afb5f40e 197%{_datadir}/polkit-1/actions/org.blueman.policy
c8d32e64
KM
198%{_datadir}/polkit-1/rules.d/blueman.rules
199%attr(755,root,root) %{_libdir}/python3.8/site-packages/_blueman.so
200%{_libdir}/python3.8/site-packages/%{name}
201
202%files caja
203%defattr(644,root,root,755)
204%{_datadir}/caja-python/extensions/caja_blueman_sendto.py
205
206%files nautilus
207%defattr(644,root,root,755)
208%{_datadir}/nautilus-python/extensions/nautilus_blueman_sendto.py
209
210%files nemo
211%defattr(644,root,root,755)
212%{_datadir}/nemo-python/extensions/nemo_blueman_sendto.py
fa941284
L
213
214%files thunar
215%defattr(644,root,root,755)
216%{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop
This page took 0.237452 seconds and 4 git commands to generate.