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