bluez-gnome-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. Name: bluez-gnome
  2. Version: 1.8
  3. Release: 3%{?_dist_release}
  4. Summary: Bluetooth pairing and control applet
  5. Summary(ja): Bluetooth ペアリングとコントロールのアプレット
  6. Group: Applications/System
  7. License: GPLv2+
  8. URL: http://www.bluez.org/
  9. Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
  10. Patch0: bluetooth-sendto-ods-svn.patch
  11. # http://thread.gmane.org/gmane.linux.bluez.kernel/535
  12. Patch1: 0001-Fix-PS3-BD-remote-pairing.patch
  13. #----------------------------------------------------------------------------
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. #----------------------------------------------------------------------------
  16. BuildRequires: dbus-devel >= 1.0
  17. BuildRequires: gtk2-devel >= 2.10
  18. BuildRequires: GConf2-devel, libnotify-devel
  19. BuildRequires: dbus-glib-devel, perl-XML-Parser, intltool
  20. BuildRequires: desktop-file-utils, gettext
  21. BuildRequires: hal-devel
  22. # virtual package
  23. Provides: dbus-bluez-pin-helper
  24. Obsoletes: bluez-pin
  25. ExcludeArch: s390 s390x
  26. Requires: gvfs >= 0.99.1
  27. #### Gnome より引用
  28. # GVFS とはユーザ空間の仮想ファイルシステムであり、SFTP や FTP、DAV、SMB、
  29. # ObexFTP といった各種プロトコルのバックエンドを持ちます。GVFS は従来の
  30. # GNOME-VFS に置き換わるものです。
  31. # ※現在(2008年)のところ GNOME-VFS は廃止する方向で検討されており、GNOME
  32. # アプリケーションの開発者は今後このフレームワーク(gnome-vfs)を利用しない
  33. # ようにして下さい。
  34. # Requires: gvfs-obexftp (fedora)
  35. Requires: obex-data-server
  36. # obex-data-server Requires: openobex-devel
  37. Requires(post): shared-mime-info
  38. Requires(post): desktop-file-utils
  39. Requires(postun): shared-mime-info
  40. Requires(postun): desktop-file-utils
  41. #----------------------------------------------------------------------------
  42. %description
  43. The bluez-gnome package contains Bluetooth helper applets and tools for
  44. the GNOME desktop environment.
  45. %description -l ja
  46. bluez-gnome パッケージは Bluetooth のヘルパー アプレットです。
  47. GNOME デスクトップにBlutooth ペアリングのための機能を提供します。
  48. ※訳注 :基本的にアプレットとして使用しますがメニューからも使えます
  49. #----------------------------------------------------------------------------
  50. %package analyzer
  51. Summary: Bluetooth protocol analyzer
  52. Summary(ja): Bluetooth プロトコルアナライザ
  53. Group: Applications/Engineering
  54. Requires: %{name} = %{version}-%{release}
  55. %description analyzer
  56. The bluez-gnome package contains Bluetooth helper applets and tools for
  57. the GNOME desktop environment.
  58. This package contains the Bluetooth protocol analyzer.
  59. %description analyzer -l ja
  60. bluez-gnome パッケージには Bluetooth ヘルパーアプレットと
  61. GNOME デスクトップ環境の為のツールが含まれています。
  62. このパッケージは Bluetooth プロトコルアナライザです。
  63. #----------------------------------------------------------------------------
  64. %prep
  65. %setup -q
  66. %patch0 -p1 -b .ods-svn
  67. %patch1 -p1 -b .ps3-bd
  68. %build
  69. %configure --disable-mime-update --disable-desktop-update \
  70. --disable-icon-update
  71. make %{?_smp_mflags}
  72. #----------------------------------------------------------------------------
  73. %install
  74. rm -rf $RPM_BUILD_ROOT
  75. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  76. make install DESTDIR=$RPM_BUILD_ROOT
  77. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/
  78. mv $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ $RPM_BUILD_ROOT%{_datadir}/gnome/
  79. desktop-file-install --vendor="" \
  80. --add-category=X-GNOME-NetworkSettings \
  81. --delete-original \
  82. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  83. $RPM_BUILD_ROOT%{_datadir}/applications/bluetooth-properties.desktop
  84. desktop-file-install --vendor="" \
  85. --remove-category=Application \
  86. --remove-category=Utility \
  87. --add-category=GTK \
  88. --add-category=System \
  89. --delete-original \
  90. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  91. $RPM_BUILD_ROOT%{_datadir}/applications/bluetooth-analyzer.desktop
  92. %find_lang bluetooth-manager
  93. %clean
  94. rm -rf $RPM_BUILD_ROOT
  95. #----------------------------------------------------------------------------
  96. %post
  97. update-desktop-database -q
  98. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  99. gconftool-2 --makefile-install-rule \
  100. %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
  101. >& /dev/null || :
  102. update-mime-database %{_datadir}/mime >/dev/null
  103. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  104. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  105. fi
  106. %pre
  107. if [ "$1" -gt 1 ]; then
  108. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  109. gconftool-2 --makefile-uninstall-rule \
  110. %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
  111. >& /dev/null || :
  112. fi
  113. %preun
  114. if [ "$1" -eq 0 ]; then
  115. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  116. gconftool-2 --makefile-uninstall-rule \
  117. %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
  118. >& /dev/null || :
  119. fi
  120. %postun
  121. update-desktop-database -q
  122. update-mime-database %{_datadir}/mime >/dev/null
  123. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  124. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  125. fi
  126. #----------------------------------------------------------------------------
  127. %files -f bluetooth-manager.lang
  128. %defattr(-,root,root,-)
  129. %{_bindir}/bluetooth-applet
  130. %{_bindir}/bluetooth-properties
  131. %{_bindir}/bluetooth-sendto
  132. %{_bindir}/bluetooth-wizard
  133. %{_bindir}/bluetooth-browse
  134. %config %{_sysconfdir}/gconf/schemas/*
  135. %{_datadir}/gnome/autostart/bluetooth-applet.desktop
  136. %{_datadir}/applications/bluetooth-properties.desktop
  137. %{_datadir}/mime/packages/bluetooth-manager.xml
  138. %{_datadir}/icons/hicolor/*/apps/*
  139. %{_mandir}/man1/bluetooth-applet.1.gz
  140. %{_mandir}/man1/bluetooth-properties.1.gz
  141. %{_mandir}/man1/bluetooth-wizard.1.gz
  142. %{_mandir}/man1/bluetooth-sendto.1.gz
  143. %{_mandir}/man1/bluetooth-browse.1.gz
  144. %doc README COPYING AUTHORS ChangeLog
  145. %files analyzer
  146. %{_datadir}/applications/bluetooth-analyzer.desktop
  147. %{_bindir}/bluetooth-analyzer
  148. %{_datadir}/man/man1/bluetooth-analyzer.1.gz
  149. #----------------------------------------------------------------------------
  150. # Maintainers: babasaki@mindgear.org
  151. #
  152. #----------------------------------------------------------------------------
  153. %changelog
  154. * Fri Oct 24 2008 Seiichirou Babasaki 1.8-3
  155. - Update to 1.8 (VineSeed)
  156. - added "# Maintainers: " comments.
  157. - changed UTF-8 encode at bluez-gnome.vs.spec
  158. - FedoraCore - LOGS
  159. -- 1.8-2
  160. -- Add patch to make the PS3 BD remote work
  161. -- 1.8-1
  162. -- Update to 1.8 and update obex-data-server patch
  163. -- 1.7-2
  164. -- Remove the X-GNOME-NetworkSettings category from the
  165. preferences' desktop file, it makes the prefs show up in
  166. two places in the menus (#465180)
  167. -- Update to 1.7
  168. -- Update to 1.6
  169. -- 1.5-2
  170. -- Add another patch for Bluetooth sendto support for BlueZ 4.x
  171. -- Update to 1.5
  172. -- 1.4-4
  173. -- Update bluetooth-sendto to the BlueZ 4.x API, and obex-data-server
  174. SVN APIs
  175. -- Tidy up specfile, fix source URL
  176. -- 1.4-3
  177. -- Add missing files to the list
  178. -- 1.4-2
  179. -- Remove obsolete patch
  180. -- 1.4-1
  181. -- 1.3-1
  182. -- Update to 1.3 (from 0.28)
  183. - updated specfile
  184. * Fri Jun 13 2008 Seiichirou Babasaki 0.28-1
  185. - Update to 0.28
  186. - Updated specfile
  187. * Fri Jun 13 2008 Seiichirou Babasaki 0.26-1
  188. - Update to 0.26
  189. - Updated specfile
  190. - LOGS - 0.24-2
  191. - Fix crasher when removing the default adapter
  192. - LOGS - 0.23-2
  193. - Add dependency on a gvfs with ObexFTP support
  194. - LOGS - 0.21-2
  195. - Update the patch to hide the "Class of device" selection widget,
  196. avoids a crasher on startup with unstable releases of gnome-session
  197. - LOGS - 0.18-2
  198. - Add patch to make the search button work
  199. - LOGS - 0.17-2
  200. - Update the patch to remove the class setting
  201. - LOGS - 0.17-1
  202. - Update new sendto patch
  203. - LOGS - 0.16-2
  204. - Re-add the sendto patch, we don't want the old stuff
  205. - LOGS - 0.15-3
  206. - Add requires on obex-data-server for bluetooth-sendto
  207. - LOGS - 0.15-2
  208. - Add patch to update the sendto binary
  209. - LOGS - 0.15-1
  210. - Add patch to remove the useless hardware type selection
  211. * Wed Jan 16 2008 Seiichirou Babasaki 0.15-1vl1
  212. - Import bluez-gnome - Packager: Babasaki
  213. - Updated specfile
  214. - Update to 0.15
  215. #----------------------------------------------------------------------------
  216. * Tue Oct 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.14-9
  217. - Rebuild against new dbus-glib
  218. * Wed Oct 10 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-8
  219. - Require gnome-vfs2-obexftp, so that the functionality works
  220. as expected (#326231)
  221. * Sat Oct 06 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-7
  222. - Provide virtual dbus-bluez-pin-helper for bluez-utils to use
  223. (#212421)
  224. * Wed Oct 03 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-6
  225. - Fix location of the autostart desktop file (#316101)
  226. * Thu Sep 20 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-5
  227. - Don't allow class of the device to be changed if HAL is being
  228. used (#244261)
  229. * Thu Sep 20 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-4
  230. - Only show and start the bluez-gnome bits in GNOME (#258721)
  231. * Tue Sep 18 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-3
  232. - Split out the analyzer so it's not installed by default
  233. - Don't prefix the properties .desktop with fedora for no reason
  234. * Fri Aug 31 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-2
  235. - Remove the obex BR, we're not using it yet
  236. - Build with HAL support
  237. * Wed Aug 29 2007 - Bastien Nocera <bnocera@redhat.com> - 0.14-1
  238. - Update to 0.14
  239. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 0.13-3
  240. - Rebuild for build ID
  241. * Thu Aug 9 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-2
  242. - Move the analyzer to a better place in the menus
  243. - Use desktop-file-install for all desktop files
  244. - Update the license field
  245. * Wed Aug 01 2007 - Bastien Nocera <bnocera@redhat.com> - 0.13-1
  246. - Update to 0.13
  247. * Tue Jul 31 2007 - Bastien Nocera <bnocera@redhat.com> - 0.12-1
  248. - Update to 0.12
  249. * Tue Jul 31 2007 - Bastien Nocera <bnocera@redhat.com> - 0.11-1
  250. - Update to 0.11
  251. * Sun Jul 29 2007 Bastien Nocera <bnocera@redhat.com> - 0.10-1
  252. - Update to 0.10
  253. - Add the analyser's desktop file
  254. * Sat Jul 21 2007 David Woodhouse <dwmw2@infradead.org> - 0.9-1
  255. - Update to 0.9
  256. * Sat Jul 07 2007 Bastien Nocera <bnocera@redhat.com> - 0.8-2
  257. - Only install and uninstall our own schema file (#247330)
  258. * Thu Jun 14 2007 Bastien Nocera <bnocera@redhat.com> - 0.8-1
  259. - Update to 0.8
  260. - Punt outdated patches
  261. - Add man pages, and translations
  262. - Add GConf and desktop file updating scriplets
  263. * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> 0.6-2
  264. - Add X-GNOME-NetworkSettings to desktop file categories
  265. - Use desktop-file-install
  266. * Thu Oct 26 2006 David Woodhouse <dwmw2@redhat.com> 0.6-1
  267. - Update to bluez-gnome 0.6
  268. * Fri Oct 6 2006 David Woodhouse <dwmw2@redhat.com> 0.5-5
  269. - Allow user to toggle discoverability
  270. * Wed Oct 4 2006 David Woodhouse <dwmw2@redhat.com> 0.5-4
  271. - Avoid needing executable stack
  272. * Mon Oct 2 2006 David Woodhouse <dwmw2@redhat.com> 0.5-3
  273. - Provide startup file for KDE too
  274. * Sun Oct 1 2006 David Woodhouse <dwmw2@redhat.com> 0.5-2
  275. - Fix startup visibility
  276. * Sat Sep 30 2006 David Woodhouse <dwmw2@redhat.com> 0.5-1
  277. - Initial build