X-Git-Url: http://git.pld-linux.org/?p=packages%2Fblueman.git;a=blobdiff_plain;f=blueman.spec;h=e25646998f7396c942e2f4deb64719fe999f561d;hp=adcb9ec0295064b376c7f375a3bd2d69492e1d2f;hb=8c7796a;hpb=8235d8ec5d559a2aec37892761477bb52aa7490f diff --git a/blueman.spec b/blueman.spec index adcb9ec..e256469 100644 --- a/blueman.spec +++ b/blueman.spec @@ -1,29 +1,34 @@ -%define rev 106 Summary: Blueman - bluetooth management utility for GNOME Name: blueman -Version: 1.21 +Version: 2.0 Release: 2 License: GPL -Group: Applications -Source0: http://download.tuxfamily.org/blueman/%{name}-%{version}.tar.gz -# Source0-md5: 26b70341b3d3da28da62c917c8b20377 -URL: http://blueman.tuxfamily.org/ -BuildRequires: bluez-libs-devel -BuildRequires: gettext-devel -BuildRequires: gnome-bluetooth-devel -BuildRequires: intltool -BuildRequires: pkgconfig -BuildRequires: python-Pyrex -BuildRequires: python-dbus-devel -BuildRequires: python-devel >= 2.5 -BuildRequires: python-distutils-extra -BuildRequires: python-pynotify-devel +Group: X11/Applications +Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz +# Source0-md5: d95270145475ce41a33bf7390afe3428 +URL: https://github.com/blueman-project/blueman +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bluez-libs-devel >= 4.61 +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 2.32 +BuildRequires: gtk+3-devel >= 3.12 +BuildRequires: intltool >= 0.35.0 +BuildRequires: libtool +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: python-Cython +BuildRequires: python-dbus +BuildRequires: python-devel >= 2.7 +BuildRequires: python-pygobject3-common-devel BuildRequires: rpm-pythonprov -BuildRequires: startup-notification-devel +BuildRequires: rpmbuild(macros) >= 1.219 +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): hicolor-icon-theme Requires: bluez-libs >= 4.25 Requires: bluez-utils >= 4.25 -Requires: gtk+2 >= 2.12 -%pyrequires_eq python = %py_ver +Requires: gtk+3 >= 3.12 +Requires: python >= %py_ver +Requires: python-appindicator-gtk2 Requires: python-bluetooth Requires: python-dbus Requires: python-pygtk-gtk @@ -51,22 +56,43 @@ Features: - Connect and receive connections from: audio, network, input and serial devices +%package thunar +Summary: Blueman plugin for Thunar +Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a +Group: X11/Applications + +%description thunar +Blueman plugin for Thunar. + +%description thunar -l pl.UTF-8 +Wtyczka Blueman-a dla Thunar-a. + %prep %setup -q %build -%configure -# enable default path for fdi installation -sed -i -e s/#hal_fdi/hal_fdi/g data/configs/Makefile -#--with-dhcp-config=PATH +%{__aclocal} +%{__autoheader} +%{__libtoolize} +%{__intltoolize} +%{__automake} +%{__autoconf} +%configure \ + --enable-xfce-settings=yes \ + --disable-static \ + --disable-schemas-compile \ + %{__make} %install rm -rf $RPM_BUILD_ROOT - %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} +%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_blueman.la + +%py_postclean %find_lang %{name} --with-gnome %clean @@ -74,27 +100,49 @@ rm -rf $RPM_BUILD_ROOT %post %update_icon_cache hicolor +glib-compile-schemas %{_datadir}/glib-2.0/schemas %postun %update_icon_cache hicolor +glib-compile-schemas %{_datadir}/glib-2.0/schemas %files -f %{name}.lang %defattr(644,root,root,755) -%doc README +%doc README.md CHANGELOG.md COPYING FAQ %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop +%attr(755,root,root) %{_bindir}/blueman-adapters +%attr(755,root,root) %{_bindir}/blueman-applet +%attr(755,root,root) %{_bindir}/blueman-assistant +%attr(755,root,root) %{_bindir}/blueman-browse +%attr(755,root,root) %{_bindir}/blueman-manager +%attr(755,root,root) %{_bindir}/blueman-report +%attr(755,root,root) %{_bindir}/blueman-sendto +%attr(755,root,root) %{_bindir}/blueman-services +%{_mandir}/man1/blueman-adapters.1* +%{_mandir}/man1/blueman-applet.1* +%{_mandir}/man1/blueman-assistant.1* +%{_mandir}/man1/blueman-browse.1* +%{_mandir}/man1/blueman-manager.1* +%{_mandir}/man1/blueman-report.1 +%{_mandir}/man1/blueman-sendto.1* +%{_mandir}/man1/blueman-services.1* %attr(755,root,root) %{_libdir}/%{name}-mechanism -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/%{name}-rfcomm-watcher %{_datadir}/%{name} %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service -%{_iconsdir}/hicolor/scalable/*/*.svg -%{_iconsdir}/hicolor/*/apps/*.png -%{_datadir}/polkit-1/actions/org.blueman.policy %{_desktopdir}/blueman-manager.desktop -%{py_sitedir}/*.so -%{py_sitedir}/*.a -%{py_sitedir}/*.la -%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop -%{_mandir}/man1/*.1* +%{_desktopdir}/blueman-adapters.desktop +%{_iconsdir}/hicolor/scalable/*/*.svg +%{_iconsdir}/hicolor/*/*/*.png +%dir %{_pixmapsdir}/blueman +%{_pixmapsdir}/blueman/blueman-*.png +%{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml %{_datadir}/dbus-1/services/blueman-applet.service -%{_datadir}/hal/fdi/information/20thirdparty/11-blueman-bnep.fdi +%{_datadir}/polkit-1/actions/org.blueman.policy +%attr(755,root,root) %{py_sitedir}/_blueman.so %{py_sitescriptdir}/%{name} + +%files thunar +%defattr(644,root,root,755) +%{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop