]> git.pld-linux.org Git - packages/blueman.git/blobdiff - blueman.spec
- up to 1.23
[packages/blueman.git] / blueman.spec
index 887410e65837b059b9366680163d9ee83409a936..c40d2120c0a675754b2d61b343a79e92edfd1b62 100644 (file)
@@ -1,22 +1,39 @@
+# TODO
+# unpackaged
+#   /usr/lib/nautilus-sendto/plugins/libnstblueman.a
+#   /usr/lib/nautilus-sendto/plugins/libnstblueman.la
+#   /usr/lib/nautilus-sendto/plugins/libnstblueman.so
 Summary:       Blueman - bluetooth management utility for GNOME
 Name:          blueman
-Version:       0.5
-Release:       0.2
+Version:       1.23
+Release:       1
 License:       GPL
 Group:         Applications
-Source0:       http://download.tuxfamily.org/blueman/%{name}_%{version}.tar.gz
-# Source0-md5: f66861ce1d3c2162dc6682c0b67b8397
+Source0:       http://download.tuxfamily.org/blueman/%{name}-%{version}.tar.gz
+# Source0-md5: f0bee59589f4c23e35bf08c2ef8acaef
 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-devel
+BuildRequires: python-dbus-devel
 BuildRequires: python-devel >= 2.5
 BuildRequires: python-distutils-extra
+BuildRequires: python-pynotify-devel
 BuildRequires: rpm-pythonprov
-Requires:      bluez-libs >= 2.20
-Requires:      bluez-utils
+BuildRequires: startup-notification-devel
+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:      python-bluetooth
+Requires:      python-dbus
+Requires:      python-pygtk-gtk
+Requires:      python-pynotify
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,37 +58,47 @@ Features:
   serial devices
 
 %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
+%configure \
+       --disable-hal
+
+%{__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
+
+%postun
+%update_icon_cache hicolor
+
 %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) %{_prefix}/lib/%{name}
+%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/scalable/*/*.svg
 %{_iconsdir}/hicolor/*/apps/*.png
-%{_datadir}/PolicyKit/policy/org.blueman.policy
-%{_desktopdir}/blueman.desktop
-%{py_sitedir}/%{name}
-%{py_sitedir}/%{name}-%{version}-py*.egg-info
+%{_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*
+%{_datadir}/dbus-1/services/blueman-applet.service
+%{py_sitescriptdir}/%{name}
This page took 0.116826 seconds and 4 git commands to generate.