BuildRequires: python-devel >= 2.7
BuildRequires: python-pygobject3-common-devel
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires: bluez-libs >= 4.25
%setup -q
%build
-export NOCONFIGURE='yes' && ./autogen.sh \
- --enable-xfce-settings=yes \
- --no-configure
+%{__aclocal}
+%{__autoheader}
+%{__libtoolize}
+%{__intltoolize}
+%{__automake}
+%{__autoconf}
%configure \
+ --enable-xfce-settings=yes \
--disable-static \
--disable-schemas-compile \
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_blueman.la
+%py_postclean
%find_lang %{name} --with-gnome
%clean
%{_mandir}/man1/blueman-sendto.1*
%{_mandir}/man1/blueman-services.1*
%attr(755,root,root) %{_libdir}/%{name}-mechanism
+%attr(755,root,root) %{_libdir}/%{name}-rfcomm-watcher
%{_datadir}/%{name}
%{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
%{_desktopdir}/blueman-manager.desktop
%{_iconsdir}/hicolor/*/*/*.png
%dir %{_pixmapsdir}/blueman
%{_pixmapsdir}/blueman/blueman-*.png
-%{_libdir}/blueman-rfcomm-watcher
%{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml
%{_datadir}/dbus-1/services/blueman-applet.service
%{_datadir}/polkit-1/actions/org.blueman.policy