]> git.pld-linux.org Git - packages/blueman.git/blobdiff - blueman.spec
wtf duplicate doc? refs fa941284
[packages/blueman.git] / blueman.spec
index 30eda4dd4941ee1e2292f1ca3f7f672f431cbcc3..f6787fda891151e11f7cb7b52e74d5f6e8b22a67 100644 (file)
@@ -1,22 +1,37 @@
 Summary:       Blueman - bluetooth management utility for GNOME
 Name:          blueman
-Version:       0.5
-Release:       1
+Version:       2.0
+Release:       2
 License:       GPL
-Group:         Applications
-Source0:       http://download.tuxfamily.org/blueman/%{name}_%{version}.tar.gz
-# Source0-md5: f66861ce1d3c2162dc6682c0b67b8397
-URL:           http://blueman.tuxfamily.org/
-BuildRequires: bluez-libs-devel
-BuildRequires: gnome-bluetooth-devel
-BuildRequires: python-Pyrex
-BuildRequires: python-devel
-BuildRequires: python-devel >= 2.5
-BuildRequires: python-distutils-extra
+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
-Requires:      bluez-libs >= 2.20
-Requires:      bluez-utils
-Requires:      gtk+2 >= 2.12
+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+3 >= 3.12
+Requires:      python >= %py_ver
+Requires:      python-appindicator-gtk2
+Requires:      python-bluetooth
+Requires:      python-dbus
+Requires:      python-pygtk-gtk
+Requires:      python-pynotify
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,38 +55,71 @@ 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 -n %{name}_%{version}
+%setup -q
 
 %build
-%{__sed} -i -e 's,lib/,%{_lib}/,g' setup.py
-%{__sed} -i -e 's,lib/,%{_lib}/,g' sys/org.blueman.Mechanism.service
-%{__python} setup.py build
+export NOCONFIGURE='yes' && ./autogen.sh \
+       --enable-xfce-settings=yes \
+       --no-configure
+%configure \
+       --disable-schemas-compile \
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__python} setup.py install \
-       --root=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --with-gnome
 
 %clean
 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
-#%dir %{_sysconfdir}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bluetooth/network.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/org.blueman.Mechanism.conf
-%attr(755,root,root) %{_libdir}/%{name}
+%doc README.md CHANGELOG.md COPYING FAQ
+%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf
+%attr(755,root,root) %{_libdir}/%{name}-mechanism
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
-%{_iconsdir}/hicolor/scalable/apps/*.svg
-%{_iconsdir}/hicolor/*/apps/*.png
-%{_datadir}/PolicyKit/policy/org.blueman.policy
-%{_desktopdir}/blueman.desktop
-%{py_sitedir}/%{name}
-%{py_sitedir}/%{name}-%{version}-py*.egg-info
+%{_iconsdir}/hicolor/scalable/*/*.svg
+%{_iconsdir}/hicolor/*/*/*.png
+%{_libdir}/blueman-rfcomm-watcher
+%{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml
+%{_desktopdir}/blueman-manager.desktop
+%{py_sitedir}/*.so
+%{_desktopdir}/blueman-adapters.desktop
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop
+%{_mandir}/man1/*.1*
+%{_datadir}/dbus-1/services/blueman-applet.service
+%{py_sitescriptdir}/%{name}
+%dir %{_pixmapsdir}/blueman
+%{_pixmapsdir}/blueman/blueman-*.png
+%dir %{_docdir}/blueman
+%{_datadir}/polkit-1/actions/org.blueman.policy
+
+%files thunar
+%defattr(644,root,root,755)
+%{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop
This page took 0.071069 seconds and 4 git commands to generate.