|
@@ -2,36 +2,43 @@ Summary: Full featured bluetooth manager for GNOME/GTK
|
|
Summary(ja): GNOME/GTK 用の高機能な Bluetooth マネージャ
|
|
Summary(ja): GNOME/GTK 用の高機能な Bluetooth マネージャ
|
|
|
|
|
|
Name: blueman
|
|
Name: blueman
|
|
-Version: 1.23
|
|
+Version: 2.0
|
|
-Release: 4%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
-Url: http://blueman-project.org/
|
|
+Url: https://github.com/blueman-project/blueman
|
|
|
|
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
+Source0: https://github.com/blueman-project/blueman/releases/download/2.0/%{name}-%{version}.tar.xz
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}
|
|
Buildroot: %{_tmppath}/%{name}-%{version}
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: perl(XML::Parser)
|
|
BuildRequires: perl(XML::Parser)
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
-BuildRequires: GConf2-devel
|
|
|
|
BuildRequires: pygtk2-devel
|
|
BuildRequires: pygtk2-devel
|
|
|
|
+BuildRequires: polkit-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: intltool
|
|
BuildRequires: startup-notification-devel
|
|
BuildRequires: startup-notification-devel
|
|
-BuildRequires: pygobject-devel
|
|
+BuildRequires: pygobject3-devel
|
|
|
|
+BuildRequires: Cython
|
|
BuildRequires: notify-python
|
|
BuildRequires: notify-python
|
|
BuildRequires: bluez-libs-devel >= 4.37
|
|
BuildRequires: bluez-libs-devel >= 4.37
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-pyrex
|
|
BuildRequires: python-pyrex
|
|
BuildRequires: dbus-python
|
|
BuildRequires: dbus-python
|
|
|
|
+Requires: bluez
|
|
Requires: obex-data-server
|
|
Requires: obex-data-server
|
|
Requires: notify-python
|
|
Requires: notify-python
|
|
Requires: pygtk2
|
|
Requires: pygtk2
|
|
Requires: gnome-python
|
|
Requires: gnome-python
|
|
Requires: dbus-python
|
|
Requires: dbus-python
|
|
-Requires: pygobject
|
|
+Requires: pygobject3
|
|
|
|
+Requires: Cython
|
|
Requires: polkit-gnome
|
|
Requires: polkit-gnome
|
|
|
|
+Requires(postun,posttrans): glib2
|
|
|
|
+Requires(post,postun): desktop-file-utils
|
|
|
|
+Requires(post,postun): gtk2
|
|
|
|
+
|
|
Provides: dbus-bluez-pin-helper
|
|
Provides: dbus-bluez-pin-helper
|
|
|
|
|
|
Obsoletes: bluez-gnome < 1.9
|
|
Obsoletes: bluez-gnome < 1.9
|
|
@@ -66,10 +73,6 @@ Blueman also integrates with Network Manager 0.7, so any Dialup/Network
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
%__make install DESTDIR=${RPM_BUILD_ROOT}
|
|
%__make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/devices
|
|
|
|
-cp $RPM_BUILD_ROOT%{_datadir}/blueman/icons/hicolor/scalable/devices/* \
|
|
|
|
- $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/devices/
|
|
|
|
-
|
|
|
|
desktop-file-install --vendor="" \
|
|
desktop-file-install --vendor="" \
|
|
--add-category="GNOME;GTK" \
|
|
--add-category="GNOME;GTK" \
|
|
--add-category="Settings;HardwareSettings" \
|
|
--add-category="Settings;HardwareSettings" \
|
|
@@ -78,62 +81,48 @@ desktop-file-install --vendor="" \
|
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%post
|
|
%post
|
|
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
-gconftool-2 --makefile-install-rule \
|
|
|
|
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
|
|
|
|
update-desktop-database %{_datadir}/applications >& /dev/null || :
|
|
update-desktop-database %{_datadir}/applications >& /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
-%pre
|
|
|
|
-if [ "$1" -gt 1 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-if [ "$1" -eq 0 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_sysconfdir}/gconf/schemas/blueman-manager.schemas >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
%postun
|
|
%postun
|
|
update-desktop-database %{_datadir}/applications >& /dev/null || :
|
|
update-desktop-database %{_datadir}/applications >& /dev/null || :
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
|
|
fi
|
|
fi
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
+
|
|
|
|
+%posttrans
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
|
|
+%doc CHANGELOG.md COPYING FAQ README.md
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf
|
|
%{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf
|
|
%{_sysconfdir}/xdg/autostart/%{name}.desktop
|
|
%{_sysconfdir}/xdg/autostart/%{name}.desktop
|
|
%{_bindir}/%{name}-*
|
|
%{_bindir}/%{name}-*
|
|
-%{_libdir}/nautilus-sendto/plugins/libnstblueman.so
|
|
+%{_datadir}/Thunar/sendto/thunar-sendto-%{name}.desktop
|
|
|
|
+%{_datadir}/applications/%{name}-adapters.desktop
|
|
%{_datadir}/applications/%{name}-manager.desktop
|
|
%{_datadir}/applications/%{name}-manager.desktop
|
|
%{_datadir}/%{name}/ui/*.ui
|
|
%{_datadir}/%{name}/ui/*.ui
|
|
-%{_datadir}/%{name}/icons/hicolor/*/*s/*.png
|
|
|
|
-%{_datadir}/%{name}/icons/hicolor/scalable/status/*.svg
|
|
|
|
-%{_datadir}/%{name}/icons/hicolor/scalable/actions/*.svg
|
|
|
|
-%{_datadir}/icons/hicolor/scalable/devices/*.svg
|
|
|
|
-%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
-%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
|
|
-%{_datadir}/blueman/icons/hicolor/scalable/devices/blueman-device.svg
|
|
|
|
-%{_datadir}/blueman/icons/hicolor/scalable/devices/blueman-serial.svg
|
|
|
|
%{_datadir}/dbus-1/services/%{name}-applet.service
|
|
%{_datadir}/dbus-1/services/%{name}-applet.service
|
|
%{_datadir}/dbus-1/system-services/org.%{name}*.service
|
|
%{_datadir}/dbus-1/system-services/org.%{name}*.service
|
|
-%{_datadir}/polkit-1/actions/org.blueman.policy
|
|
+%{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
+%{_datadir}/pixmaps/%{name}
|
|
|
|
+%{_datadir}/polkit-1/actions/org.%{name}.policy
|
|
%{_mandir}/man1/%{name}*1.*
|
|
%{_mandir}/man1/%{name}*1.*
|
|
%{python_sitelib}/*
|
|
%{python_sitelib}/*
|
|
%if %_lib == lib64
|
|
%if %_lib == lib64
|
|
@@ -143,6 +132,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-1
|
|
|
|
+- update to 2.0
|
|
|
|
+- add BuildRequires: polkit-devel, pygobject3-devel, Cython
|
|
|
|
+- remove BuildRequires: pygobject-devel
|
|
|
|
+
|
|
* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-4
|
|
* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-4
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
|
|
|