blueman-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Summary: Full featured bluetooth manager for GNOME/GTK
  2. Summary(ja): GNOME/GTK 用の高機能な Bluetooth マネージャ
  3. Name: blueman
  4. Version: 2.0.4
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. Url: https://github.com/blueman-project/blueman
  9. Source0: https://github.com/blueman-project/blueman/releases/download/2.0/%{name}-%{version}.tar.xz
  10. Buildroot: %{_tmppath}/%{name}-%{version}
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: perl(XML::Parser)
  13. BuildRequires: glib2-devel
  14. BuildRequires: gtk2-devel
  15. BuildRequires: pygtk2-devel
  16. BuildRequires: polkit-devel
  17. BuildRequires: intltool
  18. BuildRequires: startup-notification-devel
  19. BuildRequires: pygobject3-devel
  20. BuildRequires: Cython
  21. BuildRequires: notify-python
  22. BuildRequires: bluez-libs-devel >= 4.37
  23. BuildRequires: python-devel
  24. BuildRequires: python-pyrex
  25. BuildRequires: dbus-python
  26. Requires: bluez
  27. Requires: obex-data-server
  28. Requires: notify-python
  29. Requires: pygtk2
  30. Requires: dbus-python
  31. Requires: pygobject3
  32. Requires: Cython
  33. Requires: polkit
  34. Requires(postun,posttrans): glib2
  35. Requires(post,postun): desktop-file-utils
  36. Requires(post,postun): gtk2
  37. Provides: dbus-bluez-pin-helper
  38. Obsoletes: bluez-gnome < 1.9
  39. Vendor: Project Vine
  40. Distribution: Vine Linux
  41. Packager: daisuke
  42. %description
  43. Blueman is designed to provide simple, yet effective means for
  44. controlling BlueZ API and simplifying bluetooth tasks such as:
  45. * Connecting to 3G/EDGE/GPRS via dial-up
  46. * Connecting to/Creating bluetooth networks
  47. * Connecting to input devices
  48. * Connecting to audio devices
  49. * Sending/Receiving/Browsing files via OBEX
  50. * Pairing
  51. Blueman also integrates with Network Manager 0.7, so any Dialup/Network
  52. connections will be made available (via HAL) to Network Manager.
  53. %prep
  54. %setup -q
  55. %build
  56. %configure --disable-desktop-update --disable-icon-update --disable-schemas-install
  57. %__make %{?_smp_mflags}
  58. %install
  59. rm -rf %{buildroot}
  60. %__make install DESTDIR=${RPM_BUILD_ROOT}
  61. desktop-file-install --vendor="" \
  62. --add-category="GNOME;GTK" \
  63. --add-category="Settings;HardwareSettings" \
  64. --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}-manager.desktop
  65. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  66. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  67. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  68. %find_lang %{name}
  69. %clean
  70. rm -rf %{buildroot}
  71. %post
  72. update-desktop-database %{_datadir}/applications >& /dev/null || :
  73. touch --no-create %{_datadir}/icons/hicolor
  74. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  75. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  76. fi
  77. %postun
  78. update-desktop-database %{_datadir}/applications >& /dev/null || :
  79. touch --no-create %{_datadir}/icons/hicolor
  80. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  81. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  82. fi
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. %posttrans
  85. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  86. %files -f %{name}.lang
  87. %doc CHANGELOG.md COPYING FAQ README.md
  88. %defattr(-,root,root)
  89. %{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf
  90. %{_sysconfdir}/xdg/autostart/%{name}.desktop
  91. %{_bindir}/%{name}-*
  92. %{_datadir}/Thunar/sendto/thunar-sendto-%{name}.desktop
  93. %{_datadir}/applications/%{name}-adapters.desktop
  94. %{_datadir}/applications/%{name}-manager.desktop
  95. %{_datadir}/%{name}/ui/*.ui
  96. %{_datadir}/dbus-1/services/%{name}-applet.service
  97. %{_datadir}/dbus-1/system-services/org.%{name}*.service
  98. %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
  99. %{_datadir}/icons/hicolor/*/*/*
  100. %{_datadir}/pixmaps/%{name}
  101. %{_datadir}/polkit-1/actions/org.%{name}.policy
  102. %{_mandir}/man1/%{name}*1.*
  103. %{python_sitelib}/*
  104. %if %_lib == lib64
  105. %{python_sitearch}/*
  106. %endif
  107. %{_libexecdir}/%{name}-*
  108. %changelog
  109. * Wed Jun 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.4-1
  110. - new upstream release
  111. * Tue Jan 26 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.3-1
  112. - new upstream release
  113. (including security fix for CVE-2015-8612)
  114. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-2
  115. - rebuild with bluez-5.36
  116. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1
  117. - new upstream release
  118. * Sun Sep 06 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-2
  119. - remove Requires: polkit-gnome, gnome-python
  120. - add Requires: polkit
  121. * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-1
  122. - update to 2.0
  123. - add BuildRequires: polkit-devel, pygobject3-devel, Cython
  124. - remove BuildRequires: pygobject-devel
  125. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-4
  126. - rebuild with VineSeed environment
  127. * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-3
  128. - change Requires: polkit-gnome instead of PolicyKit-gnome
  129. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-2
  130. - rebuild with python-2.7.2
  131. * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-1
  132. - new upstream release
  133. * Mon Apr 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-4
  134. - rebuild with rpm-4.8.1
  135. * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-3
  136. - add BuildRequires: gtk2-devel
  137. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.21-2
  138. - rebuilt with python-2.6.4
  139. * Mon Jan 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.21-1
  140. - new upstream release
  141. * Mon Jan 04 2010 Shu KONNO <owa@bg.wakwak.com> 1.10-2
  142. - added _blueman to %%files (if lib64)
  143. * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-1
  144. - initial build for Vine Linux
  145. * Fri Mar 27 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-4mdv2009.1
  146. + Revision: 361574
  147. - don't explicitely requires notification-daemon
  148. * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-3mdv2009.1
  149. + Revision: 347587
  150. - requires python-blueman
  151. * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-2mdv2009.1
  152. + Revision: 347346
  153. - fix files
  154. - BR python-dbus
  155. - fix BR
  156. - BR python-devel
  157. - import blueman