gnome-bluetooth-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. Summary: GNOME Bluetooth Subsystem
  2. Summary(ja): GNOME Bluetooth サブシステム
  3. Name: gnome-bluetooth
  4. Version: 3.1.92
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://live.gnome.org/GnomeBluetooth
  9. Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-bluetooth/3.1/%{name}-%{version}.tar.xz
  10. Source1: 61-gnome-bluetooth-rfkill.rules
  11. #----------------------------------------------------------------------------
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. #----------------------------------------------------------------------------
  14. #BuildRequires: autoconf >= 2.57
  15. BuildRequires: bluez-libs-devel >= 2.8
  16. #BuildRequires: bluez-utils
  17. BuildRequires: libbonobo-devel >= 2.32.0
  18. BuildRequires: libbonoboui-devel >= 2.24.4
  19. BuildRequires: GConf2-devel >= 2.32
  20. BuildRequires: hal-devel
  21. BuildRequires: unique3-devel
  22. BuildRequires: libnotify-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRequires: control-center-devel
  25. BuildRequires: intltool, automake, libtool, gettext
  26. Requires: %{name}-libs = %{version}-%{release}
  27. Requires(pre): GConf2
  28. Requires(post): GConf2
  29. Requires(preun): GConf2
  30. Requires: bluez >= 4.42
  31. Requires: obexd
  32. Requires(post): desktop-file-utils
  33. Requires(postun): desktop-file-utils
  34. ExcludeArch: s390 s390x
  35. ## Patch1: gnome-bluetooth-0.8.0-desktop.patch
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. Packager: Takemikaduchi
  39. #----------------------------------------------------------------------------
  40. %description
  41. This package contains a library with widgets for Bluetooth applications.
  42. %description -l ja
  43. このパッケージには、 Bluetooth アプリケーションのためのウィジェットと
  44. ライブラリが含まれます。
  45. #----------------------------------------------------------------------------
  46. %package libs
  47. Summary: Libraries for applications, which use gnome-bluetooth
  48. Summary(ja):Gnome-bluetooth を使用するアプリケーション用ライブラリ
  49. Group: Development/Libraries
  50. %description libs
  51. This package contains the libraries for applications,
  52. which use gnome-bluetooth.
  53. %description libs -l ja
  54. このパッケージには Gnome-bluetoothを使用するアプリケーション用の
  55. ライブラリが含まれています。
  56. #----------------------------------------------------------------------------
  57. %package devel
  58. Summary: Files for the development of applications, which use gnome-bluetooth
  59. Summary(ja): Gnome-bluetoothを使用するアプリケーション開発用ファイル
  60. Group: Development/Libraries
  61. License: LGPLv2+
  62. Requires: %{name}-libs = %{version}-%{release}
  63. Requires: gtk-doc pkgconfig
  64. Requires: glib2-devel
  65. Requires: libbtctl-devel
  66. %description devel
  67. This package contains the files for the development of applications,
  68. which will use gnome-bluetooth.
  69. %description devel -l ja
  70. このパッケージにはGnome-bluetoothを使用するアプリケーションを
  71. 開発するためのヘッダーファイルなどが含まれています(develパッケージ)
  72. #----------------------------------------------------------------------------
  73. %prep
  74. %setup -q -n gnome-bluetooth-%{version}
  75. ## %patch1 -p1 -b .dfix
  76. %build
  77. %configure \
  78. --disable-desktop-update \
  79. --disable-icon-update \
  80. --disable-nautilus-sendto \
  81. --enable-introspection=yes
  82. make %{?_smp_mflags}
  83. #----------------------------------------------------------------------------
  84. %install
  85. rm -rf $RPM_BUILD_ROOT
  86. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  87. make DESTDIR=$RPM_BUILD_ROOT install
  88. # we do not want .la files
  89. rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a
  90. rm -f $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la
  91. rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-bluetooth/plugins/*.la
  92. rm -f $RPM_BUILD_ROOT/%{_libdir}/control-center-1/panels/*.la
  93. install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
  94. # Remove the gnome-obex-server
  95. # rm -rf $RPM_BUILD_ROOT%{_bindir}/ $RPM_BUILD_ROOT%{_datadir}/applications/ $RPM_BUILD_ROOT%{_sysconfdir}/
  96. %find_lang gnome-bluetooth2
  97. %find_lang %{name} --with-gnome
  98. cat %{name}.lang >> gnome-bluetooth2.lang
  99. # save space by linking identical images in translated docs
  100. helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
  101. for f in $helpdir/C/figures/*.png; do
  102. b="$(basename $f)"
  103. for d in $helpdir/*; do
  104. if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
  105. g="$d/figures/$b"
  106. if [ -f "$g" ]; then
  107. if cmp -s $f $g; then
  108. rm "$g"; ln -s "../../C/figures/$b" "$g"
  109. fi
  110. fi
  111. fi
  112. done
  113. done
  114. %clean
  115. rm -rf $RPM_BUILD_ROOT
  116. %post
  117. update-desktop-database -q
  118. %postun
  119. update-desktop-database -q
  120. if [ $1 -eq 0 ] ; then
  121. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  122. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  123. fi
  124. %post libs
  125. /sbin/ldconfig
  126. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  127. %posttrans libs
  128. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  129. %postun libs
  130. /sbin/ldconfig
  131. if [ $1 -eq 0 ] ; then
  132. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  133. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  134. fi
  135. #----------------------------------------------------------------------------
  136. %files -f %{name}.lang
  137. %defattr(-, root, root)
  138. %doc README NEWS COPYING
  139. %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
  140. %{_bindir}/bluetooth-*
  141. %{_libdir}/gnome-bluetooth/
  142. %{_libdir}/control-center-1/panels/libbluetooth.so
  143. %{_datadir}/applications/*.desktop
  144. %{_datadir}/gnome-bluetooth/
  145. %{_datadir}/locale/*
  146. %{_mandir}/man1/*
  147. /lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
  148. %files libs
  149. %defattr(-,root,root,-)
  150. %doc COPYING.LIB
  151. %{_libdir}/libgnome-bluetooth.so.*
  152. %{_libdir}/girepository-1.0/GnomeBluetooth-1.0.typelib
  153. %{_datadir}/icons/hicolor/*/apps/*
  154. %{_datadir}/icons/hicolor/*/status/*
  155. %files devel
  156. %defattr(-,root,root,-)
  157. %{_includedir}/gnome-bluetooth/
  158. %{_libdir}/libgnome-bluetooth.so
  159. %{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
  160. %{_datadir}/gir-1.0/GnomeBluetooth-1.0.gir
  161. %{_datadir}/gtk-doc/html/gnome-bluetooth/
  162. #----------------------------------------------------------------------------
  163. %changelog
  164. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  165. - new upstream release
  166. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  167. - new upstream release
  168. - change BuildRequires: unique3-devel instead of unique-devel
  169. - add BuildRequires: control-center-devel
  170. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  171. - new upstream release
  172. - remove BuildRequires: gir-repository-devel
  173. - add Requires(post) and Requires(postun): desktop-file-utils
  174. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
  175. - rebuild with rpm-4.8.1 for pkg-config file
  176. * Wed Apr 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  177. - new upstream release
  178. - add BuildRequires: gir-repository-devel
  179. - add configure option (--disable-nautilus-sendto)
  180. * Wed Dec 30 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.6-1
  181. - new upstream release
  182. - merge spec file from FC package
  183. * Fri Oct 24 2008 Seiichirou Babasaki 0.11.0-6
  184. - Update to 0.11.0 (VineSeed)
  185. - added "# Maintainers: " comments.
  186. - changed UTF-8 encode at gnome-bluetooth.vsc.spec
  187. - FedoraCore - LOGS
  188. -- 0.11.0-5
  189. -- Rebuild against new bluez-libs
  190. -- 0.11.0-4
  191. -- Changed name of icon file(#444811)
  192. -- 0.11.0-3
  193. -- Remove gnome-obex-server, we should use gnome-user-share now
  194. -- 0.11.0-1
  195. -- gcc43 rebuild
  196. -- 0.11.0 - Update to 0.11.0
  197. -- 0.10.0 - Update to 0.10.0
  198. -- 0.9.1-4
  199. -- marked gnome-obex-server.schemas as config file
  200. -- changed upstream URL
  201. -- 0.9.1-3
  202. -- fixed wrong source URL
  203. -- 0.9.1-2
  204. -- rebuilt for F8
  205. -- changed license tag to GPLv2 and LGPLv2+
  206. -- 0.9.1-1
  207. -- Upgrade to 0.9.1 to fix a crasher in the server
  208. -- 0.9.0-1
  209. -- Update for 0.9.0
  210. -- Fix installation of the python bindings
  211. -- 0.8.0-4
  212. -- Remove unncessary gconfd killing from scripts (#224561)
  213. -- 0.8.0-3
  214. -- corrected BuildRoot
  215. -- smp flags added
  216. -- specfile cleanup
  217. -- fixed desktop file
  218. - Updated specfile
  219. * Fri Sep 26 2008 Seiichirou Babasaki 0.8.0-2
  220. - Updated specfile
  221. * Wed Jan 16 2008 Seiichirou Babasaki 0.8.0-1
  222. - Import gnome-bluetooth - Packager: Babasaki
  223. - Updated specfile (downgrade -> 0.8.0-0vl1)
  224. #----------------------------------------------------------------------------
  225. * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.0-1
  226. - version 0.8.0
  227. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-10.1
  228. - rebuild
  229. * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-10
  230. - bump for new openobex
  231. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-9
  232. - Missing automake, libtool, gettext BR
  233. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-6
  234. - Bump for new libbluetooth
  235. * Wed May 31 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-6
  236. - add dependency on bluez-utils, cosmetic tweaks (bug #190280)
  237. * Tue May 30 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-5
  238. - install schemata correctly (bug #193518)
  239. * Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
  240. - more build requires (bug #193374)
  241. * Mon Feb 27 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-2
  242. - pydir fixes for lib64
  243. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-1
  244. - version 0.7.0
  245. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2.1
  246. - bump again for double-long bug on ppc(64)
  247. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2
  248. - rebuilt for new gcc4.1 snapshot and glibc changes
  249. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  250. - rebuilt
  251. * Fri Oct 07 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-2
  252. - Fix relative path for the icons in desktop files which no longer works
  253. with the icon cache.
  254. * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-1
  255. - new version 0.6.0
  256. * Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> 0.5.1-14
  257. - rebuild for new cairo
  258. * Thu Jul 7 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-13
  259. - Minor spec file cleanups.
  260. - Fix relative path for the icons in desktop files which no longer works
  261. with the icon cache.
  262. - Remove useless zero epochs.
  263. - Remove explicit python abi requirement, it's automatic for FC4 and up.
  264. * Thu Mar 31 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-12
  265. - removed base requirement from libs
  266. * Tue Mar 29 2005 Warren Togami <wtogami@redhat.com> - 0.5.1-11
  267. - devel req glib2-devel libbtctl-devel for pkgconfig (#152488)
  268. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  269. - rebuilt
  270. * Mon Feb 21 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-9
  271. - added gnome hbox patch for bug rh#149215
  272. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-8
  273. - added requires for python-abi
  274. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-7
  275. - split package into app, libs and devel
  276. * Mon Oct 25 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-6
  277. - fixed again gnome-bluetooth-manager script for 64bit (bug 134864)
  278. * Fri Oct 08 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-5
  279. - buildrequire pygtk2-devel (bug 135032)
  280. - fixed gnome-bluetooth-manager script for 64bit (bug 134864)
  281. - fixed segfault on file receive (bug 133041)
  282. * Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-4
  283. - buildrequire libbtctl-devel
  284. - buildrequire openobex-devel >= 1.0.1
  285. - pythondir -> pyexecdir
  286. * Wed Jul 28 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-3
  287. - added build dependency for librsvg2-devel
  288. * Tue Jul 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-2
  289. - added pydir patch
  290. * Thu Jul 22 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-1
  291. - version 0.5.1
  292. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  293. - rebuilt
  294. * Tue May 25 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-8
  295. - corrected BuildRequires
  296. * Wed Mar 10 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-7
  297. - added EggToolBar patch for gcc34
  298. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  299. - rebuilt
  300. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  301. - rebuilt
  302. * Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 0.4.1-4
  303. - added autofoo patch
  304. * Thu Aug 28 2003 Harald Hoyer <harald@redhat.de> 0.4.1-3
  305. - add .so to gnome-vfs module, if libtool does not!
  306. * Thu Aug 07 2003 Harald Hoyer <harald@redhat.de> 0.4.1-2
  307. - call libtool finish
  308. * Wed Aug 6 2003 Harald Hoyer <harald@redhat.de> 0.4.1-1
  309. - new version 0.4.1
  310. * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.4-1
  311. - initial RPM